AudioLoop Op
This op is deprecated!
It will not receive any updatesRepeating trigger for audio
Summary (oneliner)
Creates a looped callback at the specified interval. This can e.g. be used to play notes in other ops. The callback can be started, stopped and scheduled along the Transport's timeline. Every time the event happens, the output-port Time
will be set and Trigger
will be triggered.
- Ops.Extension.Deprecated.Tonejs.AudioLoop
- Extension Op - Visible to all users
- MIT
- Tone.js (Webaudio Library)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
Updates the output-ports Started
and Progress
. This is handy to find out if the loop is playing, connect it e.g. to MainLoop
. As this is not very performant, it is best to not connect this port when you don’t need access to State
and Progress
.
How often the loop should be repeated. If set to 0
it will go on infinitely
How fast the loop should be. 1
is default, 2
is double the speed and so on
Adds a random variation to the scheduled time, so it is a bit more human (inprecise). If set Humanize Time
will be used.
If Humanize
is set to true, a random variation to the scheduled time is added / subtracted, so it is a bit more human (inprecise)
The probably of the callback being invoked. 1
= all callbacks, 0
= no callbacks at all
When along the timeline the loop should start. 0
means at the beginning
Starts the loop at Start Time
When along the timeline the loop should stop. +0
means right now
Stops the loop at Stop Time
The time after which events will be cancel. +0
means right now
Cancel all scheduled events greater than or equal to the Cancel Time
OUTPUT PORTS
Triggers every time the loop has an event
The time the event occurs
true
when the loop is currently playing, false
otherwise. For this value to update you need to connect Update Stare Ports
e.g. to ´MainLoop´.
The current progress in the loop, 0
= at the beginning, 1
= at the end. For this value to update you need to connect Update State Ports
e.g. to ´MainLoop´.