<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I need to generate two Sinewaves and assign outputs to them either by hard panning left and right or with selected outputs. &nbsp;i am able generate one sine wave and pane it either way by doing&nbsp;
<div><br>
</div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; ">
*outputSamples&#43;&#43; = data-&gt;sine-&gt;tick();</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; ">
<span class="Apple-tab-span" style="white-space:pre"></span>*outputSamples&#43;&#43; = data-&gt;pan;</div>
</div>
<div>or</div>
<div><br>
</div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; color: rgb(0, 143, 42); ">
*outputSamples&#43;&#43; = data-&gt;sineTwo-&gt;tick();</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; color: rgb(0, 143, 42); ">
<span style="color: #000000"><span class="Apple-tab-span" style="white-space:pre"></span></span>*outputSamples&#43;&#43; = data-&gt;pan;</div>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Helvetica; color: rgb(0, 143, 42); ">
<br>
</div>
<div>What is the best way to generate multiple tones and implement this simultaneously with a callback function or should i be using something from the instrument class...i am on a bit of a time constraint so help would be greatly appreciated.</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>also i am new to Stk so details and/or sample code would be great.....Thanks</div>
</body>
</html>