Rogan;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is interesting. &nbsp;I have some code that does pretty cool graining<br>

/ glitching on samples (that I have yet to post on the forum) that I&#39;m<br>
currently using linear ramps for.</blockquote><div><br>Cool!<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp;What would be the optimal shape for<br>

the grain?</blockquote><div><br>Well, that&#39;s a good question... it&#39;s a question like what is the best instrument or the most beautiful animal. In other words; it depends on taste and application. A envelope shape (or grain &quot;window&quot; if you like) that&#39;s perfect for me may be completely unsuitable for you. I do think that if we only have one the simplicity of the linear ramp is nice but more can be said on the topic.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp;Sine wave attack (sqare-root)?</blockquote><div><br>That would be a nice one, yes. Nothing could be &quot;the best&quot; but something like that would be a decent bet as a starting point, I think.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &nbsp;And what are the effects<br>
on the spectrum?<br>
<font color="#888888"></font></blockquote><div><br>Well, what we have is a wave-form (the section of the buffer being played back) and a envelope over it which is actually another wave-form that gets multiplied with the first. For longer grains (or loops or recordings) this is no huge issue but as grains become shorter the envelope may approach a rate where it&#39;s wave-form comes close to the audible range in frequency. If we then consider that&nbsp; a multiplication of two wave-forms really comes down to a ring modulator we&#39;ll see that the spectral content of the envelope will start generating side-bands for the audio. <br>
<br>This is not a bug, in fact it&#39;s a feature of granular (or pulselet, or....) synthesis and it gives us interesting options in sound-design. However, to make the most of those options we need to be able to talk about the curve of the ramps as the curve of the ramps will translate to harmonics of the &quot;envelope wave-form&quot; which will in turn end up in the sound. Hope fully we&#39;ll be able to find a way to talk about this to LiSa that doesn&#39;t make LiSa any more complicated then she needs to be; simple tools are nice.<br>
<br>I hope that served as a introduction. If you&#39;d like to know a lot more about this topic I think the best thing to do is to considder getting the book &quot;Microsound&quot; by Roads. That book goes into considerable depth in the various properties of granular systems, how they interact and how they influence the final result.<br>
</div></div><br>Yours,<br>Kas.<br>