| Hi Jan,
It makes no sense for the squinewave oscil to use k-rate signals for
input.
This would introduce zipper noise and annoying spectral artifacts.
See it more as a poscil with several extra features.
If you want staircase signals, zipper noise and digital dirt, use k-rate
with oscil.
The squinewave oscillator comes with some requirements and guarantees.
- Use smooth a-rate signals as control inputs.
- If you use squinewave output signals as inputs for shape controls and
FM pitch,
your signal will be alias-free and your waveforms (ie overtone series)
will be spectrally clean.
This holds also more or less with any complexity of FM chains, with 2
caveats:
- of course wild FM creates harsh sounds.
- and squinewave clip/skew inputs that change faster than main frequency
(cps) can generate spectral interference patterns that may or may not be
useful.
It is about 3-4 times more expensive than most simple sinewave or table
oscillators,
but you get it back by skipping at least one filter in your signal
chain;
- the waveform shaping and morphing to sinewave is much cleaner and
smoother
than most normal lowpass or bandpass filters could achieve.
In short, it rarely sounds like shit, if I may be so pompous.
(and ofc it's still just an oscillator, essential but just a minor tool)
Have fun,
/rasmus
2019-07-19 21:34 skrev Jan Jacob Hofmann:
> Dear list,
>
> thanks for the useful replies, I got it working now, but now I am
> convinced the opcode might need some reworking, not the manual:
> It keeps complaining as long the first three arguments are not a-rate.
> K-rate definitely does not work for me at these first three ones. The
> fourth argument, supposed to be optional -actually being mandatory-
> may be a- k- or i-rate, all of it works -reasonable or not -...but id
> does not work *without* the fourth one.
>
> My current Csound version is 6.13 beta (double samples) Mar 19
> 2019...i will soon update to the latest release.
>
> Best wishes,
>
> Jan Jacob
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |