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 1999999 nframes flag, the ramp does not climb up to the top. You can 
compare the values with [tabread] objects (see the attached patch). Will you 
please, check that on your system?
Thank you very much for your time!
Cheers!
Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162


________________________________
From: Lucas Cordiviola <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>
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

Reply via email to