Author Topic: miniATmegatron MIDI implementation  (Read 1974 times)

miniATmegatron MIDI implementation

« on: September 02, 2015, 09:49:36 PM »
Open quickbuttons

nnay13

Posts: 5

Offline
  • *
  • Newbie
    • View Profile
What is the miniATmegatron MIDI implementation ? 

Re: miniATmegatron MIDI implementation

« Reply #1 on: September 03, 2015, 08:02:10 PM »
Open quickbuttons

paulsoulsby

Posts: 167

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
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

Re: miniATmegatron MIDI implementation

« Reply #2 on: September 03, 2015, 09:26:59 PM »
Open quickbuttons

nnay13

Posts: 5

Offline
  • *
  • Newbie
    • View Profile
Many thanks  ;D

Re: miniATmegatron MIDI implementation

« Reply #3 on: September 15, 2015, 02:48:52 PM »
Open quickbuttons

hellasaurus

Posts: 1

Offline
  • *
  • Newbie
    • View Profile
Is there any update on this? :)

Re: miniATmegatron MIDI implementation

« Reply #4 on: September 16, 2015, 03:22:41 PM »
Open quickbuttons

paulsoulsby

Posts: 167

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
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.  :)

Re: miniATmegatron MIDI implementation

« Reply #5 on: September 17, 2015, 12:33:07 AM »
Open quickbuttons

ploom2

Posts: 21

Offline
  • *
  • Newbie
    • View Profile
test (tried posting, trying again)

Re: miniATmegatron MIDI implementation

« Reply #6 on: September 21, 2015, 08:20:03 PM »
Open quickbuttons

gburks

Posts: 2

Offline
  • *
  • Newbie
    • View Profile
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!

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

Re: miniATmegatron MIDI implementation

« Reply #7 on: September 22, 2015, 11:36:40 AM »
Open quickbuttons

paulsoulsby

Posts: 167

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
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....

Re: miniATmegatron MIDI implementation

« Reply #8 on: September 22, 2015, 11:18:33 PM »
Open quickbuttons

gburks

Posts: 2

Offline
  • *
  • Newbie
    • View Profile
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!

Re: miniATmegatron MIDI implementation

« Reply #9 on: September 23, 2015, 12:19:43 PM »
Open quickbuttons

paulsoulsby

Posts: 167

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
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!


Re: miniATmegatron MIDI implementation

« Reply #10 on: October 29, 2016, 08:28:23 PM »
Open quickbuttons

raimee

Posts: 1

Offline
  • *
  • Newbie
    • View Profile
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.

Re: miniATmegatron MIDI implementation

« Reply #11 on: November 02, 2016, 11:04:00 AM »
Open quickbuttons

paulsoulsby

Posts: 167

Offline
  • Administrator
  • *****
  • Full Member
    • View Profile
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.