Re: [PD] Writing part of large table to file

2017-08-28 Thread Hrvoje Radnic via Pd-list
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 <pd-list@lists.iem.at>
 To: Claude Heiland-Allen <cla...@mathr.co.uk>; "pd-list@lists.iem.at" 
<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 <cla...@mathr.co.uk>
 To: "pd-list@lists.iem.at" <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 <cla...@mathr.co.uk>
> $ 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

2017-08-04 Thread Hrvoje Radnic via Pd-list
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 <cla...@mathr.co.uk>
 To: "pd-list@lists.iem.at" <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 <cla...@mathr.co.uk>
> $ 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

2017-08-04 Thread Hrvoje Radnic via Pd-list
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 <cla...@mathr.co.uk>
 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

2017-08-03 Thread Hrvoje Radnic via Pd-list
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 <lucard...@hotmail.com>
 To: Hrvoje Radnic <hrvojerad...@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 <lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@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 <lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@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 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 <lucard...@hotmail.com>
To: "hrvojerad...@yahoo.com" <hrvojerad...@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, 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 <lucard...@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:

Re: [PD] Writing part of large table to file

2017-08-03 Thread Lucas Cordiviola
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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>
Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>
Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: "hrvojerad...@yahoo.com"<mailto:hrvojerad...@yahoo.com> 
<hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>
Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 
<lucard...@hotmail.com<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.
Chee

Re: [PD] Writing part of large table to file

2017-08-02 Thread Lucas Cordiviola
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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>
Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: "hrvojerad...@yahoo.com"<mailto:hrvojerad...@yahoo.com> 
<hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>
Cc: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 
<lucard...@hotmail.com<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>; 
"pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<pd-list@lists.iem.at><mailto:pd-list@lists.iem.at>
S

Re: [PD] Writing part of large table to file

2017-08-02 Thread Hrvoje Radnic via Pd-list
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 <lucard...@hotmail.com>
 To: "hrvojerad...@yahoo.com" <hrvojerad...@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, 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 <lucard...@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 <lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@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<lucard...@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<j...@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












   #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 4

Re: [PD] Writing part of large table to file

2017-08-01 Thread sinewave via Pd-list
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 <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 <lucard...@hotmail.com>
>> To: Hrvoje Radnic <hrvojerad...@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 <lucard...@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 <j...@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
> 
___
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

2017-08-01 Thread Lucas Cordiviola
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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: Hrvoje Radnic <hrvojerad...@yahoo.com><mailto:hrvojerad...@yahoo.com>; 
"pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <j...@rybn.org><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

2017-08-01 Thread Hrvoje Radnic via Pd-list
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 <lucard...@hotmail.com>
 To: Hrvoje Radnic <hrvojerad...@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 <lucard...@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<j...@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





   ___
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

2017-08-01 Thread Lucas Cordiviola
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 <lucard...@hotmail.com><mailto:lucard...@hotmail.com>
To: "pd-list@lists.iem.at"<mailto:pd-list@lists.iem.at> 
<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 <j...@rybn.org><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 conne

Re: [PD] Writing part of large table to file

2017-08-01 Thread Hrvoje Radnic via 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 <lucard...@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 <j...@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


   #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

2017-07-31 Thread Hrvoje Radnic via 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 <j...@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


Re: [PD] Writing part of large table to file

2017-07-31 Thread Hrvoje Radnic via Pd-list
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