Mercurial > hg > mep
comparison MidiPlayer.java @ 16:15f3b6d84c81
Comment out some debugging printlns.
author | Marcus Pearce <marcus.pearce@eecs.qmul.ac.uk> |
---|---|
date | Tue, 17 Jan 2012 12:53:53 +0000 |
parents | 5080b65e6963 |
children | 5c54f5213f3d |
comparison
equal
deleted
inserted
replaced
15:dec8e537cbf8 | 16:15f3b6d84c81 |
---|---|
1 /*============================================================================= | 1 /*============================================================================= |
2 * File: MidiPlayer.java | 2 * File: MidiPlayer.java |
3 * Author: Marcus Pearce <m.pearce@gold.ac.uk> | 3 * Author: Marcus Pearce <m.pearce@gold.ac.uk> |
4 * Created: <2007-02-14 12:13:56 marcusp> | 4 * Created: <2007-02-14 12:13:56 marcusp> |
5 * Time-stamp: <2010-11-18 11:01:56 marcusp> | 5 * Time-stamp: <2011-11-15 16:52:06 marcusp> |
6 *============================================================================= | 6 *============================================================================= |
7 */ | 7 */ |
8 | 8 |
9 /* | 9 /* |
10 * Based on: | 10 * Based on: |
294 return sequence.getMicrosecondLength(); | 294 return sequence.getMicrosecondLength(); |
295 } | 295 } |
296 | 296 |
297 /* play the midi file */ | 297 /* play the midi file */ |
298 public void play() { | 298 public void play() { |
299 //System.out.println("MidiPlayer.play: run sequencer.start()."); | |
299 sequencer.start(); | 300 sequencer.start(); |
300 } | 301 } |
301 | 302 |
302 public void stop() { | 303 public void stop() { |
303 if (synthesizer != null) { | 304 if (synthesizer != null) { |