large files streaming from disk

Mar 23, 2006 at 10:35am

large files streaming from disk

Hi all,

A recent project I’m working on involves loading several (8 to 12) large
files. These files are 309mb mono 16 bit 44100 hz. So they have a duration
of an hour.
This amount of data is way to much for the laptop (g4 2024 mb ram) to
handle. Ofcourse I could convert the files to 22100 hz, then they are half
the size. I can imagine, however, that the composer isn’t going to be to
happy about such a rash action. I have thought of cutting the files in
smaller files and then loading the files when the time comes to play the
file. Only loading files into buffer~ when the patch is running seems to
disrupt the accuracy of the patch. Which is very important……

Is there a way to stream files from the harddisc instead of using up all of
the ram memory?

Or has someone dealt with this sort of issues in the past? I’ve searched the
archives and haven’t found anything.

Thanx

Wilco Alkema
student musictechnology & composition
HKU, hilversum, holland.

#25028
Mar 23, 2006 at 11:30am

sfplay~

You can also specify a preload amount.
check the documentation for details.

J.

#73126
Mar 23, 2006 at 12:35pm

On 23 Mar 2006, at 10:35, wilco alkema wrote:

> Is there a way to stream files from the harddisc instead of using
> up all of the ram memory?

[sfplay~].

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com

#73127
Mar 24, 2006 at 9:55am

Thanks for the quick responses.

Guess buffer and play always served my needs. So I never really looked into
the features of sfplay.
Lookes like sfplay~ is going to save my day!!

Wilco

#73128

You must be logged in to reply to this topic.