FTP - Puredata - CC generator patch

Started by shawnb, January 13, 2014, 01:08:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shawnb

Hey all -

Not sure how many PD users there are here...  If you are, shout out, maybe we could exchange more patches!

Attached is a simple CC generator, tied to the MIDI clock.   If your synth is limited to simple LFO, and you want a few more patterns, this helps spruce things up a bit.   

I allow for multi-channel selection, since my primary usage is with my FTP.  Altering min/max & using this to control a frequency cutoff really helps dial in tone & add life to many synth sounds.  I feed my midi clock & my FTP notes into LoopMidi, and I feed SampleTank FROM LoopMidi.  Essentially a software merge function using LoopMidi, to get my foot controller & clock & FTP notes on one MIDI port.   This made it very easy to run pd in the background & insert itself.  PD's input and output is LoopMidi, thus, the new controller messages simply get added to the stream heading into SampleTank.   

Input:  MIDI clock & notes.  Notes are ONLY used to restart the pattern.
Output:  The selected pattern is sent out at the selected rate on the selected CC on the selected channels.

You can change the patterns by altering minVal, maxVal, stretch & pattern values on the UI.  Kinda fun just to play with the UI. 

Some usage notes -
  -  You do not need your DSP engine on for this to work.  It operates purely in the MIDI & math realm. 
  -  You do, however, need to feed it a MIDI clock.
  -  You can make minVal > maxVal to invert the pattern.    (As I did with the LOG function in the images below.)
  -  The "Beats" parameter simply tells it how many beats it should use before it should repeat the pattern you see. 
  -  "Pattern 8" is just random steps; changing anything picks new random steps. 

If there is interest for such a utility, I may add the ability to save & load presets.  At the moment, I use it mostly during improvisation, so it's fine as-is. 

Feedback welcome!  Especially if there are things I should have done differently...

Shawn
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Elantric

Shawn - looks great -

FWIW - here are Links to other threads where PD (Pure Data) is mentioned

Tutorials and Demos / Learn PD (Pure Data) and Csound
https://www.vguitarforums.com/smf/index.php?topic=8726.msg62602#msg62602

Tablets & SmartPhones for Music / Pure Data engine for embedded devices
https://www.vguitarforums.com/smf/index.php?topic=8207.msg58296#msg58296

Tutorials and Demos / Re: Progress report Tonefreqhz Arduino pedal and Pure Data
https://www.vguitarforums.com/smf/index.php?topic=8239.msg63180#msg63180

Tablets & SmartPhones for Music / Android Gets Patchable Audio Everything: Free Patchfield Architecture
https://www.vguitarforums.com/smf/index.php?topic=9407.msg67720#msg67720

DIY Hardware / Crowd-funded OWL - the Stompbox That Can Become Whatever You Like
https://www.vguitarforums.com/smf/index.php?topic=8753.msg62767#msg62767

Tablets & SmartPhones for Music / Jack for IOS
https://www.vguitarforums.com/smf/index.php?topic=8194.msg58188#msg58188

DIY Hardware / Re: Septar Kit
https://www.vguitarforums.com/smf/index.php?topic=4222.msg40574#msg40574

Hi-Tech Guitar Gear / Re: Bus powered Audio Interfaces with 6 inputs Any Suggestions
https://www.vguitarforums.com/smf/index.php?topic=8704.msg62465#msg62465

Tablets & SmartPhones for Music / Re: Audiobus for IPAD - app-to-app audio streaming for iOS
https://www.vguitarforums.com/smf/index.php?topic=7468.msg58289#msg58289

General Discussion / Re: Melodyne Studio + Fanout Box as Audio to MIDI Studio Tool
https://www.vguitarforums.com/smf/index.php?topic=4213.msg28564#msg28564

Roland GR-55 Discussion / Re: Exp/Pitchbend Pedal Direction?
https://www.vguitarforums.com/smf/index.php?topic=6554.msg45864#msg45864

shawnb

#2
After experimenting quite a bit with this, I made a BUNCH of enhancements. 

I basically use this as a substitute for an LFO feeding my guitar processors.  This makes things a little more lively than a simple LFO.  I usually feed it to wahs (guitar) and cutoff freqs (synth).  Great effects result if you use it to change a voice's attack (synths).  It can control anything. 

Enhancements:
  -  This can now GENERATE a MIDI clock, either by typing one into the BPM number box or via Tap Tempo
  -  Much more complex shapes can be created, I allow you to create a more complex pattern built up from up to 4 subpatterns
  -  An option to let notes restart the sequence or not. 

To learn, I suggest playing around with the various 'pattern' selections first, then moving onto the 'Stretch settings', then the 'length' controls last. 

Yes, I know that if the sum of the 4 patterns is shorter than the overall pattern, the remainder stays unitialized - i.e., that portion of the shape remains what it was.   It's more interesting that way, and you can use that to your advantage!

A note of caution:  This can generate a TON of CC messages, e.g., if you tell it to repeat a complex sequence every 1/2 of a beat for 16 voices/channels.  I can VERY EASILY make this crash a VST host, and a synth, and I'm proud of that! 

The prior, simpler version sjrbPDCC1 is better if you want something simple to repeat a LOT...

Enjoy!
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

cube48

Hi Shawnb,

I just registered here specifically to check out your PD CC generator. It's awesome!!! Thanks a lot for sharing. I've embedded it into my DIY hybrid synthesizer. The synth engine is running on a dedicated micro-controller but it's control surface is realized in PD with touch-optimized interface. Your envelope/lfo generator pushed my instrument to another level! Thanks again!

shawnb

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Rick

Quote from: shawnb on January 24, 2014, 04:33:31 PM

I basically use this as a substitute for an LFO feeding my guitar processors.  This makes things a little more lively than a simple LFO.  I usually feed it to wahs (guitar) and cutoff freqs (synth).  Great effects result if you use it to change a voice's attack (synths).  It can control anything. 

Enhancements:
  -  This can now GENERATE a MIDI clock, either by typing one into the BPM number box or via Tap
...

The prior, simpler version sjrbPDCC1 is better if you want something simple to repeat a LOT...

Enjoy!

Hi, I've been trying to integrate a Critter & Guitari Organelle into my V-guitar setup, worked fine with my VG-99, but then I thought how much more portable it would be to use a GP-10 with a MIDX-20 to let me control the Organelle AND get MIDI Clock from my Adrenalinn 3... Should have checked out the GP-10's crappy MIDI specs, as it doesn't recognize Clock... Anyways, I just saw this post of yours today, so I'll try to load the PD patch this weekend. Adapting it to ORAC will take longer... In the meantime, I just wanted to ask if you use a GP-10, and if you know if anybody has managed to 'fix' the GP-10's lack of Clock?
Thanks fot now, Rick (Trieste)
axes:
Gibson SG-shaped LP Standard '63
Gibson SG Specially Kahlered Y2K
Lapaxe cocobolo '11
Ibanez RG450AH '99 'rootbeered'
Fender Strat Hitmaker copy
Yamaha 112, GK, fretless & sustainiaked

fx:
VG99, VG8ex, SY300, Philo-Tone Gold, Adrenalinn III, TC VL3, RC202

amps:
GK 206mls + two SR Club

shawnb

I have not yet tried to slave the GP-10 to anything, but if I did, I'd probably use one of these...

I own one & it's great for dealing with timing challenges across gear.  It spits out both a midi-clock and a tap-tempo signal, that you feed into a CTL for Boss gear. 

https://www.disasterareaamps.com/shop/smartclock-gen3-tap-tempo-controller

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp