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
Have a look at the [soundfiler] object. Cheers
Gesendet: Sonntag, 30. Juli 2017 um 12:14 Uhr Von: "Hrvoje Radnic via Pd-list" pd-list@lists.iem.at An: Pd-List pd-list@lists.iem.at Betreff: [PD] Writing part of large table to file
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
Will do, thanks for the tip!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Christof Ressi <christof.ressi@gmx.at>
To: hrvojeradnic@yahoo.com Cc: pd-list pd-list@iem.at Sent: Sunday, July 30, 2017 2:00 PM Subject: Aw: [PD] Writing part of large table to file
Have a look at the [soundfiler] object. Cheers
Gesendet: Sonntag, 30. Juli 2017 um 12:14 Uhr Von: "Hrvoje Radnic via Pd-list" pd-list@lists.iem.at An: Pd-List pd-list@lists.iem.at Betreff: [PD] Writing part of large table to file
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
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
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
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! 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
Can you attach a patch that demonstrate the issue?
Do not attach the sound-file, we fill your specified n of samples.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! 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
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
I've corrected the [readsf~] but the rest is OK.
Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.
The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number.
See attached.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jackjack@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
I'm on win8.1
Do you clear the array when loading files that are smaller than the one you loaded previously?
Can you describe what is that you are hearing that makes you feel there's a bug?
Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com; "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely.
Poslano s mojeg iPhonea
01.08.2017., u 13:24, Lucas Cordiviola lucarda27@hotmail.com napisao:
I'm on win8.1
Do you clear the array when loading files that are smaller than the one you loaded previously?
Can you describe what is that you are hearing that makes you feel there's a bug? Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
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
Use this graphical patch, "array-sound.pd" attached .
it looks like this:
[cid:part1.E5929F37.9A84294E@hotmail.com]
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com wrote: What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely.
Poslano s mojeg iPhonea
01.08.2017., u 13:24, Lucas Cordiviola <lucarda27@hotmail.commailto:lucarda27@hotmail.com> napisao:
I'm on win8.1
Do you clear the array when loading files that are smaller than the one you loaded previously?
Can you describe what is that you are hearing that makes you feel there's a bug?
Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com; "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
Hi! It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system?Thank you very much for your time!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: "hrvojeradnic@yahoo.com" hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached .it looks like this:
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.com wrote:
What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely. Poslano s mojeg iPhonea 01.08.2017., u 13:24, Lucas Cordiviola lucarda27@hotmail.com napisao:
I'm on win8.1Do you clear the array when loading files that are smaller than the one you loaded previously?Can you describe what is that you are hearing that makes you feel there's a bug? Mensaje telepatico asistido por maquinas.On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviolalucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jackjack@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
This is because the soundfile is written @ 16 bits (bit depth).
Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file).
You will see that the numbers match in your example.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/2/2017 6:33 AM, Hrvoje Radnic wrote: Hi!
It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system? Thank you very much for your time! Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com"mailto:hrvojeradnic@yahoo.com hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached . it looks like this: [cid:2iG6EBUVLdSwo8qIB3I8]
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com wrote: What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely.
Poslano s mojeg iPhonea
01.08.2017., u 13:24, Lucas Cordiviola <lucarda27@hotmail.commailto:lucarda27@hotmail.com> napisao:
I'm on win8.1 Do you clear the array when loading files that are smaller than the one you loaded previously? Can you describe what is that you are hearing that makes you feel there's a bug?
Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com; "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
I tried your method with -bytes 4 flag, but the results are the same for me. I think I a stuck with [soundfiler] object. Maybe I will look for alternative option like recording the audio with [writesf~] or trying to save the contents of a table as a list (txt). Thank you once again for helping me!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:17 PM Subject: Re: [PD] Writing part of large table to file
This is because the soundfile is written @ 16 bits (bit depth).Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file). You will see that the numbers match in your example. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/2/2017 6:33 AM, Hrvoje Radnic wrote:
Hi! It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system?Thank you very much for your time!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com" hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached .it looks like this:
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.com wrote:
What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely. Poslano s mojeg iPhonea 01.08.2017., u 13:24, Lucas Cordiviola lucarda27@hotmail.com napisao:
I'm on win8.1Do you clear the array when loading files that are smaller than the one you loaded previously?Can you describe what is that you are hearing that makes you feel there's a bug? Mensaje telepatico asistido por maquinas.On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviolalucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jackjack@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
Are you sure you did step 3 (with -byte 4 flag) & then reload the written file (step 4).?
Mensaje telepatico asistido por maquinas.
On 8/2/2017 7:38 AM, Hrvoje Radnic wrote: I tried your method with -bytes 4 flag, but the results are the same for me. I think I a stuck with [soundfiler] object. Maybe I will look for alternative option like recording the audio with [writesf~] or trying to save the contents of a table as a list (txt). Thank you once again for helping me! Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:17 PM Subject: Re: [PD] Writing part of large table to file
This is because the soundfile is written @ 16 bits (bit depth). Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file). You will see that the numbers match in your example.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/2/2017 6:33 AM, Hrvoje Radnic wrote: Hi!
It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system? Thank you very much for your time! Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com"mailto:hrvojeradnic@yahoo.com hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached . it looks like this: [X]
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com wrote: What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely.
Poslano s mojeg iPhonea
01.08.2017., u 13:24, Lucas Cordiviola <lucarda27@hotmail.commailto:lucarda27@hotmail.com> napisao:
I'm on win8.1 Do you clear the array when loading files that are smaller than the one you loaded previously? Can you describe what is that you are hearing that makes you feel there's a bug?
Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com; "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
Hi!
Yes, I did the -bytes 4 flag, too. Interesting thing is that when I save the file to disk, I get this notification on terminal window: zx.wav: biggest amplitude = 0.967515 which is the same as original. But loading the same file into another table gives completely different results. I think (at least on my system) that [soundfiler] has issues with -skip flag. If I completely remove that flag, results are ok. Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:58 PM Subject: Re: [PD] Writing part of large table to file
Are you sure you did step 3 (with -byte 4 flag) & then reload the written file (step 4).? Mensaje telepatico asistido por maquinas.On 8/2/2017 7:38 AM, Hrvoje Radnic wrote:
I tried your method with -bytes 4 flag, but the results are the same for me. I think I a stuck with [soundfiler] object. Maybe I will look for alternative option like recording the audio with [writesf~] or trying to save the contents of a table as a list (txt). Thank you once again for helping me!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:17 PM Subject: Re: [PD] Writing part of large table to file
This is because the soundfile is written @ 16 bits (bit depth).Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file). You will see that the numbers match in your example. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/2/2017 6:33 AM, Hrvoje Radnic wrote:
Hi! It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system?Thank you very much for your time!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com" hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached .it looks like this:
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.com wrote:
What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely. Poslano s mojeg iPhonea 01.08.2017., u 13:24, Lucas Cordiviola lucarda27@hotmail.com napisao:
I'm on win8.1Do you clear the array when loading files that are smaller than the one you loaded previously?Can you describe what is that you are hearing that makes you feel there's a bug? Mensaje telepatico asistido por maquinas.On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviolalucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jackjack@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
Ok,
Try on another system. If you get the same buggy result report-it back with a patch that demonstrate the issue.
Here on win8.1 - Pd 0.47.1 (also on 0.48.test6) [soundfiler] works as expected.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/3/2017 5:44 AM, Hrvoje Radnic wrote: Hi!
Yes, I did the -bytes 4 flag, too. Interesting thing is that when I save the file to disk, I get this notification on terminal window: zx.wav: biggest amplitude = 0.967515 which is the same as original. But loading the same file into another table gives completely different results. I think (at least on my system) that [soundfiler] has issues with -skip flag. If I completely remove that flag, results are ok.
Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:58 PM Subject: Re: [PD] Writing part of large table to file
Are you sure you did step 3 (with -byte 4 flag) & then reload the written file (step 4).?
Mensaje telepatico asistido por maquinas.
On 8/2/2017 7:38 AM, Hrvoje Radnic wrote: I tried your method with -bytes 4 flag, but the results are the same for me. I think I a stuck with [soundfiler] object. Maybe I will look for alternative option like recording the audio with [writesf~] or trying to save the contents of a table as a list (txt). Thank you once again for helping me! Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:17 PM Subject: Re: [PD] Writing part of large table to file
This is because the soundfile is written @ 16 bits (bit depth). Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file). You will see that the numbers match in your example.
Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/2/2017 6:33 AM, Hrvoje Radnic wrote: Hi!
It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system? Thank you very much for your time! Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com"mailto:hrvojeradnic@yahoo.com hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached . it looks like this: [X]
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com wrote: What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely.
Poslano s mojeg iPhonea
01.08.2017., u 13:24, Lucas Cordiviola <lucarda27@hotmail.commailto:lucarda27@hotmail.com> napisao:
I'm on win8.1 Do you clear the array when loading files that are smaller than the one you loaded previously? Can you describe what is that you are hearing that makes you feel there's a bug?
Mensaje telepatico asistido por maquinas.
On 8/1/2017 8:13 AM, Hrvoje Radnic wrote: Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.commailto:hrvojeradnic@yahoo.com; "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK. Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M. The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 6:10 AM, Hrvoje Radnic wrote: Sure, it is in the attachment. Thank you for your time!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.commailto:lucarda27@hotmail.com To: "pd-list@lists.iem.at"mailto:pd-list@lists.iem.at pd-list@lists.iem.atmailto:pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue? Do not attach the sound-file, we fill your specified n of samples. Salutti, Lucarda.
Mensaje telepatico asistido por maquinas.
On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote: Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug? Thanks!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jack jack@rybn.orgmailto:jack@rybn.org To: pd-list@lists.iem.atmailto: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
Hi,I tried the patch on win10 machine and [soundfiler] works as expected. Now, it will be great if someone with Linux machine can confirm that [soundfiler] can't write audio files correctly, so I can report it. Thanks for the help!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola <lucarda27@hotmail.com>
To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Thursday, August 3, 2017 11:27 AM Subject: Re: [PD] Writing part of large table to file
Ok,Try on another system. If you get the same buggy result report-it back with a patch that demonstrate the issue.Here on win8.1 - Pd 0.47.1 (also on 0.48.test6) [soundfiler] works as expected. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/3/2017 5:44 AM, Hrvoje Radnic wrote:
Hi!
Yes, I did the -bytes 4 flag, too. Interesting thing is that when I save the file to disk, I get this notification on terminal window: zx.wav: biggest amplitude = 0.967515 which is the same as original. But loading the same file into another table gives completely different results. I think (at least on my system) that [soundfiler] has issues with -skip flag. If I completely remove that flag, results are ok. Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:58 PM Subject: Re: [PD] Writing part of large table to file
Are you sure you did step 3 (with -byte 4 flag) & then reload the written file (step 4).? Mensaje telepatico asistido por maquinas.On 8/2/2017 7:38 AM, Hrvoje Radnic wrote:
I tried your method with -bytes 4 flag, but the results are the same for me. I think I a stuck with [soundfiler] object. Maybe I will look for alternative option like recording the audio with [writesf~] or trying to save the contents of a table as a list (txt). Thank you once again for helping me!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:17 PM Subject: Re: [PD] Writing part of large table to file
This is because the soundfile is written @ 16 bits (bit depth).Use the flag "-bytes 4" for the message to write the file. This is "4 byte floating point" or 32bit floating point, same as the original "laboratory" array. (you don't need to do this if the first array was filled with a normal sound file). You will see that the numbers match in your example. Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/2/2017 6:33 AM, Hrvoje Radnic wrote:
Hi! It doesn't work well for me. What I discovered with your patch is that soundfiler can't skip too far. For example, if I send it a message with 2M skip flag and 1999999 nframes flag, the ramp does not climb up to the top. You can compare the values with [tabread] objects (see the attached patch). Will you please, check that on your system?Thank you very much for your time!Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: "hrvojeradnic@yahoo.com" hrvojeradnic@yahoo.com Cc: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Wednesday, August 2, 2017 12:52 AM Subject: Re: [PD] Writing part of large table to file
Use this graphical patch, "array-sound.pd" attached .it looks like this:
Will help to describe the issue. Hope it helps.
Mensaje telepatico asistido por maquinas.
On 8/1/2017 2:52 PM, hrvojeradnic@yahoo.com wrote:
What I hear is not the part I wanted to save ie I need the part from the end of a table, getting the part from the beginning instead. And it is shorter. I can't find the pattern in that offset, so can't describe the bug precisely. Poslano s mojeg iPhonea 01.08.2017., u 13:24, Lucas Cordiviola lucarda27@hotmail.com napisao:
I'm on win8.1Do you clear the array when loading files that are smaller than the one you loaded previously?Can you describe what is that you are hearing that makes you feel there's a bug? Mensaje telepatico asistido por maquinas.On 8/1/2017 8:13 AM, Hrvoje Radnic wrote:
Yes, the playback part [readsf~] is bad, but that was not an issue. I made a mistake with pasting the part from my patch. Regarding the soundfiler, I still have no clue what is wrong with my patch. Maybe the problem is OS specific? I can't test it on my Win machine right now. What's your OS? I am on ubuntu sudio. Cheers!
Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviola lucarda27@hotmail.com To: Hrvoje Radnic hrvojeradnic@yahoo.com; "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:21 PM Subject: Re: [PD] Writing part of large table to file
I've corrected the [readsf~] but the rest is OK.Didn't have troubles with -nframes > 1.8M. Works Ok with 2.5M.The only limitation that I know for integer numbers (on Pd's control level) is that you can't exceed the 16777216 number. See attached.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 8/1/2017 6:10 AM, Hrvoje Radnic wrote:
Sure, it is in the attachment.Thank you for your time! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Lucas Cordiviolalucarda27@hotmail.com To: "pd-list@lists.iem.at" pd-list@lists.iem.at Sent: Tuesday, August 1, 2017 12:09 AM Subject: Re: [PD] Writing part of large table to file
Can you attach a patch that demonstrate the issue?Do not attach the sound-file, we fill your specified n of samples.Salutti, Lucarda. Mensaje telepatico asistido por maquinas.On 7/31/2017 6:31 AM, Hrvoje Radnic via Pd-list wrote:
Ok, I got some success with soundfiler, but, found out that I can write a file only if the last sample of the file is smaller than 1 800 000 approximately (-nframes flag). Anyone had similar experience? Is it a bug?Thanks! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
From: Jackjack@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
Hi,
On 04/08/17 01:30, Hrvoje Radnic via Pd-list wrote:
I tried the patch on win10 machine and [soundfiler] works as expected. Now, it will be great if someone with Linux machine can confirm that [soundfiler] can't write audio files correctly, so I can report it.
The array-sound1.pd patch in this thread seems to work as expected here in pd-0.48test6 on 64bit Linux:
$ uname -a Linux frappuccino 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux $ cat /proc/cpuinfo | grep model\ name | uniq -c 4 model name : AMD Athlon(tm) II X4 640 Processor
Didn't do much further testing.