Skip to content

lennono/Sound-Player-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Sound-Player

The song toto is inserted into a 10 second buffer, using a producer consumer format. There is no downtime when the song is playing

The applet comes with a text area for entering commands.

  • x := End song
  • p := Pause
  • r := Resume
  • m := Mute
  • u := Unmute
  • q := Raise volume
  • a := Lower volume

All commands are fully functional. Any wav file can be used instead, just change the file name in the progra.

To compile the applet: $ javac StudentPlayerApplet.java

To launch the applet: $ appletviewer -J"-Djava.security.policy=all.policy" toto.wav

About

Producer, consumer problem. Creates a 10 second buffer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages