Name | createPart( ) |
Syntax | createPart(String partTitle [[,int instrument][,int channel]]); |
Example | Etude e = new Etude(this); e.createPart("piano"); e.createPart("guitar", e.GUITAR); e.createPart("drum", e.HI_HAT, 9); |
Parameters | partTitle:string instrument:int (optional) channel: int (optional) |
Return | none |
Usage | web & application |
Description | Create a new part, the first parameter is the tite of the part, the second and third paramener are optional. The second parameter is the part instrument the default instrument is a piano, the third parameter is the MIDI channel by default it is 0. |