i'm having trouble figuring this out. can somebody take a song and get a printout or text file of samples? like take a WAV file and then get a file from that because that would really help me with my research. thanks,
scott
Jeffrey Hildebrand wrote:
i'm having trouble figuring this out. can somebody take a song and get a printout or text file of samples? like take a WAV file and then get a file from that because that would really help me with my research. thanks,
You should be able to find a program called hexdump that will do that for any file. Martin
A hexdump would be a way to see the actual bytes, but I think you would want to see sample frame values. That would mean reading the header of the WAV file and based on the number of channels and the sample type printing a listing of human readable decimal numbers. One way to do this in pd, is to write the sound to a table with soundfiler I think, and then reading the table and printing it out to the console or putting it in a textfile object and saving that. The table has to be big enough, but if you really want to see the sample values, you are probably not dealing with minutes of sound.
Gerard
On Thursday 29 April 2004 16:06, Martin Peach wrote:
Jeffrey Hildebrand wrote:
i'm having trouble figuring this out. can somebody take a song and get a printout or text file of samples? like take a WAV file and then get a file from that because that would really help me with my research. thanks,
You should be able to find a program called hexdump that will do that for any file. Martin
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
vanDongen/Gilcher wrote:
One way to do this in pd, is to write the sound to a table with soundfiler I think, and then reading the table and printing it out to the console or putting it in a textfile object and saving that.
and you could probably use the "write" feature of arrays. see doc/2.control.examples/15.array.pd
mfg.asa.ras IOhannes