<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.5770.91">
<TITLE>help with stk fundamentals</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi all..</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am a newbie to stk and digital signal processing, though otherwise an experienced software engineer.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I succeeded in creating an application using stk. The application is intended for music students (like me). Thanks a ton to stk for making the audio generation part so simple. But I am facing a few problems and need some help.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">1. Whats the role of the sinewave.raw file ? what information does it contain and why does my stk based app need that file ?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">2. My application uses the Flute class. Here are some specific problems I am facing.</FONT>
<BR> <FONT SIZE=2 FACE="Arial">a. When I tri to play N notes one after the other in a sequence, the last note keeps playing forever. I was able to solve this by putting a wvout->stop() after playing each note but this makes the shift between notes abrupt. Why this problem and whats the right solution?</FONT></P>
<P> <FONT SIZE=2 FACE="Arial">b. Some low frequencies ( 130 > f < 440hz) dont play well, there is noticeable distortion. Higher frequencies play better. Again, why this problem and what is the best solution. I have set the minimum playable freq on the flute to much lower (40).</FONT></P>
<P> <FONT SIZE=2 FACE="Arial">c. I am trying to produce the sounds of a "North Indian Flute", also called a "Bansuri". Is there any way I can add this sound to stk ? Or, is there any way to modify the sound of the Flute in the stk so that it sounds smoother ? </FONT></P>
<P><FONT SIZE=2 FACE="Arial">3. What is the right way to produce notes using the Flute class ? I am currently using the wvout->tick(flute->tick()) method. But then whats is the use of the StartBlowing and StopBlowing methods ? They dont seem to be having any impact at all. Right now I need to first do a noteon, then the tick() in a loop and then noteoff followed by wvout->stop for each note. Is this the best approach ? Any suggestions, comments ?</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">Thanks to the evangelists in advance :-)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Best Regards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">-Vinayak</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">"Nearly all men can stand adversity, but if you want to test a man's character, </FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">give him power."</FONT><FONT COLOR="#0000FF" FACE="Times New Roman"> </FONT>
<BR><FONT FACE="Times New Roman">-<B></B></FONT><B><FONT COLOR="#FF0000" FACE="Times New Roman">Abraham Lincoln</FONT></B>
</P>
<BR>
</BODY>
</HTML>