Re: [PD] Writing part of large table to file
Hi!Just an update... With the newest version of pd (0.48.0) [soundfiler] is working fine. Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Hrvoje Radnic via Pd-list To: Claude Heiland-Allen ; "pd-list@lists.iem.at" Sent: Friday, August 4, 2017 5:24 PM Subject: Re: [PD] Writing part of large table to file Thanks for your input, Claude! I don't know how to explain this weirdness.This is my system specs:Linux sinewave 4.8.0-59-lowlatency #64-Ubuntu SMP PREEMPT Thu Jun 29 21:04:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux BTW, What's your version of pd? Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Claude Heiland-Allen To: "pd-list@lists.iem.at" Sent: Friday, August 4, 2017 3:46 PM Subject: Re: [PD] Writing part of large table to file Hi, On 04/08/17 13:01, Hrvoje Radnic wrote: > just checked with a friend who has both mac and win machines, and the > results are ok on win, but wrong on mac. Can someone with the Linux OS > try to open the patch and copy-paste here the 3 print lines from pd > terminal window generated by the attached patch? 64bit linux as below, all seems ok: last: 1 middle: 1 start: 1 > *From:* Claude Heiland-Allen > $ 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 Claude -- https://mathr.co.uk ___ 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
Re: [PD] Writing part of large table to file
Thanks for your input, Claude! I don't know how to explain this weirdness.This is my system specs:Linux sinewave 4.8.0-59-lowlatency #64-Ubuntu SMP PREEMPT Thu Jun 29 21:04:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux BTW, What's your version of pd? Cheers! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Claude Heiland-Allen To: "pd-list@lists.iem.at" Sent: Friday, August 4, 2017 3:46 PM Subject: Re: [PD] Writing part of large table to file Hi, On 04/08/17 13:01, Hrvoje Radnic wrote: > just checked with a friend who has both mac and win machines, and the > results are ok on win, but wrong on mac. Can someone with the Linux OS > try to open the patch and copy-paste here the 3 print lines from pd > terminal window generated by the attached patch? 64bit linux as below, all seems ok: last: 1 middle: 1 start: 1 > *From:* Claude Heiland-Allen > $ 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 Claude -- https://mathr.co.uk ___ 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
Re: [PD] Writing part of large table to file
Hi, On 04/08/17 13:01, Hrvoje Radnic wrote: > just checked with a friend who has both mac and win machines, and the > results are ok on win, but wrong on mac. Can someone with the Linux OS > try to open the patch and copy-paste here the 3 print lines from pd > terminal window generated by the attached patch? 64bit linux as below, all seems ok: last: 1 middle: 1 start: 1 > *From:* Claude Heiland-Allen > $ 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 Claude -- https://mathr.co.uk ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
OOps, forgot to include the patch Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Hrvoje Radnic To: Claude Heiland-Allen ; "pd-list@lists.iem.at" Sent: Friday, August 4, 2017 2:00 PM Subject: Re: [PD] Writing part of large table to file Hi,just checked with a friend who has both mac and win machines, and the results are ok on win, but wrong on mac. Can someone with the Linux OS try to open the patch and copy-paste here the 3 print lines from pd terminal window generated by the attached patch? PS: interesting fact is that when I write the audio file to disk, pd terminal gives me info that the biggest amplitude in the file is the same as in table I am reading from. But when I load that file into new table, this is not the case anymore.Thank you for your help! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Claude Heiland-Allen To: pd-list@lists.iem.at Sent: Friday, August 4, 2017 3:12 AM Subject: Re: [PD] Writing part of large table to file 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. Claude -- https://mathr.co.uk ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list #N canvas 676 246 1034 742 10; #X obj 467 244 /; #X msg 443 212 1; #X msg 491 210 4e+06; #X obj 409 318 array set zx; #X obj 511 285 f; #X obj 545 285 + 1; #X msg 527 247 0; #X obj 409 286 f; #X msg 425 248 0; #X obj 443 286 +; #X obj 411 163 until; #X msg 411 140 4e+06; #X obj 408 187 t b b; #X obj 447 108 t b b b b b; #X obj 254 198 soundfiler; #X obj 77 317 tabread soundf; #X floatatom 77 340 9 0 0 0 - - -, f 9; #X obj 209 14 loadbang; #X msg 377 45 \; pd dsp 1; #X obj 209 36 t b b b b b; #X obj 301 633 ==; #X obj 301 655 print last; #X obj 189 228 t b b b; #X msg 77 277 0; #X obj 297 318 tabread soundf; #X floatatom 297 340 9 0 0 0 - - -, f 9; #X obj 187 317 tabread soundf; #X floatatom 187 340 9 0 0 0 - - -, f 9; #X obj 170 165 t b b; #X floatatom 40 550 9 0 0 0 - - -, f 9; #X obj 152 438 t b b b; #X floatatom 260 550 9 0 0 0 - - -, f 9; #X floatatom 150 550 9 0 0 0 - - -, f 9; #X obj 181 633 ==; #X obj 181 655 print middle; #X obj 51 633 ==; #X obj 51 655 print start; #X obj 40 527 tabread zx; #X obj 150 527 tabread zx; #X obj 260 528 tabread zx; #X obj 15 6 array define zx 4e+06; #X msg 353 13 bang; #X msg 260 488 4e+06; #X obj 14 28 array define soundf; #X msg 244 96 read -resize zx.wav soundf; #X msg 297 278 2e+06; #X msg 187 277 1e+06; #X msg 40 487 2e+06; #X msg 150 487 3e+06; #X msg 265 127 write -skip 2e+06 -nframes 2e+06 -bytes 4 -wave zx.wav zx, f 20; #X connect 0 0 9 1; #X connect 1 0 0 0; #X connect 2 0 0 1; #X connect 4 0 5 0; #X connect 4 0 3 1; #X connect 5 0 4 1; #X connect 6 0 4 1; #X connect 7 0 9 0; #X connect 7 0 3 0; #X connect 8 0 7 1; #X connect 9 0 7 1; #X connect 10 0 12 0; #X connect 11 0 10 0; #X connect 12 0 7 0; #X connect 12 1 4 0; #X connect 13 0 11 0; #X connect 13 1 1 0; #X connect 13 2 2 0; #X connect 13 3 8 0; #X connect 13 4 6 0; #X connect 15 0 16 0; #X connect 16 0 35 1; #X connect 17 0 19 0; #X connect 19 0 28 0; #X connect 19 1 44 0; #X connect 19 2 49 0; #X connect 19 3 13 0; #X connect 19 4 18 0; #X connect 20 0 21 0; #X connect 22 0 23 0; #X connect 22 1 46 0; #X connect 22 2 45 0; #X connect 23 0 15 0; #X connect 24 0 25 0; #X connect 25 0 20 1; #X connect 26 0 27 0; #X connect 27 0 33 1; #X connect 28 0 30 0; #X connect 28 1 22 0; #X connect 29 0 35 0; #X connect 30 0 47 0; #X connect 30 1 48 0; #X connect 30 2 42 0; #X connect 31 0 20 0; #X connect 32 0 33 0; #X connect 33 0 34 0; #X connect 35 0 36 0; #X connect 37 0 29 0; #X connect 38 0 32 0; #X connect 39 0 31 0; #X connect 41 0 19 0; #X connect 42 0 39 0; #X connect 44 0 14 0; #X connect 45 0 24 0; #X connect 46 0 26 0; #X connect 47 0 37 0; #X connect 48 0 38 0; #X connect 49 0 14 0; ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
Hi,just checked with a friend who has both mac and win machines, and the results are ok on win, but wrong on mac. Can someone with the Linux OS try to open the patch and copy-paste here the 3 print lines from pd terminal window generated by the attached patch? PS: interesting fact is that when I write the audio file to disk, pd terminal gives me info that the biggest amplitude in the file is the same as in table I am reading from. But when I load that file into new table, this is not the case anymore.Thank you for your help! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Claude Heiland-Allen To: pd-list@lists.iem.at Sent: Friday, August 4, 2017 3:12 AM Subject: Re: [PD] Writing part of large table to file 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. Claude -- https://mathr.co.uk ___ 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
Re: [PD] Writing part of large table to file
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. Claude -- https://mathr.co.uk ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
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 To: Hrvoje Radnic Cc: "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 To: Hrvoje Radnic Cc: "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 To: Hrvoje Radnic Cc: "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 199 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 To: "hrvojerad...@yahoo.com" Cc: "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, hrvojerad...@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 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 To: Hrvoje Radnic ; "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 fo
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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 199 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 <mailto:lucard...@hotmail.com> To: "hrvojerad...@yahoo.com"<mailto:hrvojerad...@yahoo.com> <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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, hrvojerad...@yahoo.com<mailto:hrvojerad...@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 mailto:lucard...@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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com>; "pd-list@lists.
Re: [PD] Writing part of large table to file
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 To: Hrvoje Radnic Cc: "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 To: Hrvoje Radnic Cc: "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 199 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 To: "hrvojerad...@yahoo.com" Cc: "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, hrvojerad...@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 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 To: Hrvoje Radnic ; "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 To: "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
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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 199 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 <mailto:lucard...@hotmail.com> To: "hrvojerad...@yahoo.com"<mailto:hrvojerad...@yahoo.com> <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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, hrvojerad...@yahoo.com<mailto:hrvojerad...@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 mailto:lucard...@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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com>; "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:lucard...@hotmail.com> To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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/20
Re: [PD] Writing part of large table to file
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 To: Hrvoje Radnic Cc: "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 199 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 To: "hrvojerad...@yahoo.com" Cc: "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, hrvojerad...@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 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 To: Hrvoje Radnic ; "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 To: "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 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, rangin
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 199 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 <mailto:lucard...@hotmail.com> To: "hrvojerad...@yahoo.com"<mailto:hrvojerad...@yahoo.com> <mailto:hrvojerad...@yahoo.com> Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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, hrvojerad...@yahoo.com<mailto:hrvojerad...@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 mailto:lucard...@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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com>; "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:lucard...@hotmail.com> To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:j...@rybn.org> To: pd-list@lists.iem.at<mailto: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 fi
Re: [PD] Writing part of large table to file
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 199 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 To: "hrvojerad...@yahoo.com" Cc: "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, hrvojerad...@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 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 To: Hrvoje Radnic ; "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 To: "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 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 #N canvas 469 389 876 610 10; #X obj 530 50 array define zx 4e+06; #X obj 215 252 /; #X msg 207 220 1; #X msg 255 218 4e+06; #X obj 177 356 array set zx; #X obj 275 293 f; #X obj 309 293 + 1; #X msg 291 255 0; #X obj 157 294 f; #X msg 173 256 0; #X obj 191 294 +; #X obj 175 123 until; #X msg 175 100 4e+06; #X obj 172 147 t b b; #X obj 211 68 t b b b b b; #X obj 402 38 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 454 198 soundfiler; #X obj 532 371 array define soundf; #X msg 508 250 read -resize zx.wav soundf; #X text 33 17 1) write a 4 million samples array with a ramp up :; #X text 522 28 2) double-clik to see ramp up; #X text 453 100 3) write 2 millon samples wav from 500k to 2M500k; #X text 522 228 4) load zx.wav; #X text 535 343 5) double-clik to see file ramp up; #X msg 465 125 write -wave -skip 2e+06 -nframes 2e+06 zx.wav zx; #X obj
Re: [PD] Writing part of large table to file
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, hrvojerad...@yahoo.com<mailto:hrvojerad...@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 mailto:lucard...@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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com>; "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:lucard...@hotmail.com> To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:j...@rybn.org> To: pd-list@lists.iem.at<mailto: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 #N canvas 239 204 876 432 10; #X obj 530 50 array define zx 4e+006; #X obj 215 252 /; #X msg 207 220 1; #X msg 255 218 4e+006; #X obj 177 356 array set zx; #X obj 275 293 f; #X obj 309 293 + 1; #X msg 291 255 0; #X obj 157 294 f; #X msg 173 256 0; #X obj 191 294 +; #X obj 175 123 until; #X msg 175 100 4e+006; #X obj 172 147 t b b; #X obj 211 68 t b b b b b; #X obj 402 38 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 454 198 soundfiler; #X obj 532 371 array define soundf; #X msg 508 250 read -resize zx.wav soundf; #X msg 464 125 write -wave -skip 50 -nframes 2e+006 zx.wav zx; #X text 33 17 1) write a 4 million samples array with a ramp up :; #X text 522 28 2) double-clik to see ramp up; #X text 453 100 3) write 2 millon samples wav from 500k to 2M500k; #X text 522 228 4) load zx.wav; #X text 535 343 5) double-clik to see file ramp up; #X connect 1 0 10 1; #X connect 2 0 1 0; #X connect 3 0 1 1; #X connect 5 0 6 0; #X connect 5 0 4 1; #X connect 6 0 5 1; #X connect 7 0 5 1; #X connect 8 0 1
Re: [PD] Writing part of large table to file
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 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 >> To: Hrvoje Radnic ; "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 >>> To: "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 >>>> 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 > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
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 <mailto:lucard...@hotmail.com> To: Hrvoje Radnic <mailto:hrvojerad...@yahoo.com>; "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:lucard...@hotmail.com> To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:j...@rybn.org> To: pd-list@lists.iem.at<mailto: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 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
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 To: Hrvoje Radnic ; "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 To: "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 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 ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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 <mailto:lucard...@hotmail.com> To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> <mailto: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 <mailto:j...@rybn.org> To: pd-list@lists.iem.at<mailto: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 #N canvas 249 8 895 626 10; #X obj 57 493 soundfiler; #X floatatom 223 291 9 0 0 0 - - -, f 9; #X floatatom 135 293 9 0 0 0 - - -, f 9; #X obj 57 394 f; #X obj 89 393 f; #X msg 57 291 bang; #X obj 57 447 pack f f s s; #X obj 57 313 t b b b b; #X obj 5 493 print; #X obj 248 393 symbol \$0-srcsmp; #X msg 57 470 write -wave -skip \$1 -nframes \$2 \$3 \$4; #X obj 135 312 t f f; #X obj 237 341 -; #X obj 223 310 t b f; #X obj 237 363 * -1; #X obj 347 8 array define \$0-srcsmp 2.88e+006; #X text 576 8 1 minute of mono audio; #X text 292 290 end point (\$2); #X text 134 272 start point (\$1); #X msg 21 39 bang; #X obj 21 61 openpanel; #X obj 53 115 symbol \$0-srcsmp; #X msg 21 175 read \$1 \$2; #X obj 21 197 soundfiler; #X obj 21 86 t s b; #X obj 21 145 pack s s; #X obj 130 393 symbol test.wav; #X text 22 272 write file; #X text 152 412 \$3; #X text 369 396 \$4; #X floatatom 297 356 9 0 0 0 - - -, f 9; #X text 17 8 1) Load the audio file into the table; #X text 18 234 2) adjust the start and end points and write the file to disk; #X text 22 520 3) hear the result; #X obj 347 47 loadbang; #X msg 347 69 \; pd dsp 1; #X text 370 354 no of samples to save (\$2-\$1); #X obj 18 541 cnv 15 100 250 empty empty empty 20 12 0 14 -258113 -66577 0; #X obj 423 533 cnv 15 100 250 empty empty empty 20 12 0 14 -4034 -66577 0; #X obj 25 717 readsf~; #X obj 26 747 dac~; #X msg 25 551 bang; #X obj 25 573 openpanel; #X obj 57 627 symbol \$0-srcsmp; #X obj 25 598 t s b; #X obj 25 657 pack s s; #X msg 25 686 open \$1 \$2 \, start; #X obj 430 704 readsf~; #X obj 431 734 dac~; #X msg 430 578 bang; #X obj 430 600 openpanel; #X msg 430 673 open \$1 \, 1; #X text 276 633 correction!!! --->; #X text 561 624 I find no troubles with -nframes; #X text 560 643 longer than 1.8M. Tested with 2.5M; #X connect 1 0 13 0; #X connect 2 0 11 0; #X connect 3 0 6 0; #X connect 4 0 6 1; #X connect 5 0 7 0; #X connect 6 0 10 0; #X connect 7 0 3 0; #X connect 7 1 4 0; #X connect 7 2 26 0; #X connect 7 3 9 0; #X connect 9 0 6 3; #X connect 10 0 0 0; #X connect 10 0 8 0; #X connect 11 0 3 1; #X connect 11 1 12 0; #X connect 12 0 14 0; #X connect 13 0 2 0; #X connect 13 1 12 1; #X connect 14 0 4 1; #X connect 14 0 30 0; #X connect 19 0 20 0; #X connect 20 0 24 0; #X connect 21 0 25 1; #X connect 22 0 23 0; #X connect 24 0 25 0; #X connect 24 1 21 0; #X connect 25 0 22 0; #X connect 26 0 6 2; #X connect 34 0 35 0; #X connect 39 0 40 0; #X connect 39 0 40 1; #X connect 41 0 42 0; #X connect 42 0 44 0; #X connect 43 0 45 1; #X connect 44 0 45 0; #X connect 44 1 43 0; #X connect 45 0 46 0; #X connect 46 0 39 0; #X connect 47 0 48 0; #X connect 47 0 48 1; #X connect 49 0 50 0; #X connect 50 0 51 0; #X connect 51 0 47 0; ___
Re: [PD] Writing part of large table to file
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 To: "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 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 #N canvas 979 236 895 790 10; #X obj 57 493 soundfiler; #X floatatom 223 291 9 0 0 0 - - -, f 9; #X floatatom 135 293 9 0 0 0 - - -, f 9; #X obj 57 394 f; #X obj 89 393 f; #X msg 57 291 bang; #X obj 57 447 pack f f s s; #X obj 57 313 t b b b b; #X obj 5 493 print; #X obj 248 393 symbol \$0-srcsmp; #X msg 57 470 write -wave -skip \$1 -nframes \$2 \$3 \$4; #X obj 135 312 t f f; #X obj 237 341 -; #X obj 223 310 t b f; #X obj 237 363 * -1; #X obj 347 8 array define \$0-srcsmp 2.88e+06; #X text 576 8 1 minute of mono audio; #X text 292 290 end point (\$2); #X text 134 272 start point (\$1); #X msg 21 39 bang; #X obj 21 61 openpanel; #X obj 53 115 symbol \$0-srcsmp; #X msg 21 175 read \$1 \$2; #X obj 21 197 soundfiler; #X obj 21 86 t s b; #X obj 21 145 pack s s; #X obj 130 393 symbol test.wav; #X text 22 272 write file; #X text 152 412 \$3; #X text 369 396 \$4; #X obj 25 717 readsf~; #X obj 26 747 dac~; #X msg 25 551 bang; #X obj 25 573 openpanel; #X obj 57 627 symbol \$0-srcsmp; #X obj 25 598 t s b; #X obj 25 657 pack s s; #X msg 25 686 open \$1 \$2 \, start; #X floatatom 297 356 9 0 0 0 - - -, f 9; #X text 17 8 1) Load the audio file into the table; #X text 18 234 2) adjust the start and end points and write the file to disk; #X text 22 520 3) hear the result; #X obj 347 47 loadbang; #X msg 347 69 \; pd dsp 1; #X text 370 354 no of samples to save (\$2-\$1); #X connect 1 0 13 0; #X connect 2 0 11 0; #X connect 3 0 6 0; #X connect 4 0 6 1; #X connect 5 0 7 0; #X connect 6 0 10 0; #X connect 7 0 3 0; #X connect 7 1 4 0; #X connect 7 2 26 0; #X connect 7 3 9 0; #X connect 9 0 6 3; #X connect 10 0 0 0; #X connect 10 0 8 0; #X connect 11 0 3 1; #X connect 11 1 12 0; #X connect 12 0 14 0; #X connect 13 0 2 0; #X connect 13 1 12 1; #X connect 14 0 4 1; #X connect 14 0 38 0; #X connect 19 0 20 0; #X connect 20 0 24 0; #X connect 21 0 25 1; #X connect 22 0 23 0; #X connect 24 0 25 0; #X connect 24 1 21 0; #X connect 25 0 22 0; #X connect 26 0 6 2; #X connect 30 0 31 0; #X connect 30 0 31 1; #X connect 32 0 33 0; #X connect 33 0 35 0; #X connect 34 0 36 1; #X connect 35 0 36 0; #X connect 35 1 34 0; #X connect 36 0 37 0; #X connect 37 0 30 0; #X connect 42 0 43 0; ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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 <mailto:j...@rybn.org> To: pd-list@lists.iem.at<mailto: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<mailto:Pd-list@lists.iem.at> mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > ___ Pd-list@lists.iem.at<mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at<mailto: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
Re: [PD] Writing part of large table to file
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 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
Re: [PD] Writing part of large table to file
Will do, thanks for the tip! Hrvoje Radnic http://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 From: Christof Ressi To: hrvojerad...@yahoo.com Cc: pd-list 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" > An: Pd-List > 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 > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Writing part of large table to file
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 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
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
Re: [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" > An: Pd-List > 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 > ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[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