Interested in getting started right away? This quick start guide will walk through how to create simple melodies in Music Blocks. A melody is comprised of a series of notes. Notes are pitches with specified rhythmic values, and these notes are strung together in patterns to create melody. Melodies can be familiar or unpredictable, simple or complex—the choice is yours.
Here is how the program runs:
“Hello World” is the most basic code that a programmer learns to write. Following is a sample code
written using a programming language:
print "Hello world!"
Output of this program will be printing the text:
Hello world!
.
In this case, the “performer” is the computer. The user has told the computer to “perform” the task of
printing the letters “Hello World” on the screen. The “cue” for the performance is the moment when the
user presses the Return/Enter key, to tell the computer to perform the given script.
Music Blocks works in such the same manner, but with notes and rhythms. Let's start by making one of the
most basic melodies we can, comprised of only three notes—the first three notes of “Hot Cross Buns”!
ti
la
sol
Following shows how to create the other two notes in the second part of the song which should be repeated for four times
sol
la
Following demonstrates how we can use action and repeat blocks to create structure for our melodic material created in the previous section.
Let's put the first three notes together and create the first "chunk" of "Hot cross buns".
In the second part, sol and la notes are repeated using a "duplicate" block.
Finished Code! Below is an overview of the entire process.
Congratulations!!!
You have made your first melody with Music Blocks!
Note value block:![]() |
Note value block is the fundamental block used to create music. It specifies the duration (note value or rhythmic value) of the whatever is inserted inside its clamp (typically one or more Pitch blocks). |
Pitch block:![]() |
Pitch blocks are used inside the Note value blocks to specify a pitch name and pitch octave of a note. The name and octave in combination determine the frequency (and therefore pitch) of the note that is played. (When multiple Pitch blocks are used inside of a Note value block, a chord is played.) |
Start block:![]() |
Every Music Blocks project requires at least one Start block. Any blocks placed inside the clamp of a Start block are played sequentially from top to bottom when either the Start block or the Run button are clicked. If there are multiple Start blocks, all of them will run concurrently when the Run button is clicked. (This is a simple way to play multiple voices at once.). |
Action block:![]() |
The clamp of an Action block contains a sequence of blocks that will only be executed from top
to
bottom when the Action block is referenced by its corresponding named block (See chunk below).
Action blocks are useful for encapsulating phases (“chunks” of notes) of music when composing more complex themes. |
Chunk block:
![]() |
Whenever a new Action block is created, a corresponding named block called “action” is
automatically
created. This block can be used as a reference to the Action block. Whenever an Action block is
created, its named reference block is automatically added to the “Action” palette, where it can
be
selected and used as often as needed.
The name of the action can be changed by changing the label of the Action block, for example, to “chunk”. By this mechanism, you can chose a unique name for each phrase of music (chunk of notes). |
Repeat block:![]() |
When a phase of music needs to be played repeatedly, a Repeat block can be used. No of times to be repeated can be specified by a number. i.e. If there are three rhythm blocks inside the repeat block, and if it specified for 2 repeats, the blocks will be played repeatedly for 2 times (one time all blocks sequentially and again). |
Duplicate block:![]() |
When a certain part of music needs to be duplicated, this block can be used. No of times to be duplicated should be specified by a number. i.e. If there are three rhythm blocks inside the duplicate block, and if it specified for 2 duplicates, each block will be repeated for 2 times, and the blocks will be played sequentially. |
Music blocks has three toolbars, Following shows where they are located: