[sc-users] [linux] playing wave-files

Joshua Parmenter josh at realizedsound.net
Sat Oct 6 12:42:18 PDT 2007


I'm able to play 32-bit waves on my computer without a problem... can  
you post a short file on the web somewhere for me to test?

Best,

Josh

On Oct 6, 2007, at 6:52 AM, Constantin Popp wrote:

> helllo list,
>
> i'm trying to play wave-files via playbuf. aiff-files work, but not  
> wave-files (32 bit, stereo).
>
> here's the error-message:
> Buffer(3, nil, nil, nil, sounds/test.wav)
> Not a valid error number (-1).
> File 'sounds/test.wav' could not be opened.
>
>
>
> here's the code (taken from the helpfile):
>
>
>
> (
>
> // read a whole sound into memory
>
> s = Server.local;
>
> // note: not *that* columbia, the first one
>
> b = Buffer.read(s,"sounds/test.wav"); // remember to free the  
> buffer later.
>
> )
>
>
> SynthDef("help_PlayBuf", { arg out=0,bufnum=0;
>
> Out.ar(out,
>
> PlayBuf.ar(1, bufnum, BufRateScale.kr (bufnum))
>
> )
>
> }).play(s,[\out, 0, \bufnum, b.bufnum]);
>
>
>
>
> when playing the same sound-file with sciss's eisenkraut, i get the  
> same error by the way.
>
> best,
> constantin popp
> -- 
> klonkkk!
> www.popup-studios.de
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-users/attachments/20071006/bba74257/attachment.htm


More information about the sc-users mailing list