<html>
<body>
<font size=3>You can subtract a delayed sawtooth from a sawtooth to get
rectangular pulse, and then integrate that (using a leaky one-pole
integrator) to get triangle wave.&nbsp; The bandlimited properties are
inherited from BlitSaw since these operations are linear time-invariant.
- Julius<br><br>
At 12:22 PM 4/1/2013, Gary Scavone wrote:<br>
<blockquote type=cite class=cite cite="">There's a BlitSaw class … not
exactly triangular but close.<br><br>
--gary<br><br>
On 2013-04-01, at 2:53 PM, Tyler Martin &lt;tylernm@gmail.com&gt;
wrote:<br><br>
&gt; Is there an easy way to use the Stk classes to make a triangle
oscillator?&nbsp; I'm not familiar with all the waveform theory so I'm
hoping I've overlooked something that already exists in the tool
kit.<br>
&gt; <br>
&gt; Thanks,<br>
&gt; Tyler<br>
&gt; _______________________________________________<br>
&gt; Stk mailing list<br>
&gt; Stk@ccrma.stanford.edu<br>
&gt;
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk" eudora="autourl">
http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a><br><br>
<br>
_______________________________________________<br>
Stk mailing list<br>
Stk@ccrma.stanford.edu<br>
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk" eudora="autourl">
http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a></blockquote>
<x-sigsep><p></x-sigsep>
<br>
Julius O. Smith III &lt;jos@ccrma.stanford.edu&gt;<br>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical
Engineering<br>
CCRMA, Stanford University<br>
<a href="http://ccrma.stanford.edu/~jos/" eudora="autourl">
http://ccrma.stanford.edu/~jos/</a> </font></body>
</html>