38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import type { CsoundReference } from './types'
|
|
|
|
// Instrument Control:Clock Control
|
|
export const instrumentControlClockControl: CsoundReference[] = [
|
|
{
|
|
name: 'clockoff',
|
|
type: 'opcode',
|
|
category: 'Instrument Control:Clock Control',
|
|
description: 'Stops one of a number of internal clocks.',
|
|
syntax: 'clockoff(inum)',
|
|
example: '--8<-- "examples/clockoff-modern.csd"',
|
|
parameters: [
|
|
{
|
|
name: 'inum',
|
|
description: 'the number of a clock. There are 32 clocks numbered 0 through 31. All other values are mapped to clock number 32.',
|
|
type: 'initialization'
|
|
},
|
|
],
|
|
seeAlso: ['Clock Control']
|
|
},
|
|
{
|
|
name: 'clockon',
|
|
type: 'opcode',
|
|
category: 'Instrument Control:Clock Control',
|
|
description: 'Starts one of a number of internal clocks.',
|
|
syntax: 'clockon(inum)',
|
|
example: '--8<-- "examples/clockon-modern.csd"',
|
|
parameters: [
|
|
{
|
|
name: 'inum',
|
|
description: 'the number of a clock. There are 32 clocks numbered 0 through 31. All other values are mapped to clock number 32.',
|
|
type: 'initialization'
|
|
},
|
|
],
|
|
seeAlso: ['Clock Control']
|
|
},
|
|
]
|