This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

This sketch demonstrates how to play an internet radio stream with Minim. You load the stream like any other file and then just use play() to start playing it. You can still use the other methods of a Playable object and it shouldn't break anything, but it also won't accomplish much. For example, rewinding streaming audio simply reloads the stream, there's no TIVO-like buffer that is kept. Not all internet radio streams will work in an applet. Another limitation of applets is that they must be signed to be able to access remote hosts. If your applet is running from www.foo.com and you want to access the mp3 stream at www.bar.com, you must sign the applet. If you are just trying to load a file from www.foo.com/file, you shouldn't need to sign it. The stream you are listening to is Limbik Frequencies.

Source code: PlayInternetRadio

Built with Processing