List of Listings
Chapter 1. Basics: sound, waves, and ChucK programming
Listing 1.3. Using comments to document code and control execution
Listing 1.4. Defining and using an integer variable
Listing 1.5. Initializing an integer as it’s declared
Listing 1.6. Doing math with integers
Listing 1.7. Shorthand math: multiply, subtract, and ChucK in one step!
Listing 1.8. Playing notes with integer variables
Listing 1.9. Using and manipulating float variables
Listing 1.10. Twinkle with floats
Listing 1.11. Twinkle with dur variables
Listing 1.12. Random triangle wave music
Listing 1.13. If statement example
Listing 1.14. if/else code example
Get Programming for Musicians and Digital Artists now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.