import type { CsoundReference } from './types' // Instrument Control:Duration Control export const instrumentControlDurationControl: CsoundReference[] = [ { name: 'ihold', type: 'opcode', category: 'Instrument Control:Duration Control', description: 'Causes a finite-duration note to become a “held” note.', syntax: 'ihold()', example: '--8<-- "examples/ihold-modern.csd"', parameters: [ { name: 'ihold', description: 'this i-time statement causes a finite-duration note to become a “held” note. It thus has the same effect as a negative p3 ( see score [i Statement](../scoregens/i.md)), except that p3 here remains positive and the instrument reclassifies itself to being held indefinitely. The note can be turned off explicitly with _turnoff_, or its space taken over by another note of the same instrument number (i.e. it is tied into that note). Effective at i-time only; no-op during a _reinit_ pass.', type: 'performance' }, ], seeAlso: ['Duration Control Statements'] }, ]