[sc-users] Buffer.CueSoundFile question

Joshua Parmenter josh at realizedsound.net
Mon Aug 21 13:40:49 PDT 2006


I usually use \b_allocRead in a Score.

AND, I noticed a change the other day in the DiskIO Ugen code, and  
DiskIn DOES work now (or, at least it did in a little test I did...  
not sure what the actual state of this is... but it looks good from  
here).

Otherwise, I just tend to do \b_allocRead and use a PlayBuf. Big  
files get loaded into swap space if they need to be.

Hope that helps,

Josh

On Aug 21, 2006, at 12:33 PM, James Harkins wrote:

> Not sure anyone's really thought that through... DiskIn is not
> supported in NRT and to my knowledge DiskIn is the only reason to use
> cueSoundFile. So the answer at this point might be that it doesn't
> work...
>
> In terms of OSC, I think it would be b_read but set the "leave file
> open" flag to 1.
>
> /b_read					read sound file data into an existing buffer.
> 	int - buffer number
> 	string - path name of a sound file.
> 	int - starting frame in file (optional. default = 0)
> 	int - number of frames to read (optional. default = -1, see below)
> 	int - starting frame in buffer (optional. default = 0)
> ***
> 	int - leave file open (optional. default = 0)
> ***
> 	bytes - an OSC message to execute upon completion. (optional)
>
> hjh
>
> On 8/21/06, Paul Lansky <paul at princeton.edu> wrote:
>> I'm trying to use this in a NRT score.   I'm coming up empty when I
>> do this
>> ahead of time, so I figure I have to include it in the score.  What
>> is the OSC
>> command to do this?
>>
>> thanks
>> paul
>>
>> _______________________________________________
>> sc-users mailing list
>> sc-users at create.ucsb.edu
>> http://www.create.ucsb.edu/mailman/listinfo/sc-users
>>
>
>
> -- 
> James Harkins /// dewdrop world
> jamshark70 at dewdrop-world.net
> http://www.dewdrop-world.net
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal."  -- Whitman
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users



More information about the sc-users mailing list