pharo-chuck-demo

Details

Source
GitHub
Dialect
pharo (25% confidence)
Created
March 12, 2026
Updated
March 12, 2026

README excerpt

## Demo

By running the following commands in a **Pharo Playground**, this prototype demonstrates a minimal integration where Pharo dynamically generates **ChucK scripts** and executes them through the **ChucK runtime**.

This shows that **Pharo can control audio synthesis via ChucK**.

You may copy the listed 3 commands in the playground section and can hear the sound after setting up pharo and chuck inside your system .




```smalltalk
ChuckVM new run: '
SinOsc s => dac;
440 => s.freq;
5::second => now;
'.

vm := ChuckVM new.
vm playFrequency: 440.
vm playFrequency: 660.
vm playFrequency: 880.

vm := ChuckVM new.
vm playNote: 440 duration: 1.
vm playNote: 660 duration: 1.
vm playNote: 880 duration: 1.



← Back to results