<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I think you can get your (modified for momu) FM class to compile if you comment out this line in FM.h:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Menlo; color: rgb(125, 136, 154); ">virtual StkFrames&amp; tick( StkFrames&amp; frames, unsigned int channel = 0 ) = 0;</div><div><br></div><div>I'm not exactly sure why that is or how to use tick with frames i think the MoMu version of STK might implement it differently or something.</div><div><br></div><div>Unfortunately though doing this and using arrays instead of vectors didn't seem to help performance that much at least not on my ipod touch. I'm still only able to get one voice to play using HevyMetl.</div><div><br></div><div><div><div><br></div><div><br><div><div>On Sep 17, 2012, at 7:27 PM, Patrick J. Collins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hmmm.. &nbsp;So after I put replaced the FM files with those two that you<br>provided, building failed first because of:<br> &nbsp;#include "SKINI.msg"<br><br>Claiming that file was not found... &nbsp;I changed it to what it was<br>previously:<br><br> &nbsp;#include "Skini_msg.h"<br><br>Then the .cp failed with:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( nOperators_ == 0 ) {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oStream_ &lt;&lt; "FM::FM: Number of operators must be greater than zero!";<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;handleError( StkError::FUNCTION_ARGUMENT );<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br><br>Saying "use of undeclared identifier oStream_"... &nbsp;So I changed that to errorString_ as it was before...<br><br>Then finally after doing that, the build fails at a point in my own code where I am doing:<br><br> &nbsp;// in my .h:<br> &nbsp;&nbsp;&nbsp;HevyMetl *instrument[4];<br><br> &nbsp;// in my .mm:<br> &nbsp;&nbsp;&nbsp;voicer = new Voicer();<br> &nbsp;&nbsp;&nbsp;instrument[0] = new HevyMetl();<br> &nbsp;&nbsp;&nbsp;instrument[1] = new HevyMetl();<br> &nbsp;&nbsp;&nbsp;voicer-&gt;addInstrument(instrument[0]);<br> &nbsp;&nbsp;&nbsp;voicer-&gt;addInstrument(instrument[1]);<br> &nbsp;&nbsp;&nbsp;voicer-&gt;silence();<br><br>... &nbsp;It's failing at "new HevyMetl()" saying "Allocating an object of<br>abstract class type 'HevyMetl'"...<br><br>Patrick J. Collins<br><a href="http://collinatorstudios.com">http://collinatorstudios.com</a><br><br>_______________________________________________<br>Stk mailing list<br>Stk@ccrma.stanford.edu<br>http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br></div></blockquote></div><br></div></div></div></div></body></html>