Pure Data / Audio / Ogg
Pure Data is a versatile tool that lets build your interface and your application.
Here, we document the GISS patch to make an audio stream in .ogg format ( patch giss-audio-ogg.pd ).
31/08/2008
Use it!!
Click on the "Pure Data ( Audio Ogg )" icon on the desktop :
Alternatively, you can open a terminal and type the command "/usr/local/pd/bin/start-ogg".
The application should start and the first thing you see is something like this : 
The patch is divided in 3 parts : the upper part containing the sources input : two playlists for .ogg files and a microphone input.
The middle part is the stream configuration part and the lower part lets you start the stream and check its status.
1. the first step is to configure your playlists and prepare your program
You can browse your hard disk using the playlist component ( blue and yellow file browser ), searching for .ogg files on your system.
The playlist component will only show you files with .ogg extensions
you should click on a file in the playlist to start the playback process.
next, depending of the playing mode you choose ( loop, random or continuous ), another track will be played following the rule you chose.
you should adjust the sound volume for each playlist.
you can also use the seek option to move the track forward or backward. The position in the track is measured in seconds.
Next, you should adjust the microphone level : 
In this window you have a VU-meter that indicates you when the input is too loud and will be saturated.
Adjust the level until the VU-meter is reasonably loud ( not in the red section ).
You also have a "mute" button that lets you cut the microphone input anytime you need to do so.
2. the next step is to connect and start streaming
Once you can hear some sounds coming out of your playlists and speak in the stream using the microphone, you can configure your streaming options.
The streaming options window is composed of 3 parts. First, you must fill the server configuration options :
In this window, you have to fill the following information fields, the one noted in red are mandatory, the stream will not work if you don't fill them :
WARNING : it should be an .ogg mountpoint here, if you want to emit in .mp3, use the pure data .mp3 patch
.
WARNING: Pure Data will not show you any cursor in the field boxes, just click in the box and enter your data followed by <return>.
The second window of the stream configuration is the description of your stream :
You can describe your stream with the following information fields that will appears in players meta-data , all informations here are optional :
WARNING: If you want to enter several words in one of these fields, you have to separate the words with underscore : _.
The last part of the stream configuration is the parameters for the quality of your stream :
You can set up parameters here to fine-tune the quality of your stream.
Each time you change one of these parameters, you will need to reconnect your stream to make it effective.
Every parameter has a default value that is an average quality for your stream (64kbps) :
Once you have set all the parameters for your stream ( the only mandatory part is the server configuration window ), you can start streaming using the connection window : 3. the next step is to check that the streaming is working You should also check that your stream is not saturated looking at the VU-meter next to the connection window and try to avoid situations like this adjusting the input levels : Optionally, you can activate the simultaneous recording of your stream at any time. Tips and Tricks
Please send bugs and comments to gissnetwork at gmail dot com , thanks.
Once you have clicked in the connection window, you can check the status window.
You should see a green button and the number of ogg pages emitted increasing like this :
Recording is independent from streaming, you should activate it in the following window :
While you are entering your data, the box should look like this :
Don't forget to end up you data with "return".
Back to main page.