Re: [ecasound] Xmas, effect switching with midi footswitches

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Xmas, effect switching with midi footswitches
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Fri Dec 27 2002 - 12:21:46 EET


On Wed, 25 Dec 2002 22:56:46 +0100
Raoul Bönisch <jkl345_AT_gmx.net> wrote:

> I use ecasound as a realtime effects processor for my guitar
> and would like to switch effect presets with my midi footswitches
> without any clicks and noises. One way is setting up several chains,
> muting them, unmute one for playing and then switch the "preset" with
>
> c-mute
> c-select <other-chain>
> c-mute
>
> A disadvantage is, that reverbs and delays wouldn't fade out but
> would immediatly be turned off. Another difficulty is, that I can't
> imagine a way to do all this with my footswitches except for writing
> a new application doing exactly this.
>
> Is there an easy way to switch effect presets with midi foot switches
> with the existing ecasound?

There is the -km controller.

man-page says:

-km:fx-param,start-value,end-value,controller,channel
 MIDI continuous controller (control change messages). Messages
 on the MIDI-channel 'channel' that are coming from controller
 number 'controller' are used as the controller source. As recom-
 mended by the MIDI-specification, channel numbering goes from 1
 to 16. Possible controller numbers are values from 0 to 127. The
 MIDI-device where bytes are read from can be specified using -Md
 option. Otherwise the default MIDI-device is used as specified
 in ~ecasound/ecasoundrc (see ecasoundrc(5)). Defaults to
 /dev/midi.

---

example:

# amplify, midi controller and reverb -ea 100 -km 1,0,100,number_of_your_midi_control,number_of_midi_channel \ -ete 10,100,100

In theory, this should mute and unmute your effect-chain, if you have the right control and channel specified.

control numbers:

midi_control_numbers={ 0 : 'Bank Select (coarse)', 1 : 'Modulation Wheel (coarse)', 2 : 'Breath controller (coarse)', 4 : 'Foot Pedal (coarse)', 5 : 'Portamento Time (coarse)', 6 : 'Data Entry (coarse)', 7 : 'Volume (coarse)', 8 : 'Balance (coarse)', 10 : 'Pan position (coarse)', 11 : 'Expression (coarse)', 12 : 'Effect Control 1 (coarse)', 13 : 'Effect Control 2 (coarse)', 16 : 'General Purpose Slider 1', 17 : 'General Purpose Slider 2', 18 : 'General Purpose Slider 3', 19 : 'General Purpose Slider 4', 32 : 'Bank Select (fine)', 33 : 'Modulation Wheel (fine)', 34 : 'Breath controller (fine)', 36 : 'Foot Pedal (fine)', 37 : 'Portamento Time (fine)', 38 : 'Data Entry (fine)', 39 : 'Volume (fine)', 40 : 'Balance (fine)', 42 : 'Pan position (fine)', 43 : 'Expression (fine)', 44 : 'Effect Control 1 (fine)', 45 : 'Effect Control 2 (fine)', 64 : 'Hold Pedal (on/off)', 65 : 'Portamento (on/off)', 66 : 'Sustenuto Pedal (on/off)', 67 : 'Soft Pedal (on/off)', 68 : 'Legato Pedal (on/off)', 69 : 'Hold 2 Pedal (on/off)', 70 : 'Sound Variation', 71 : 'Sound Timbre', 72 : 'Sound Release Time', 73 : 'Sound Attack Time', 74 : 'Sound Brightness', 75 : 'Sound Control 6', 76 : 'Sound Control 7', 77 : 'Sound Control 8', 78 : 'Sound Control 9', 79 : 'Sound Control 10', 80 : 'General Purpose Button 1 (on/off)', 81 : 'General Purpose Button 2 (on/off)', 82 : 'General Purpose Button 3 (on/off)', 83 : 'General Purpose Button 4 (on/off)', 91 : 'Effects Level', 92 : 'Tremulo Level', 93 : 'Chorus Level', 94 : 'Celeste Level', 95 : 'Phaser Level', 96 : 'Data Button increment', 97 : 'Data Button decrement', 98 : 'Non-registered Parameter (fine)', 99 : 'Non-registered Parameter (coarse)', 100 : 'Registered Parameter (fine)', 101 : 'Registered Parameter (coarse)', 120 : 'All Sound Off', 121 : 'All Controllers Off', 122 : 'Local Keyboard (on/off)', 123 : 'All Notes Off', 124 : 'Omni Mode Off', 125 : 'Omni Mode On', 126 : 'Mono Operation', 127 : 'Poly Operation'}

You can have these in several chains, controlling each with different controller. Downside is that you need the processing power for all your effects simultaneusly.

janne


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Dec 27 2002 - 12:19:06 EET