<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial">Hi All,</font><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">First off since is my first post on this list I'd like to say thanks very much for the STK and related libraries and for this list, I"m really excited to be using STK for my music and sound projects.&nbsp;</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">I'm not the most experienced coder so please excuse me is this a dumb question,&nbsp;</font><font class="Apple-style-span" face="Arial">I was wondering if anyone was/is using the Drummer class? I've been messing with it a bit and it doesn't seem to make any sounds for me unless I manually increment the number of voices. I think there may be a bug in the noteOn method although it is probably my misunderstanding or poor implementation. It appears to me that the&nbsp;</font><font class="Apple-style-span" face="Arial">nSounding_ variable that tracks the voice number is never getting incremented initially. In the noteOn method I don't see where&nbsp;</font><font class="Apple-style-span" face="Arial">nSounding_ gets incremented initially, and when I manually increment it initially I get sound whereas before I don't get any sound when calling noteOn.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Has anyone experienced anything like this or had any experience using the Drummer class?</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">I'm using STK on iOS using the MoMu toolkit for the Core Audio Render_IO handling. I have gotten numerous instruments working and have messed with the Voicer class successfully. Again if I set&nbsp;</font><span class="Apple-style-span" style="font-family: Arial; ">nSounding_ to 1 initially I get sound at least after the second call of the method. If I leave it as is the&nbsp;</span><span class="Apple-style-span" style="font-family: Arial; ">nSounding_ never gets beyond 0 despite numerous calls to noteOn. I know the noteOn method is getting called and that the sample source is being set correctly. It's just not sounding unless I say init the&nbsp;</span><span class="Apple-style-span" style="font-family: Arial; ">nSounding_ variable at 1. wheras it should start at 0.</span></div><div><span class="Apple-style-span" style="font-family: Arial; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; ">I'd like to use the polyphony in this class rather than use the Voicer class if possible.</span></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Any help is most appreciated.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Thanks,</font></div><div><font class="Apple-style-span" face="Arial">rumi</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div></body></html>