what have i done
This commit is contained in:
36
src/lib/csound-reference/real-time-midi-event-extenders.ts
Normal file
36
src/lib/csound-reference/real-time-midi-event-extenders.ts
Normal file
@ -0,0 +1,36 @@
|
||||
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']
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user