import type { CsoundReference } from './types' // Real-time MIDI:Event Extenders export const realTimeMidiEventExtenders: CsoundReference[] = [ { name: 'lastcycle', type: 'opcode', category: 'Real-time MIDI:Event Extenders', description: 'Indicates whether an event is in its last performance cycle.', syntax: 'kflag = lastcycle()', example: '--8<-- "examples/lastcycle.csd"', parameters: [ { name: 'kflag', description: 'indicates whether the note is in its _last cycle_. (1 if this the last cycle, otherwise 0)', type: 'performance' }, ], seeAlso: ['Event Extenders'] }, { name: 'release', type: 'opcode', category: 'Real-time MIDI:Event Extenders', description: 'Indicates whether a note is in its _release_ stage.', syntax: 'kflag = release()', parameters: [ { name: 'kflag', description: 'indicates whether the note is in its _release_ stage. (1 if a note off is received, otherwise 0)', type: 'performance' }, ], seeAlso: ['Event Extenders'] }, ]