English | Español | 日本語 | 中文 | Português


Guide to Programming with Music Blocks

Music Blocks is a programming environment for children interested in music and graphics. It expands upon Turtle Blocks by adding a collection of features relating to pitch and rhythm.

The Turtle Blocks guide is a good place to start learning about the basics. In this guide, we illustrate the musical features by walking the reader through numerous examples.

The Music Blocks basic documentation is also a good resource.

And there is a short Guide to Debugging to help you with your programming.

This guide details the many musical features of the language.

TABLE OF CONTENTS

  1. Getting Started
  2. Making Sounds
  3. Note Value Blocks
  4. Pitch Blocks
  5. Multiple pitches
  6. Rests
  7. Drums
  8. Programming with Music
  9. Actions
  10. Pitch Transformations
    1. Step Pitch Block
    2. Sharps and Flats
    3. Adjusting Transposition
    4. Summary of Pitch Movements
    5. Set Key
    6. Fixed and Movable Pitch Systems
    7. Intervals
      1. Absolute Intervals
      2. Ratio Intervals
    8. Chords
    9. Inversion
    10. Converters
      1. Y to Pitch
      2. Pitch converter
      3. Number to Octave
      4. Number to Pitch
  11. Note Value Transformations
    1. Dotted Notes
    2. Speeding Up and Slowing Down Notes via Mathematical Operations
    3. Repeating Notes
    4. Swinging Notes and Tied Notes
    5. Beat
    6. Staccato and Slur Blocks
    7. Backwards
  12. Other Transformations
    1. Set Volume and Crescendo Blocks
    2. Setting Instrument
    3. Setting Key and Mode
    4. Vibrato, Tremelo, et al.
  13. Voices
  14. Graphics
  15. Interactions
  16. Ensemble
  17. Program Blocks
  18. Widgets
    1. Monitoring Status
    2. Generating groups of Notes
    3. The Phrase Maker
    4. The Rhythm Block
    5. Creating Tuplets
    6. What is a Tuplet?
    7. Using Individual Notes
    8. Using a Scale of Pitches
    9. LEGO Bricks Widget
    10. Generating Rhythms (or How to Make a Drum Machine)
    11. Musical Modes
    12. Changing Meter
    13. The Pitch-Drum Matrix
    14. Exploring Musical Proportions
    15. Generating Arbitrary Pitches
    16. Changing Tempo
    17. Creating Custom Timbres
    18. The Music Keyboard
    19. Changing Temperament
    20. The Oscilloscope
    21. The Sampler
    22. Arpeggio
  19. Beyond Music Blocks
    1. LilyPond (or How to Generate Sheet Music)
    2. Other Exports
    3. The JavaScript Editor
  20. Appendix
    1. Beginner Palette Tables
    2. Advanced Palette Tables

Many of the examples given in the guide have links to code you can run. Look for RUN LIVE links.