Skip to content

Commit

Permalink
update to use midi file
Browse files Browse the repository at this point in the history
  • Loading branch information
bethrobson committed Sep 16, 2020
1 parent 85fbdc8 commit 174f228
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/headfirst/designpatterns/combined/djview/BeatModel.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
package headfirst.designpatterns.combined.djview;

import javax.sound.midi.*;

import java.io.File;
import java.io.IOException;

import java.util.*;

public class BeatModel implements BeatModelInterface, MetaEventListener {
Sequencer sequencer;
ArrayList<BeatObserver> beatObservers = new ArrayList<BeatObserver>();
ArrayList<BPMObserver> bpmObservers = new ArrayList<BPMObserver>();
List<BeatObserver> beatObservers = new ArrayList<BeatObserver>();
List<BPMObserver> bpmObservers = new ArrayList<BPMObserver>();
int bpm = 90;
Sequence sequence;
Track track;
Expand Down

0 comments on commit 174f228

Please sign in to comment.