https://github.com/motdotla/chucks
Making music with programming.
https://github.com/motdotla/chucks
Last synced: 7 months ago
JSON representation
Making music with programming.
- Host: GitHub
- URL: https://github.com/motdotla/chucks
- Owner: motdotla
- Created: 2014-05-18T01:33:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-18T19:19:59.000Z (over 11 years ago)
- Last Synced: 2025-01-24T05:09:27.660Z (8 months ago)
- Size: 129 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chucks
## Requirements
Install [chuck](http://chuck.cs.princeton.edu/).
Open terminal.
Create a `hello-sine.ck` file with the following contents.
```
SinOsc s => dac;
0.6 => s.gain;
220 => s.freq;
1 :: second => now;
```Save and close that file.
Open a 2nd terminal. In the 2nd type the following.
```
chuck --loop
```In the first terminal type the following.
```
chuck + hello-sine.ck
```Listen to the sound you created.
Then type the following.
```
chuck - 1
```That will stop the sound.
Congrats, you did your first live musical programming.