Up
Index of class methods
A
advance
[
MIDI.IO.Writer.t
]
C
channels
[
Audio.IO.Reader.t
]
Number of channels.
close
[
Video.IO.Writer.t
]
close
[
Video.IO.Reader.t
]
close
[
Audio.IO.RW.t
]
close
[
Audio.IO.Writer.t
]
close
[
Audio.IO.Reader.t
]
Close the file.
close
[
MIDI.IO.Writer.t
]
close
[
MIDI.IO.Reader.t
]
Close the stream.
D
dead
[
Audio.Generator.t
]
dead
[
Audio.Mono.Generator.t
]
Is the generator still producing sound? This should become false soon after release has been triggered.
duration
[
Audio.IO.Reader.t
]
Duration in samples.
duration_time
[
Audio.IO.Reader.t
]
Duration in seconds.
F
fill
[
Audio.Generator.t
]
fill
[
Audio.Mono.Generator.t
]
Fill a buffer with generated sound.
fill_add
[
Synth.t
]
Fill a buffer with synthesized data adding to the original data of the buffer.
fill_add
[
Audio.Generator.t
]
fill_add
[
Audio.Mono.Generator.t
]
Same as
fill
but adds the sound to the buffer.
frame_rate
[
Video.IO.Reader.t
]
Number of frames per second.
H
height
[
Video.IO.Reader.t
]
I
io_read
[
Audio.IO.RW.bufferized
]
io_write
[
Audio.IO.RW.bufferized
]
N
note_off
[
Synth.t
]
Stop playing a note.
note_off
[
MIDI.IO.Writer.t
]
note_on
[
Synth.t
]
Play a note.
note_on
[
MIDI.IO.Writer.t
]
P
play
[
Synth.t
]
Synthesize into an audio buffer.
play
[
Synth.Multitrack.t
]
Synthesize into an audio buffer.
play_add
[
Synth.t
]
Same as
play
but keeps data originally present in the buffer.
play_add
[
Synth.Multitrack.t
]
Same as
play
but keeps data originally present in the buffer.
process
[
Audio.Effect.t
]
Apply the effect on a buffer.
process
[
Audio.Mono.Effect.t
]
put
[
MIDI.IO.Writer.t
]
R
read
[
Video.IO.Reader.t
]
Read a given number of frames.
read
[
Audio.IO.RW.t
]
read
[
Audio.IO.RW.bufferized
]
read
[
Audio.IO.Reader.t
]
read
[
MIDI.IO.Reader.t
]
Read data at with given samplerate for events, in a given track, with a given length in samples.
release
[
Audio.Generator.t
]
release
[
Audio.Mono.Generator.t
]
Release the generator (used for generator with envelopes).
reset
[
Synth.t
]
Reset the synthesizer (sets all notes off in particular).
reset
[
Audio.Effect.compress
]
S
sample_rate
[
Audio.IO.Reader.t
]
Sample rate in samples per second.
seek
[
Audio.IO.Reader.t
]
Seek to a given sample.
set_attack
[
Audio.Effect.compress
]
set_delay
[
Audio.Effect.delay_t
]
set_feedback
[
Audio.Effect.delay_t
]
set_frequency
[
Audio.Generator.t
]
set_frequency
[
Audio.Mono.Generator.t
]
set_gain
[
Audio.Effect.compress
]
set_knee
[
Audio.Effect.compress
]
set_ratio
[
Audio.Effect.compress
]
set_release
[
Audio.Effect.compress
]
set_threshold
[
Audio.Effect.compress
]
set_volume
[
Synth.t
]
Set the global volume of the synth.
set_volume
[
Audio.Generator.t
]
set_volume
[
Audio.Mono.Generator.t
]
W
width
[
Video.IO.Reader.t
]
write
[
Video.IO.Writer.t
]
write
[
Audio.IO.RW.t
]
write
[
Audio.IO.RW.bufferized
]
write
[
Audio.IO.Writer.t
]