Reply To: MIDI TX Speed on Ctrlr

Home Forums General Panels, Components, Macros MIDI TX Speed on Ctrlr Reply To: MIDI TX Speed on Ctrlr

#118675
lecleto
Participant
  • Topics: 10
  • Replies: 34
  • Total: 44

Thank you Thomas and Dnaldoog!
The problem is solved!
Now I´m just trying adjust the time for best compromise solution.

This worked!

function copyTone()
	
    comboValue = panel:getModulatorByName("COPY-SELECT"):getModulatorValue()

    
    if comboValue==01 then -- Copy T1 to T2

       
        a = panel:getModulatorByName("T1-WAVEGROUP"):getValue() -- get the present value of modulator
        panel:getModulatorByName("T2-WAVEGROUP"):setModulatorValue(a,false,true,false) -- set the same value for this modulator, sending it to the synth
        os.execute(sleep(125))    
        a = panel:getModulatorByName("T1-WAVE-INT"):getValue()
        panel:getModulatorByName("T2-WAVE-INT"):setModulatorValue(a,false,true,false) -- set the same value for this modulator, sending it to the synth
        os.execute(sleep(125))
        a = panel:getModulatorByName("T1-SWITCH"):getValue()
        panel:getModulatorByName("T2-SWITCH"):setModulatorValue(a,false,true,false) -- set the same value for this modulator, sending it to the synth
        os.execute(sleep(125))

One more time, Thanks!

Do NOT follow this link or you will be banned from the site!