Allows multiple Note instances to be loaded up and played via their
identifier
.
Property Summary
Public Properties | |
---|---|
public |
Acts as a register for all the notes in the font. If null on instantiation, set to |
Method Summary
Public Methods | |
---|---|
public |
Gets a note from |
public |
play(identifier)
Plays a note from |
Private Methods | |
---|---|
private |
_initNotes( )
Sets |
Public Properties
addon/classes/font.js:26
public notes: Ember.MutableArray
Acts as a register for all the notes in the font. If null on instantiation,
set to A()
via _initNotes
.
Public Methods
addon/classes/font.js:49
public getNote(identifier): Note
Gets a note from notes
, given it's identifier.
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
identifier | String |
|
The identifier for the note that should be returned, |
Return:
Note
The specified Note instance.
addon/classes/font.js:36
public play(identifier)
Plays a note from notes
, given it's identifier
.
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
identifier | String |
|
The identifier for the note that should be played. |
Private Methods
addon/classes/font.js:64
private _initNotes( )
Sets notes
to A()
if null on instantiation.