From gary at ccrma.Stanford.EDU Sun Jul 6 06:23:38 2014 From: gary at ccrma.Stanford.EDU (Gary Scavone) Date: Sun, 6 Jul 2014 09:23:38 -0400 Subject: [Stk] startBlowing methods In-Reply-To: References: Message-ID: <71956366-46E4-4E87-B29B-67C81E7E90B5@ccrma.stanford.edu> I haven?t looked into the details here, but physical models don?t always oscillate. They are models that make use of physical input variables and if those variables don?t fall within a control space that results in oscillations, you won?t hear anything (except perhaps a bit of noise). On top of that, these models are _very_ basic and sometimes even good ?physical settings? do not necessarily produce a sound. Why are you trying to use such high amplitude and rate values? Stk parameters are normally normalized. Look at the demo program to see what values it uses. ?gary On Jun 25, 2014, at 3:22 PM, Ariel Elkin wrote: > I looked at the parameters that noteOn uses when it calls startBlowing, and then tried calling startBlowing with them, but no sound came out. > > So I also suspect that this silence has something to do with outputGain... > > Any thoughts? > > On Jun 25, 2014, at 4:56 AM, Alex Fink wrote: > >> I don't think outputGain_ is getting initialized. You should use the noteOn and noteOff methods instead or look to see how they function. Also, there's a often a vast range of inputs that won't get any usable sound out of physical models. Look at any demos or experiment with different ranges to find the sweetspot. >> >> -Alex >> >> >> On Wed, Jun 25, 2014 at 5:29 AM, Ariel Elkin wrote: >> Hey guys, >> >> Just a question about how exactly to use the startBlowing and stopBlowing methods in Brass, Clarinet, Flute, etc. >> >> Why doesn't this >> myFlute->startBlowing(400, 1); >> >> produce a sound? >> >> Ariel >> >> _______________________________________________ >> Stk mailing list >> Stk at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/stk >> >> >> >> -- >> Alex M. Fink, PhD >> Sound Researcher @ ASU >> Electrical Engineering >> Arts, Media + Engineering >> SenSIP Center >> http://www.public.asu.edu/~amfink/ >> _______________________________________________ >> 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