large files streaming from disk


    Mar 23 2006 | 10:35 am
    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.

    • Mar 23 2006 | 11:30 am
      sfplay~
      You can also specify a preload amount.
      check the documentation for details.
      J.
    • Mar 23 2006 | 12:35 pm
      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://
      www.cassiel.com
    • Mar 24 2006 | 9:55 am
      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