|
Post by gregm on Mar 24, 2022 1:56:46 GMT
Hi. Newb to MidiFire. I am trying to create a way to use the same expression pedal to control two different cc #’s. My idea is to have the first cc# 7 move / sweep 1-127 and the second cc# 4 move / sweep 127-1 using the same expression pedal. I got as far as having two paths mapped and one using the pressure curve. Am wondering if I can add a stream byter on that path to change the cc# from 7 to 4? Any ideas / advice on how to write that? Using Meloaudio MIDI commander, an expression pedal, MidiFire and Bias FX 2 on an iPad. Thanks in advance!
|
|
abadam
Developer 
Rotten Apple
Posts: 52
|
Post by abadam on Mar 24, 2022 7:37:23 GMT
change cc7 to 4 in one streambyter line
BX 07 = XX 04
|
|
|
Post by gregm on Mar 25, 2022 5:07:07 GMT
Thanks for the quick response.
I was able to make a dual continuous expression pedal with one cc increasing and the other decreasing in values by writing this code into a StreamByter and insert between MIDI controller and Bias FX 2. Should work with other apps as well.
#HYPERSPACE PEDAL BY GREGM
#CC7 for delay input volume AND feedback levels. CC#4 for delay time. The expression pedal will function as both controllers but in reverse of each other. Classic Boston hyperspace guitar effect. Works best with a multi-head tape delay effect block.
if M0 == B0 $07 $127 send M0 $04 $1 End if M0 == B0 $07 $126 send M0 $04 $2 End if M0 == B0 $07 $125 send M0 $04 $3 End if M0 == B0 $07 $124 send M0 $04 $4 End if M0 == B0 $07 $123 send M0 $04 $5 End if M0 == B0 $07 $122 send M0 $04 $6 End if M0 == B0 $07 $121 send M0 $04 $7 End if M0 == B0 $07 $120 send M0 $04 $8 End if M0 == B0 $07 $119 send M0 $04 $9 End if M0 == B0 $07 $118 send M0 $04 $10 End if M0 == B0 $07 $117 send M0 $04 $11 End if M0 == B0 $07 $116 send M0 $04 $12 End if M0 == B0 $07 $115 send M0 $04 $13 End if M0 == B0 $07 $114 send M0 $04 $14 End if M0 == B0 $07 $113 send M0 $04 $15 End if M0 == B0 $07 $112 send M0 $04 $16 End if M0 == B0 $07 $111 send M0 $04 $17 End if M0 == B0 $07 $110 send M0 $04 $18 End if M0 == B0 $07 $109 send M0 $04 $19 End if M0 == B0 $07 $108 send M0 $04 $20 End if M0 == B0 $07 $107 send M0 $04 $21 End if M0 == B0 $07 $106 send M0 $04 $22 End if M0 == B0 $07 $105 send M0 $04 $23 End if M0 == B0 $07 $104 send M0 $04 $24 End if M0 == B0 $07 $103 send M0 $04 $25 End if M0 == B0 $07 $102 send M0 $04 $26 End if M0 == B0 $07 $101 send M0 $04 $27 End if M0 == B0 $07 $100 send M0 $04 $28 End if M0 == B0 $07 $99 send M0 $04 $29 End if M0 == B0 $07 $98 send M0 $04 $30 End if M0 == B0 $07 $97 send M0 $04 $31 End if M0 == B0 $07 $96 send M0 $04 $32 End if M0 == B0 $07 $95 send M0 $04 $33 End if M0 == B0 $07 $94 send M0 $04 $34 End if M0 == B0 $07 $93 send M0 $04 $35 End if M0 == B0 $07 $92 send M0 $04 $36 End if M0 == B0 $07 $91 send M0 $04 $37 End if M0 == B0 $07 $90 send M0 $04 $38 End if M0 == B0 $07 $89 send M0 $04 $39 End if M0 == B0 $07 $88 send M0 $04 $40 End if M0 == B0 $07 $87 send M0 $04 $41 End if M0 == B0 $07 $86 send M0 $04 $42 End if M0 == B0 $07 $85 send M0 $04 $43 End if M0 == B0 $07 $84 send M0 $04 $44 End if M0 == B0 $07 $83 send M0 $04 $45 End if M0 == B0 $07 $82 send M0 $04 $46 End if M0 == B0 $07 $81 send M0 $04 $47 End if M0 == B0 $07 $80 send M0 $04 $48 End if M0 == B0 $07 $79 send M0 $04 $49 End if M0 == B0 $07 $78 send M0 $04 $50 End if M0 == B0 $07 $77 send M0 $04 $51 End if M0 == B0 $07 $76 send M0 $04 $52 End if M0 == B0 $07 $75 send M0 $04 $53 End if M0 == B0 $07 $74 send M0 $04 $54 End if M0 == B0 $07 $73 send M0 $04 $55 End if M0 == B0 $07 $72 send M0 $04 $56 End if M0 == B0 $07 $71 send M0 $04 $57 End if M0 == B0 $07 $70 send M0 $04 $58 End if M0 == B0 $07 $69 send M0 $04 $59 End if M0 == B0 $07 $68 send M0 $04 $60 End if M0 == B0 $07 $67 send M0 $04 $61 End if M0 == B0 $07 $66 send M0 $04 $63 End if M0 == B0 $07 $65 send M0 $04 $63 End if M0 == B0 $07 $64 send M0 $04 $64 End if M0 == B0 $07 $63 send M0 $04 $65 End if M0 == B0 $07 $62 send M0 $04 $66 End if M0 == B0 $07 $61 send M0 $04 $67 End if M0 == B0 $07 $60 send M0 $04 $68 End if M0 == B0 $07 $59 send M0 $04 $69 End if M0 == B0 $07 $58 send M0 $04 $70 End if M0 == B0 $07 $57 send M0 $04 $71 End if M0 == B0 $07 $56 send M0 $04 $72 End if M0 == B0 $07 $55 send M0 $04 $73 End if M0 == B0 $07 $54 send M0 $04 $74 End if M0 == B0 $07 $53 send M0 $04 $75 End if M0 == B0 $07 $52 send M0 $04 $76 End if M0 == B0 $07 $51 send M0 $04 $77 End if M0 == B0 $07 $50 send M0 $04 $78 End if M0 == B0 $07 $49 send M0 $04 $79 End if M0 == B0 $07 $48 send M0 $04 $80 End if M0 == B0 $07 $47 send M0 $04 $81 End if M0 == B0 $07 $46 send M0 $04 $82 End if M0 == B0 $07 $45 send M0 $04 $83 End if M0 == B0 $07 $44 send M0 $04 $84 End if M0 == B0 $07 $43 send M0 $04 $85 End if M0 == B0 $07 $42 send M0 $04 $86 End if M0 == B0 $07 $41 send M0 $04 $87 End if M0 == B0 $07 $40 send M0 $04 $88 End if M0 == B0 $07 $39 send M0 $04 $89 End if M0 == B0 $07 $38 send M0 $04 $90 End if M0 == B0 $07 $37 send M0 $04 $91 End if M0 == B0 $07 $36 send M0 $04 $92 End if M0 == B0 $07 $35 send M0 $04 $93 End if M0 == B0 $07 $34 send M0 $04 $94 End if M0 == B0 $07 $33 send M0 $04 $95 End if M0 == B0 $07 $32 send M0 $04 $96 End if M0 == B0 $07 $31 send M0 $04 $97 End if M0 == B0 $07 $30 send M0 $04 $98 End if M0 == B0 $07 $29 send M0 $04 $99 End if M0 == B0 $07 $28 send M0 $04 $100 End if M0 == B0 $07 $27 send M0 $04 $101 End if M0 == B0 $07 $26 send M0 $04 $102 End if M0 == B0 $07 $25 send M0 $04 $103 End if M0 == B0 $07 $24 send M0 $04 $104 End if M0 == B0 $07 $23 send M0 $04 $105 End if M0 == B0 $07 $22 send M0 $04 $106 End if M0 == B0 $07 $21 send M0 $04 $107 End if M0 == B0 $07 $20 send M0 $04 $108 End if M0 == B0 $07 $19 send M0 $04 $109 End if M0 == B0 $07 $18 send M0 $04 $110 End if M0 == B0 $07 $17 send M0 $04 $111 End if M0 == B0 $07 $16 send M0 $04 $112 End if M0 == B0 $07 $15 send M0 $04 $113 End if M0 == B0 $07 $14 send M0 $04 $114 End if M0 == B0 $07 $13 send M0 $04 $115 End if M0 == B0 $07 $12 send M0 $04 $116 End if M0 == B0 $07 $11 send M0 $04 $117 End if M0 == B0 $07 $10 send M0 $04 $118 End if M0 == B0 $07 $9 send M0 $04 $119 End if M0 == B0 $07 $8 send M0 $04 $120 End if M0 == B0 $07 $7 send M0 $04 $121 End if M0 == B0 $07 $6 send M0 $04 $122 End if M0 == B0 $07 $5 send M0 $04 $123 End if M0 == B0 $07 $4 send M0 $04 $124 End if M0 == B0 $07 $3 send M0 $04 $125 End if M0 == B0 $07 $2 send M0 $04 $126 End if M0 == B0 $07 $1 send M0 $04 $127 End
|
|
abadam
Developer 
Rotten Apple
Posts: 52
|
Post by abadam on Mar 25, 2022 10:08:14 GMT
could save some typing there!, your script equivalent with a calculation:
if m0 == b0 $07 calc i0 = $128 - m2 send m0 $04 i0 end
|
|
|
Post by gregm on Mar 25, 2022 20:12:20 GMT
Thanks again!
|
|