[Stk] Mandolin class
Liam Kelly
liamdotcom_@hotmail.com
Wed, 19 Mar 2003 00:12:26 -0000
Yep, __LITTLE_ENDIAN__ in place as required. I'm not sure what I did
but now all I get is a wave file with 40000 samples of silence when I
compile (?!?). It's a mystery, but thanks for trying to help me anyway.
Incidently I was just wondering about why there might be 12 different
Mandolin impulse responses, are they each taken under different
conditions? I would be interested to know.
Thanks again
Liam
-----Original Message-----
From: Gary Scavone [mailto:gary@ccrma.Stanford.EDU]
Sent: 17 March 2003 21:35
To: Liam Kelly
Subject: RE: [Stk] Mandolin class
Hi Liam,
I didn't realize that you were using VC++. Since you got the program
to compile, I'll assume all the necessary classes were included. My
guess is that the preprocessor definition __LITTLE_ENDIAN__ is
missing. Go to: Project->Settings. Then click on the C/C++ tab and
select the "Preprocessor" category. If you don't have
__LITTLE_ENDIAN__ in the list of preprocessor definitions, you need to
add it there. Note that the settings are debug/release specific.
--gary
On Sun, 16 Mar 2003, Liam Kelly wrote:
>>Thanks once again for your trouble Gary
>>
>>>I compiled your program and it worked fine. To compile it, I first
>>>compiled an STK library by typing "make" in the src directory. Then
I
>>>just linked to that during compilation.
>>
>>Unfortunately I'm still very much a beginner with C++ so it is not so
>>clear to me what you mean here. I am using VC++6 on windows. Are you
>>referring to compiler settings here? I have rummaged around the menus
>>and setting but not really seen what you're referring to.
>>
>>
>>
>>-----Original Message-----
>>From: stk-admin@ccrma.Stanford.EDU
[mailto:stk-admin@ccrma.Stanford.EDU]
>>On Behalf Of Gary Scavone
>>Sent: 16 March 2003 00:48
>>To: Liam Kelly
>>Cc: Stk@ccrma.Stanford.EDU
>>Subject: RE: [Stk] Mandolin class
>>
>>Hi Liam,
>>
>>I compiled your program and it worked fine. To compile it, I first
>>compiled an STK library by typing "make" in the src directory. Then I
>>just linked to that during compilation.
>>
>>--gary
>>
>>On Sat, 15 Mar 2003, Liam Kelly wrote:
>>
>>>>Thanks for the Gary
>>>>
>>>>>I assume you got the instrument to work using the demo project?
>>>>>
>>>>>After a quick pass through your program, it looks fine. Perhaps
the
>>>>>amplitude gain is a little low? What sort of sound are you
getting?
>>
>>>>>If it's just noise, then perhaps you're missing the
__LITTLE_ENDIAN__
>>
>>>>>preprocessor definition (needed by WvOut).
>>>>
>>>>Yeah, the project seems to compile OK if I switch a few files and
run
>>a
>>>>StifKarp instrument for example. The sound I get from the Mandolin
is
>>>>not exactly noise, I'd hazard a guess that it's more like a train of
>>>>impulse responses - roughly periodic about 10ms. It sounds crackly
>>more
>>>>than any thing.
>>>>_______________________________________________
>>>>Stk mailing list
>>>>Stk@ccrma.stanford.edu
>>>>http://ccrma-mail.stanford.edu/mailman/listinfo/stk