[JW Lua] JW Lua to change pitch wheel value

Chris marcel.denio at gmail.com
Tue Dec 10 09:29:59 CET 2019


Hello Undoaudio

Here is an idea that could serve you as a basis

---------------
local musicregion = finale.FCMusicRegion()
musicregion:SetCurrentSelection()
if musicregion:IsEmpty() then return end
local midiexpressions = finale.FCMidiExpressions()
midiexpressions:LoadAllForRegion(musicregion)

for me in each(midiexpressions) do
     if me:IsPitchWheel() then
         -- Do something with 'me' here
     end
end
---------------

best regards

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20191210/9860e11c/attachment.htm>


More information about the JWLua mailing list