News:

SMF - Just Installed!

Main Menu

miniATmegatron MIDI implementation

Started by nnay13, September 02, 2015, 09:49:36 PM

Previous topic - Next topic

nnay13

What is the miniATmegatron MIDI implementation ? 

paulsoulsby

Hi,

Here's the quick answer:
      PITCH LFO = 1,
      FILTER ENVELOPE = 16,
      DISTORTION = 17,
      FILTER CUTOFF = 74,
      FILTER RESONANCE = 71,
      LFO CLOCK DIV = 79,
      PWM = 91,
      AMPLITUDE LFO = 92,
      FILTER LFO = 93,
      PITCH ENV = 94,
      PHASER = 95,
      ALL NOTES OFF = 123

I'll do a proper MIDI table next week, along with other lookup tables.

Paul


hellasaurus


paulsoulsby

Ah yes, sorry still not got around to this yet.  I'm tied up with Incubate festival until Monday.  Will definitely do it when I'm back.  :)

ploom2


gburks

Full midi implementation will be great but I am most interested in midi control of the parameters that don't already have knobs.  I only see two of the "function" settings in the list below (LFO speed, pitch env).  Do other functions have midi control?  Thanks!

Quote from: paulsoulsby on September 03, 2015, 08:02:10 PM
Hi,

Here's the quick answer:
      PITCH LFO = 1,
      FILTER ENVELOPE = 16,
      DISTORTION = 17,
      FILTER CUTOFF = 74,
      FILTER RESONANCE = 71,
      LFO CLOCK DIV = 79,
      PWM = 91,
      AMPLITUDE LFO = 92,
      FILTER LFO = 93,
      PITCH ENV = 94,
      PHASER = 95,
      ALL NOTES OFF = 123

I'll do a proper MIDI table next week, along with other lookup tables.

Paul

paulsoulsby

This is all there is at the moment.  This will def change in the future, as I intend on finishing off a Lemur interface that I started for it. Can't give a time just yet - job list is getting quite long!
Do you know C?  I could let you know where in the code to look....

gburks

Yes, I do know C.  I poked around in the code for a minute last night and saw the MIDI CC code, but if you can point me in the right direction of where to access the other functions, I can try to adapt CC control of those functions.  Thanks!

paulsoulsby

So list of CCs are in AtmEngine.h.  Just add any extra ones to this list

They are used in void AtmEngine::midiControlChangeReceived in AtmEngine.cpp.  Add code to this using new CCs.  These map to the controls of the full Atmegatron. 
So Ctrl is the 6 pots, with the first variable setting the red/green mode of the button (LOW/HIGH).  Don't forget to <<1 because these take values 0-255
Func  is the 16 functions.  Don't forget to >>3, as they all take values 0-15.
The Enums for all this is in AtmEngine.h too.

If you're not sure what all 12 Ctrls and 16 Funcs do, it's best to look at the manual for the Atmegatron on the Atmegatron downloads page.  This runs through everything and also provides  pics of the Atmegatron panel to show the ctrls and funcs. 

Hope this helps!


raimee

Thanks for these informations. I wanted to ask if there's a way to implement the function and value dials into the midi chart. I would like to use a midi controller to choose different waveforms, filters, lfos, adsr by control change (midi cc). According your instructions it is possible, but my knowledge in programming arduino is none. I had a look at the mentioned codes and found out there's a mistake in the manual. Midi cc for filter cutoff and resonance are exchanged. There's cc for amplifier attack, decay and resonance but not sustain. to Will there be an update in the midi implementation chart? Or can you explain me what to do if I want to programm a midi cc for amplifier sustain and any other function of the dials for the atmegatron. Thanks.

paulsoulsby

Hi Raimee,
Can I check whether you are wanting to do this for the Atmegatron or miniAtmegatron?  Solution is slightly different for both.
Thanks for manual info.  Yes, there was an error in V1 of the manual and I still had that version on the website.  I've updated it now.