Re: [R] create waveform sawtooth

2017-11-13 Thread Michael Tiemann
me like sawtooth (and square) don't behave as expected when using > xunit="samples". Workaround is to use xunit="time" instead: > > sawtooth(110,duration=1/100,samp.rate=sample_rate,xunit="time") > > I looked at the code but found it to be opaque. > --

Re: [R] create waveform sawtooth

2017-11-12 Thread Michael Tiemann
My tuneR sawtooth wave function generator is broken. When I use the sine function, I get exactly what I expect: a sine wave whose frequency is defined by the freq parameter. In particular, higher frequencies have shorter wavelengths (more cycles per second means shorter waves). When I create

[R] need help with SIGNAL module

2008-11-06 Thread Michael Tiemann
odule From: Michael Tiemann <[EMAIL PROTECTED]> Date: Thu, 06 Nov 2008 07:18:58 -0500 To: [EMAIL PROTECTED] Tom, I was trying to compare lowpass and highpass filters and found that the buttord example in the manual worked as expected, namely the $type was "low". But when I reverse