Plugin : JSMIDIparser

Author:Rex.Rainbow

Download

Properties

Beat period

  • Beat period, in seconds.

Octave offset

  • Octave offset for pitch key.

Actions

0. Load & Convert

Action:Load & Convert midi

  • Load & Convert midi to JSON object.
    • URL ( string ) : URL of midi file.

Control

Action:Start

  • Start playing notes with current loaded JSON object.

Action:Stop

  • Stop playing notes.

Action:Pause

  • Pause playing notes.

Action:Resume

  • Resume playing notes.

Expressions

For each

Expression:LoopIndex

  • Current loop index in for each loop.

Midi

Expression:Midi2JSON

  • Midi in JSON.

Expression:EndTime

  • End time of current midi, in seconds.

Note

Expression:CurPitch

  • Get current playing pitch of note.

Expression:CurVelocity

  • Get current playing velocity of note.

Expression:CurPitchKey

  • Get current playing pitch key of note.

Expression:CurTick

  • Get current time of playing a note, in ticks.

Expression:CurDuration

  • Get current duration of playing a note, in seconds.

Expression:CurDurationTick

  • Get current duration of playing a note, in ticls.

Expression:CurTime

  • Get current time of playing a note, in second.

Expression:CurChannel

  • Get current channel of note.

Expression:CurTrackID

  • Get current track ID of note.

Note - pitch

Expression:CurPitchKeyName

  • Get current playing pitch key name of note.

Expression:CurPitchKeyOctave

  • Get current playing pitch's octave of note.

Conditions

Convert

Condition:On convert completed

  • Triggered when convert completed.

Condition:On convert error

  • Triggered when convert error.

For each

Condition:For each note

  • Repeat the event for each note.

Note

Condition:On note on

  • Triggered when note on.

Condition:On note off

  • Triggered when note off.

Condition:Compare current channel

  • Compare current channel of note.
    • Comparison ( cmp ) : Choose the way to compare the current channel.
    • Channel ( number ) : The channel, to compare to.

Condition:Compare current track ID

  • Compare current track ID of note.
    • Comparison ( cmp ) : Choose the way to compare the current track.
    • Track ID ( number ) : The track ID, to compare to.

Play

Condition:Is playing

  • Is playing.

Condition:On ended

  • Triggered when playing ended.