Image Image Image Image Image
Scroll to Top

To Top

code

09

Jan
2014

No Comments

In code

By admin

supercollider async actions with completion messages

On 09, Jan 2014 | No Comments | In code | By admin

Usually async actions in SuperCollider are dealt with the sync message. A sync message is placed in between each group of commands containing an async command which needs to run before some other future command. An alternative to the sync message is to use the completion messages. This is the mechanism used by the Request monad from hsc3-server.

Today I needed to quickly get some code going to record from the input buses of a server to a file on disk, and I decided to chain the commands via completion messages:

Tags |

Submit a Comment