cables is under heavy development.
There might be one or another bug, please let us know about it!

op id:20637fe6-6567-4396-bc22-fa14bcbb853b
Starts the web audio context on iOS / Chrome

summary (oneliner)

On iOS / Chrome (starting April 2018) you cannot play a sound unless the playback was initiated by a user interaction (touch).
Using this op the first touch on one of the selectors (the whole patch per default) starts the audio context and therefore allows you to play sounds on iOS.

Uses by Yotam Mann.



youtube id


related ops


Use Custom Selector (Number)

Whether or not to to use custom selector(s), if not the canvas is used

Selectors (Number)

Selectors of the HTML DOM elements which start the audio context (separated by spaces, e.g. '#myButton .otherButtons'). Per default this is the whole patch – #glcanvas


Is Ready (Number)

Once the audio context has been started (and it is therefore save to play sounds) this becomes true


  • Uses library: StartAudioContext (Starts the Web Audio API's AudioContext on an explicit user action.)
  • Op author: tim

Caught a mistake or want to contribute to the documentation?

Edit this documentcancel save


fixed - removed a user op from tim which was causing the patch to not load for users
andro, 11 February 2019

Examples using StartAudioContext

Public Patches using StartAudioContext