silencedetector~ Reference

Outputs a bang if a signal buffer of silence is detected after a note off

silencedetector~

Examples

Inlets

input [signal]

The audio signal that is analyzed for silence. When a full audio of buffer of zero values is detected after a note-off message is sent to the right inlet, the silencedetector~ object will send out a bang. This can be used with the voice object to control the mute state of voices when manually managing polyphony.

midiin [number]

The right inlet accepts formatted MIDI note on and off messages (see midiformat ). When it receives a note-off message, it begins analyzing the audio signal in the left inlet for silence.

Outlets

silence [bang]

Sends out a bang when silence is detected (the right inlet receives a note-off message and the left inlet receives a full audio buffer of silence).

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [signal]

The audio signal that is analyzed for silence. When a full audio of buffer of zero values is detected after a note-off message is sent to the right inlet, the silencedetector~ object will send out a bang. This can be used with the voice object to control the mute state of voices when manually managing polyphony.

midiin [number]

The right inlet accepts formatted MIDI note on and off messages (see midiformat ). When it receives a note-off message, it begins analyzing the audio signal in the left inlet for silence.

See Also

Name Description
adsr~ adsr~
makenote Generate a note-on/note-off pair
midiformat Prepare data in the form of a MIDI message
midiin MIDI input stream
p
voice Report voice index and set mute status