<font face="arial" size="2">cheers Ge,<br /> <br /> i'll check that later. I went on last night and got most of the other tutorials to work so it must be something small. <br /> <br /> Two questions:<br /> <br /> I have done a little root around but did not find anything but just in case anybody knows off the top of their heads...<br /> Are there any real time pitch analysis classes or solutions available for STK?<br /> How about real time envelope/dynamics analysis?<br /> <br /> Conor</font><br /> <font face="arial" size="2"><br />www.forwind.net</font><br /><br /><font face="Tahoma, Arial, Sans-Serif" size="2"><hr align="center" size="2" width="100%" /><b>From</b>: Ge Wang &lt;gewang@CS.Princeton.EDU&gt;<br /><b>Sent</b>: 10 April 2005 22:13<br /><b>To</b>: Conor J Curran &lt;conor@forwind.net&gt;<br /><b>Subject</b>: Re: [Stk] wave playback error</font><br /><br />Hi Conor,<br /><br />Did you enable the __LITTLE_ENDIAN__ flag when compiling the lib? If you <br />also compiled any STK files as part of your sineosc project, you will also <br />need to set the flag for the sineosc project as well. Without this <br />flag, file I/O operations may assume big endian byte ordering, which <br />can make the header appear corrupt. This may or may not solve the <br />problem, it is good starting point to track down the problem.<br /><br />Best,<br />Ge!<br /><br />On Sat, 9 Apr 2005, Conor J Curran wrote:<br /><br />&gt; Hi,<br />&gt; I cannot play back the resultant wav file from the sineOsc.cpp in the <br />&gt; tutorial online.<br />&gt; I am using sinewave.raw.<br />&gt; Initially I had some difficulty building but finally got my project to <br />&gt; build....Compiled the stk library into a lib separately and linked against <br />&gt; it in my sineosc project....<br />&gt; compiles and runs without any warnings<br />&gt; the resultant hellosine.wav is dumped out with out a problem.<br />&gt; When i try and play the wav in any player it tells the file is corrupted.<br />&gt; Any ideas as to what the problem might be? My wave players work fine.<br />&gt;<br />&gt; br,<br />&gt; Conor<br />&gt;<br />&gt;<br />&gt;<br />&gt; _______________________________________________<br />&gt; Stk mailing list<br />&gt; Stk@ccrma.stanford.edu<br />&gt; http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br />&gt;<br /><br />