Music Modification Examples

Original

----- PHRASE: Original Start time: 0.0 ------

Note: [Pitch = 60][RhythmValue = 0.5]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 55][RhythmValue = 0.25]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 62][RhythmValue = 0.5]

Note: [Pitch = 64][RhythmValue = 0.625]


Transposition

Change the pitch of each note by the same amount

Mod.transpose(phrase, 7);

---- PHRASE: Transposed Start time: 0.0 -----

Note: [Pitch = 67][RhythmValue = 0.5]

Note: [Pitch = 59][RhythmValue = 0.5]

Note: [Pitch = 62][RhythmValue = 0.25]

Note: [Pitch = 64][RhythmValue = 0.25]

Note: [Pitch = 59][RhythmValue = 0.5]

Note: [Pitch = 64][RhythmValue = 0.25]

Note: [Pitch = 69][RhythmValue = 0.5]

Note: [Pitch = 71][RhythmValue = 0.625]


Repeat

Play the phrase again and again

Mod.repeat(phrase, 1);

----- PHRASE: Repeated Start time: 0.0 -----

Note: [Pitch = 60][RhythmValue = 0.5]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 55][RhythmValue = 0.25]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 62][RhythmValue = 0.5]

Note: [Pitch = 64][RhythmValue = 0.625]

Note: [Pitch = 60][RhythmValue = 0.5]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 55][RhythmValue = 0.25]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 62][RhythmValue = 0.5]

Note: [Pitch = 64][RhythmValue = 0.625]


Elongate

Change the length of each note

Mod.elongate(phrase, 2.0);

----- PHRASE: Elongated Start time: 0.0 -----

Note: [Pitch = 60][RhythmValue = 1.0]

Note: [Pitch = 52][RhythmValue = 1.0 ]

Note: [Pitch = 55][RhythmValue = 0.5]

Note: [Pitch = 57][RhythmValue = 0.5]

Note: [Pitch = 52][RhythmValue = 1.0 ]

Note: [Pitch = 57][RhythmValue = 0.5]

Note: [Pitch = 62][RhythmValue = 1.0 ]

Note: [Pitch = 64][RhythmValue = 1.25]


Shuffle

Change the order of the notes

Mod.shuffle(phrase);

----- PHRASE: Shuffle Start time: 0.0 -----

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 57][RhythmValue = 0.25]

Note: [Pitch = 62][RhythmValue = 0.5]

Note: [Pitch = 55][RhythmValue = 0.25]

Note: [Pitch = 52][RhythmValue = 0.5]

Note: [Pitch = 60][RhythmValue = 0.5]

Note: [Pitch = 64][RhythmValue = 0.625]

Note: [Pitch = 52][RhythmValue = 0.5]



J Music Tutorial Index