yoyz / amsynth

Automatically exported from code.google.com/p/amsynth
GNU General Public License v2.0
1 stars 0 forks source link

mapping MIDI CC channels to amsynth knobs #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a Novation LaunchKey49, and I have determined the MIDI CC channels that 
each control surface (knobs, faders, buttons, etc).

How can I use the MIDI CC controls to manipulate amsynth?  I am happy to test 
and contribute whatever I can for my available hardware.

What steps will reproduce the problem?
1. Plug in MIDI controller (e.g. Novation)
2. Run amsynth
3. Route controller MIDI to amsynth
4. Confirm audio output via the piano keyboard
5. Confirm basic operation of pitchwheel, modulation wheel, and master fader
6. Test operation of other faders and knobs

What is the expected output? What do you see instead?

There should be some way to map MIDI CC data to individual knobs in amsynth.  
For example, I have a fader labeled "1", which maps to MIDI CC Channel 41.  I 
should be able to map this to any amsynth knob.

One can imagine a variety of ways to do this.  A "learning mode" comes to mind, 
but I would love a simple text file for each e.g. USB device.  The first 
section would simply enumerate the controls, perhaps in pairs: (local symbol on 
the left, MIDI output spec on the right). Amsynth should be able to use this 
data to come up with a default mapping, doing its best to make all soft 
controls available and all (enumerated) hard controls meaningful. Further 
sections in the device-specific file could specify per-plugin or per-whatever 
mappings that override the enumerated defaults.

What version of the product are you using? On what operating system?

amsynth v1.4.2 on debian jessie

Please provide any additional information below.

Perhaps I've completely overlooked the existing way to do this -- please point 
me in the right direction if so.  I can't help but suggest a plausible way to 
solve the problem, but it's merely a stab.

Original issue reported on code.google.com by rick.h...@gmail.com on 11 Nov 2014 at 2:32

GoogleCodeExporter commented 9 years ago
To solve your immediate problem: right-click the amsynth knob you wish to 
control with your slider.  In the dialog that appears, use the 'MIDI 
Controller' dropdown to select the CC number you wish to map.

More generally: are you a programmer/do you have any familiarity with Python?  
Mididings (not sure if I can link it from here, just Google the name) is a 
super-cool open source project that allows you to specify arbitrarily 
complicated MIDI mappings/transpositions in a Python-like domain-specific 
language.

Original comment by joshua.t...@gmail.com on 25 Nov 2014 at 7:26