Soulsby Synths Forum

Technical Support => Software technical support => Topic started by: nnay13 on September 02, 2015, 09:49:36 PM

Title: miniATmegatron MIDI implementation
Post by: nnay13 on September 02, 2015, 09:49:36 PM
What is the miniATmegatron MIDI implementation ? 
Title: Re: miniATmegatron MIDI implementation
Post by: 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
Title: Re: miniATmegatron MIDI implementation
Post by: nnay13 on September 03, 2015, 09:26:59 PM
Many thanks  ;D
Title: Re: miniATmegatron MIDI implementation
Post by: hellasaurus on September 15, 2015, 02:48:52 PM
Is there any update on this? :)
Title: Re: miniATmegatron MIDI implementation
Post by: paulsoulsby on September 16, 2015, 03:22:41 PM
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.  :)
Title: Re: miniATmegatron MIDI implementation
Post by: ploom2 on September 17, 2015, 12:33:07 AM
test (tried posting, trying again)
Title: Re: miniATmegatron MIDI implementation
Post by: gburks on September 21, 2015, 08:20:03 PM
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
Title: Re: miniATmegatron MIDI implementation
Post by: paulsoulsby on September 22, 2015, 11:36:40 AM
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....
Title: Re: miniATmegatron MIDI implementation
Post by: gburks on September 22, 2015, 11:18:33 PM
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!
Title: Re: miniATmegatron MIDI implementation
Post by: paulsoulsby on September 23, 2015, 12:19:43 PM
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!

Title: Re: miniATmegatron MIDI implementation
Post by: raimee on October 29, 2016, 08:28:23 PM
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.
Title: Re: miniATmegatron MIDI implementation
Post by: paulsoulsby on November 02, 2016, 10:04:00 AM
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.