[Stk] 44.1

Josep M Comajuncosas josep.comajuncosas at gmail.com
Mon May 14 10:01:17 PDT 2012


That was it, forgot the directive!
Thank you!

Josep M

2012/5/14 Stephen Sinclair <sinclair at music.mcgill.ca>:
> It sounds like you compiled STK with the wrong endianness.
> The "data format type" should be 1 for 16-bit PCM data.  If it's
> reporting 256 it means the bytes of the format tag are swapped.
>
> Check that autoconf is detecting the correct endianness. (i.e. if you
> are on x86, make sure that when you run "make," there is a flag
> "-D__LITTLE_ENDIAN__" being given to gcc.)
>
> Steve
>
> On Thu, May 10, 2012 at 4:41 PM, Josep M Comajuncosas
> <josep.comajuncosas at gmail.com> wrote:
>> Well, when calling FileWvIn method openFile() with the default
>> arguments I get the error:
>>
>> (...).wav contains an unsupported data format type (256)
>>
>> I get this error with all PCM uncompressed mono, 16-bit 44.1kHz wave
>> files I have...(last stk distro)
>>
>>
>> Josep M
>>
>> 2012/5/10 Gary Scavone <gary at ccrma.stanford.edu>:
>>> It should be working ... if not, send an error report with as many details as possible.
>>>
>>> --gary
>>>
>>> On 2012-05-10, at 11:07 AM, Josep M Comajuncosas wrote:
>>>
>>>> Hi all,
>>>> what is the expected procedure to load and play 44.1kHz .WAV sound
>>>> files from disk?
>>>> Using FileWvIn does not work unless you load them as RAW files, in
>>>> which case they are assumed to be at 22.05kHz.
>>>>
>>>> Josep M
>>>>
>>>> _______________________________________________
>>>> Stk mailing list
>>>> Stk at ccrma.stanford.edu
>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>>
>>
>> _______________________________________________
>> Stk mailing list
>> Stk at ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>
>>
>
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk



More information about the Stk mailing list