#include "MusimatChapter9.h"
Go to the source code of this file.
Functions | |
MusimatChapter9Section (C091201d) | |
Integer | transpose (Integer p, Integer off) |
Static Void | para1 () |
MusimatChapter9Section | ( | C091201d | ) |
Definition at line 2 of file C091201d.cpp.
References para1().
{ Print("*** Transpose ***"); /***************************************************************************** Transpose The dodecaphonic pitch classes are not tied to any octave. In order to realize music from a tone row, its intervallic content must be translated to actual pitches of the musical scale. One way to do this is to supply a pitch offset that transposes across pitch space (i.e., without lim- iting it just to the range of pitch classes). *****************************************************************************/ para1(); // Step into this function to continue. }
Static Void para1 | ( | ) |
Definition at line 20 of file C091201d.cpp.
{ /***************************************************************************** The C major diatonic scale in the fourth piano octave can then be given as follows: *****************************************************************************/ Print("*** Transposing across pitch space ***"); PitchList Cmaj(C, D, E, F, G, A, B); // define C major scale Print(Cmaj); /***************************************************************************** This prints {C4, D4, E4, F4, G4, A4, B4}. *****************************************************************************/ Cmaj += 4 * 12; Print("Transposed up 4 octaves:", Cmaj); }
Integer transpose | ( | Integer | p, |
Integer | off | ||
) |
Definition at line 16 of file C091201d.cpp.
{ Return(p + off); }