This is an example of how to use a TickRate UGen to control the tick rate of another UGen, in this case a FilePlayer.
A TickRate will tick the UGen patched to it at a rate relative to the normal tick rate. So a TickRate with a value of 1 will simply pass the audio. A TickRate with a value of 2 will tick the incoming twice as fast as normal. If the value of TickRate is ever set to 0 or lower, it will simply generate silence and not tick its incoming UGen at all. This is because there isn't a way to tell a UGen to tick backwards.

author: Damien Di Fede

Source code: brokenRecord

Built with Processing