HolyCityAudio / SpinCAD-Designer

SpinCAD Designer is an open source Java project which allows creation of patches for the Spin FV-1 audio DSP chip.
153 stars 27 forks source link

Add a pattern generator block #27

Open Digital-Larry opened 4 years ago

Digital-Larry commented 4 years ago

Pattern generator

Postby Digital Larry » Sat Feb 07, 2015 9:44 am After user disasterarea showed me the light on harnessing the Ramp LFO for low frequency triggering in the Sample/Hold block, I thought it would be possible to develop a pattern generator that would have, say, a set of 8 sliders that you could set to different levels and then it would play those control values back repeatedly at a certain rate which you could control.

As a side note, I did try the random S/H on volume level for "random" tremolo, and, well it didn't quite float my boat the way it does with filters. But I'm reasonably sure that a pattern tremolo would be more musical as you'd know what to expect.

Connecting it to a flanger might also give some of those "melodic flanger" effects like you can program (with great difficulty) on the Adrenalinn box.

I'm thinking each step would have a slider to adjust the value (linear/log global setting) and also a checkbox per slider to enable or disable it. That probably wants to be a composite control so that they stay on one horizontal line together. With a step disabled, the level would just hold until the next one which was enabled came along.

To get the different levels, start with a 4096 width ramp, which goes from 0 to 0.5. 0.5/8 = 0.0625. Get the ramp value into the acc and then SOF 0, -0.0625 each time. SKP NEG will give you the place to go for each step. Sure there are some fine details, aren't there always, but that's the general gist of the idea.