On 15 August 2018 06:26:22 CEST, Luc Tanguay <lucus@sympatico.ca> wrote: > Hi. > > I want to configure my Behringer FBQ2496 with midish. To control the > FBQ we need to send CCs messages. The problem I have is to send the > right message to configure the frequency of one filter in the FBQ. > The > FBQ manual says: > Frequency (coarse adjustement): CC = 14, value range = 0..75 > Frequency (fine adjustement): CC = 46, value range = 0..127. > > The following midish commands do not work: > > # CC 11 is to set 'filter' on FBQ > ctlunconf expr > # Configure 'filter' controller > ctlconfx filter 11 nil > ctlconfx freq 14 nil > dnew 0 "44:0" wo > # FBQ listens on MIDI channel 16 > onew fbq {0 15} > # Set filter 20 i.e. 19 > oaddev {ctl fbq 11 19} > # Set Bandwith to "3" > oaddev {ctl fbq 15 2} > @ Set Gain to -36 dB i.e. 0 > oaddev {ctl fbq 16 0} > # To set frequency to 447 Hz, > # set CC 14 to 33 and CC 46 to 96 (all in decimal) > oaddev {ctl fbq 14 33} > oaddev {ctl fbq 46 96} as controller 14 uses the "fine mode", you don't neet to set controller 46. By setting contoller 14 to a value in the 0..16383 range, midish will set the lower bits in controller 46 as well. In your example you need: oaddev {ctl fbq 14 33*128+96} this will generate the two controller messages atomically.Received on Wed, 15 Aug 2018 10:05:41 +0200
This archive was generated by hypermail 2.1.8 : Thu Aug 16 2018 - 02:00:09 CEST