Noatikl User Guide


View: Voice - Scripts

< back | next >

This view allows you to embed small Trigger Scripts, which are small bits of code in the widely Lua language, that are triggered when various events happen when Noatikl is playing. Using trigger scripts allows you to tell Noatikl to behave in very powerful ways while it is playing.

Name

The name of the Voice.

Mute

The Mute parameter.

Start

Press this button to show the Start trigger script in the Script Editor window.

The Start Trigger Script is called once at the start of the Piece, when the piece starts playing.

function nt_trigger_start()
  print ("Voice start!")
end

Bar

Press this button to show the Bar trigger script in the Script Editor window.

The Bar Trigger Script is called at the start of every bar while the piece is playing.

function nt_trigger_bar(bar)
  print ("Voice Bar number", bar)
end
  

Composed

Press this button to show the Composed trigger script in the Script Editor window.

The Composed Script is called when Noatikl composes a note. Use this to emit MIDI CC events and what have you!

function nt_trigger_composed(noteon, channel, pitch, velocity)
  print ("Voice Composed", noteon, channel, pitch, velocity)
end
  

MIDI In CC

Press this button to show the MIDI In CC trigger script in the Script Editor window.

The MIDI In CC Trigger Script is called whenever a MIDI CC event is received by the MIDI Input device.

function nt_trigger_midiin_cc(channel, cc, value)
  print ("Voice MIDI In CC", channel, cc, value)
end
  

MIDI In Note

Press this button to show the MIDI In Note trigger script in the Script Editor window.

The MIDI In Note Trigger Script is called whenever a MIDI Note On or Off event is received by the MIDI Input device.

function nt_trigger_midiin_note(noteon, channel, pitch, velocity)
  print ("Voice MIDI In note ", noteon, channel, pitch, velocity)
end
  

Stop

Press this button to show the Stop trigger script in the Script Editor window.

The Stop Trigger Script is called once at the end of the Piece, just as the Piece stops playing.

  function nt_trigger_stop()
    print ("Piece stop!")
  end
  

See Also

© 2008 Intermorphic Ltd. All rights reserved.