|
@@ -31,11 +31,9 @@ import { PlaybackSettings } from "../Common/DataObjects/PlaybackSettings";
|
|
|
*/
|
|
|
export class MusicSheet /*implements ISettableMusicSheet, IComparable<MusicSheet>*/ {
|
|
|
constructor() {
|
|
|
- this.playbackSettings = new PlaybackSettings();
|
|
|
- // FIXME?
|
|
|
// initialize SheetPlaybackSetting with default values
|
|
|
- this.playbackSettings.rhythm = new Fraction(4, 4, 0, false);
|
|
|
this.userStartTempoInBPM = 100;
|
|
|
+ this.playbackSettings = new PlaybackSettings(new Fraction(4, 4, 0, false), this.userStartTempoInBPM);
|
|
|
this.pageWidth = 120;
|
|
|
// create MusicPartManager
|
|
|
this.MusicPartManager = new MusicPartManager(this);
|