[Stk] raw file editing

Gary Scavone gary@ccrma.Stanford.EDU
Sat, 22 Mar 2003 13:24:49 -0800 (PST)


Note that the WvIn/WvOut classes support a variety of formats (WAV, 
SND, AIFF, MAT-file, as well as RAW), so there is no particular reason 
to work with RAW files if that presents an inconvenience for you.

--gary

On Sat, 22 Mar 2003, Perry R Cook wrote:

>>Jeremiah,
>>
>>The files are headerless, 16 bit, big-endian, signed samples.
>>This is the basic file format for PCM in stk.  If you're using
>>windows (which i suspect you're not if you're trying to use
>>snd), then GoldWave or CoolEdit (free demo versions) will save
>>raw data in a variety of formats.  Another approach is to save
>>the files as .snd or .au files (correct byte ordering), and make
>>a simple hack to lop off the header (fread the appropriate number
>>of bytes, then read/write the remainder).
>>
>>PRC
>>
>>On Sat, 22 Mar 2003 jjbenham@chicagoguitar.com wrote:
>>
>>> I read that snd can edit headerless raw files.  Unfortunately that is not
>>> the case on my system.  I want to be able to create these raw files that are
>>> in the rawfile directory.  Is this how you would do sampling in stk++ or is
>>> there anouther way?
>>>
>>> Also and off topic question..... Is it frowned upon to build gui's with fltk
>>> instead of tcl/tk?
>>>
>>> Thanks,
>>> Jeremiah
>>>
>>> _______________________________________________
>>> Stk mailing list
>>> Stk@ccrma.stanford.edu
>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk