[Stk] 44.1

Stephen Sinclair sinclair at music.mcgill.ca
Mon May 14 14:48:08 PDT 2012


FileRead?  Been there a long time I think.  Personally I use
libsndfile in my projects though, since I like flac and ogg
compatibility.  Could be useful to write an STK-ish libsndfile wrapper
I suppose.

Steve

On Mon, May 14, 2012 at 2:07 PM, Morgan Packard
<hellomorganpackard at gmail.com> wrote:
> Wow. I had no idea this class existed, and pretty much wrote it myself
> from scratch last week. Has it been there all along or was it added
> over the past year or so?
>
> -Morgan
>
> Sent from my iPhone
>
> On May 14, 2012, at 1:01 PM, Josep M Comajuncosas
> <josep.comajuncosas at gmail.com> wrote:
>
>> 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
>>
>> _______________________________________________
>> Stk mailing list
>> Stk at ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>
>



More information about the Stk mailing list