Hi,yes, I tried soundfiler, but without success. I can't figure out what does -nframes flag means. Is it the number of samples in new file? This is the message I tried to send to [soundfiler] object: [write -wave -skip $1 -nframes $2 $3 $4( where $1 is sample from which I want the file to start from, $2 is the number of samples from starting point???, $3 is file name and $4 is the name of table I am writing the fie from. On terminal I got this: prvi_test.wav: biggest amplitude = 0.979553 And [print] output is: 1.13229e+06 101056 prvi_test.wav 1003-srcsmp The file is created, but it is silent (zeroes ony). And the lenghth is not correct.
I will keep experimenting with that, but any input is more than welcome!Thank you! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack <jack@rybn.org>
To: pd-list@lists.iem.at Sent: Monday, July 31, 2017 10:13 AM Subject: Re: [PD] Writing part of large table to file
Hello,
Did you see the help file about [soundfiler] to save a table in binary sound file ? It is easy to copy/paste a part of table with objects [array]. ++
Jack
Le 30/07/2017 à 12:14, Hrvoje Radnic via Pd-list a écrit :
Dear List!
I would like to save a part of very large table into the audio file. Let's say, I have a 10 million points sized table and want to save a file to disk which contains the part of that table, ranging from 2M to 3M point. I know how to do it by recording the audio in real time, but would like to do it "instantly".
Thank you for your suggestions! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list