Changing presets via MIDI program change

andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Changing presets via MIDI program change

Post by andycooke »

Hi there...

fantastic plugin - thanks!!!

one thing... is it possible to change presets via midi program change?

i am using ableton in session view and would like to change presets with each scene...

any ideas?

thanks!

andy
User avatar
Rob
Site Admin
Posts: 4709
Joined: Sat Aug 01, 2009 2:04 pm

Re: Changing presets via MIDI program change

Post by Rob »

I did some quick and dirty code and it seems easy enough to do.

I'm not sure of the best way to implement this however. After receiving a program change and changing its preset, should DSP Trigger still forward that program change to the drum sampler? What about MIDI Channels? Should I make it respond to program changes on any channel? Do I need to implement a LEARN function?

The more information you give me on how you'd expect this function to work, the better.

Regards, Rob
andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Re: Changing presets via MIDI program change

Post by andycooke »

hey rob

thanks for your quick reply! amazing

here is screenshot from ableton

Image

as you can see from this, ideally i would setup separate midi channel (9 trig prog c) which sends midi to audio track (8 trigger IN) with instance of DSP trigger plugin.

as per screenshot i would make an empty midi clip and then add the change in there (preset02)

then the sampler track (10 SAMPLER) obviously gets its MIDI as usual from there.

you could consider reserving ch 15 and ch 16 for program change, or something.... such as in DMXIS plugin - here is a screenshot of how that is implemented in ableton

Image

i guess a learn function could be useful... particularly if you wanted to receive changes on every MIDI channel....

i suppose another way would be to "reserve" a part of the 0-127 spectrum for preset /bank changing... this might be acceptable since VERY few users are ever going to need 127 pads!!!

this might in fact be the easiest way.....

thanks a million for your attention to this

andy
Last edited by andycooke on Tue Oct 18, 2011 10:08 am, edited 1 time in total.
User avatar
Rob
Site Admin
Posts: 4709
Joined: Sat Aug 01, 2009 2:04 pm

Re: Changing presets via MIDI program change

Post by Rob »

I think for now I'll just implement it so that it responds to program changes 101-109 on any channel as a quick and dirty solution. I'll save MIDI learn functionality for version 2. I can also add a check box to the option menu to enable/disable responding to program changes just in case it causes issues for anyone.

I should have something ready for you tomorrow.

Regards,
Rob.
andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Re: Changing presets via MIDI program change

Post by andycooke »

AMAZING!!!!

that would totally work for me

and the check box thing is a great idea

AWESOME!!

i will be using this for a show on friday....
andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Re: Changing presets via MIDI program change

Post by andycooke »

it just occurs to me

is 101-109 enough? to cycle thorough all presets...

perhaps it is...
andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Re: Changing presets via MIDI program change

Post by andycooke »

actually of course it is - it's all the nine pads

i have also been using fxb files... but i guess loading new fxb files via prog change would be impossible...

to be honest the nine would suit me fine for now...

one thing i notice on the mac is that control-click is a bit odd on the pads... so i have trouble saving the new note in a preset...

thanks again!!!
andycooke
Posts: 9
Joined: Tue Oct 18, 2011 12:49 am

Re: Changing presets via MIDI program change

Post by andycooke »

yeah it is a bit odd on the mac... i saw from the video that the way to save changes in a preset is in contextual menu

anyway it doesn't really matter since i can just change the sampler midi notes accordingly

thanks again - and sorry for all this....

ac
User avatar
Rob
Site Admin
Posts: 4709
Joined: Sat Aug 01, 2009 2:04 pm

Re: Changing presets via MIDI program change

Post by Rob »

I'll check out the control click thing. Thanks
User avatar
Rob
Site Admin
Posts: 4709
Joined: Sat Aug 01, 2009 2:04 pm

Re: Changing presets via MIDI program change

Post by Rob »

The control-click issue is a bug. I just fixed it. I've been using a two button mouse so I've never noticed an issue before.
Post Reply