dguitar.players.sound.midi.demo
Class PlayerDemo
java.lang.Object
dguitar.players.sound.midi.demo.PlayerDemo
- public class PlayerDemo
- extends java.lang.Object
- Author:
- crnash
Field Summary |
private static java.lang.String |
className
|
private static java.util.logging.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
private static java.lang.String className
logger
private static java.util.logging.Logger logger
PlayerDemo
public PlayerDemo()
main
public static void main(java.lang.String[] args)
playerDemo
public static void playerDemo(java.lang.String fileName,
SoundPlayer sp,
LinePrinter out)
- Parameters:
fileName
- sp
- out
-
loadGPToSong
public static Song loadGPToSong(java.lang.String fileName)
throws GPFormatException,
java.io.IOException
- Attempt to load a GP file as a Song.
- Parameters:
fileName
-
- Returns:
- a Song
- Throws:
GPFormatException
java.io.IOException