Hey guys! I play bass gtr in my band (a trio) and i use midi bass to trigger a guitar vst to play a second rhythm guitar when the guitarist does a lead or a solo. I want my vst to basically play a power chor based off the note i’m playing on the bass. I used to easily do that in logic pro with the midi environment but i was forced to swith to Garageband and it doesn’t have that function. I know it’s programmable in the harmonizer function inside midi bass but i have no idea how to write the code. I basically need midi bass to output 3 midi notes from what i’m playing. The root, the fith (+7) and the octave above (+12). Can anybody help me do that?
-- COPY START
-- POWER CHORD
function OnNote(channel, pitch, velocity)
Note(channel, pitch, velocity)
Note(channel, pitch+7, velocity)
Note(channel, pitch+12, velocity)
end
function OnControl(channel, incc, value)
Control(channel, cc, value)
end
function OnFrame(notes)
end
function OnAfterTouch(channel, pitch, velocity)
AfterTouch(channel, pitch, velocity)
end
function OnStart(info)
info.description = "Powerchord"
--info.link = "jamor"
--Knob("cc", 0, 1,120, 1) —
Text(0,"Powerchord")
end
--COPY END
3 Likes
This is perfect and works like a charm! Thank you sooooo much!
1 Like