[chuck-users] playing raw audio files
Andrew C. Smith
acsmith at willamette.edu
Sat Oct 3 19:54:41 EDT 2009
I think I understand what you're trying to do here. Have you tried
WavIn at all, though? It's more general than SndBuf.
Mike Clemow did something like this with SPEAR files, and he had to
write a Python script to do the string parsing and everything. Just
because of ChucK's limited string functionality, this may be the best
way to go. If you get it synchronized with OSC it would make it even
On Sat, Oct 3, 2009 at 7:40 PM, Renato Fabbri <renato.fabbri at gmail.com> wrote:
> i beg for a clue.
> here is the thing i've playing with, its a "python macro interpreter
> -- rythmic chuck sample player":
> svn co http://svn.assembla.com/svn/audioexperiments/ABeatDetector
> And now i've been wishing to play some raw audio files (actually, i
> want to read system files as raw audio).
> I will write a python scritpt to open raw and write as .wav files for
> chuck to open for i am not able to open this files as audio directly
> in chuck.
> any idea?
> 2009/10/2 Renato Fabbri <renato.fabbri at gmail.com>
>> Hi List,
>> I didnt figure out how to read/play raw audio files in chuck, and didn't find any doc either.
>> say i want to read a mono "rawsound.raw" as 16bit samples and 8kHz sample rate (say playback sample rate is determined beforehand).
>> Is there a way to read and play such a raw audioo data or should i need to convert to wav or similar?
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
More information about the chuck-users