|
Post by duddex on Dec 19, 2021 16:51:58 GMT
The polyramp module (https://github.com/wonkystuff/grains_polyramp) is one of my favourite Grains modules. It is a drone machine comprising 8 stacked sawtooth oscillators. When I looked at the source code, I found this comment at the end of the file ... // If the new value of phase is smaller than it was, then we have completed a ramp-cycle, so // change the state of output 2 - this gives us a square wave an octave down from output 1. if (accum[0].phase < oldPhase) { PORTB ^= 0x01; // Sub oscillator square on the D output } ... That means that the actual drone sound comes from output "OUT". But there is an additional output of a square wave on the "D" output. I made a short video which shows the combination of the drone sound and the square wave: (there are some weird artefacts in the sound of the video - actual sound is much cleaner) As this is open source, it is not really a hidden feature. But it is not so obvious either
|
|
namke
wonkystuff
electronics and sound, what's not to like?!
Posts: 686
|
Post by namke on Dec 19, 2021 22:35:59 GMT
Heh, nice — sub-oscillator definitely adds a bit of OOMF to the sound!
|
|