[Stk] *.wav file that FileRead can open

Stephen Sinclair sinclair at music.mcgill.ca
Fri Mar 6 11:33:38 PST 2009


On Fri, Mar 6, 2009 at 2:22 PM, Richard Dobson
<richarddobson at blueyonder.co.uk> wrote:
> Rich M wrote:
>> Hi,
>> I have a c++ project using STK and Real-Time Audio in which I open a
>> 44.1kHz interleaved 32bit float 2 channel WAVE file. I created this .wav
>> file in Cubase 3 SX. When I run my program I get this error:
>> FileRead: error reading WAV file <GuitarDelayTest2.wav>.
>>
>
>
> Are you on a Mac? The file may be in WAVEFORMATEXTENSIBLE format, for
> which Stk has incomplete support (I suspect a byte-reversal problem, but
> have not got around it looking at it closely).

Also make sure that __LITTLE_ENDIAN__ is set (or unset) correctly when
compiling STK.  This is has bitten me more than once, particularly
when I've used STK in a project while ignoring its autoconf
configuration.


Steve



More information about the Stk mailing list