What is a controller:
With
MP3
Sound Stream program you can
stream audio invisibly from your website, the audio just plays when the page is
loaded, but usually you will want to give your visitors control over the
streaming.
MP3
Sound Stream,
HIFI
Audio Stream and
MSI Jukebox software comes preloaded with a variety of
controllers - small Flash movies containing buttons
that launch and stop the streaming. Some of them offer extra features such as
pause, fast forward, rewind, even seeking to a position in the track and volume
control!
Controllers (Buttons)
Standard set: This set is supplied with the program. Quite a varied selection. Click the link below to check them out. Note there are 47 of them and the page might take a while to download. You would probably not normally have this many audio tracks on a page, but it is possible.
Note: This standard set of controllers comes pre-installed in your software
Extra set 1: This includes some nice pastel shaded dished buttons (requested by one of our customers), and a kind of show case button that spins in 3D when it is playing.
Extra set 2: This set has a controller that was written by one of our customers. The programs help gives some instructions on how to do this (for the adventurous). This set also has some buttons with speaker pictures on them, designed by one of our customers.
Extra set 3: This group of controllers (buttons) are mainly found on business and marketing sites. They are square pastel buttons with a play pause and stop button.
How to install: Simply unzip all contents of the file into the programs "Controllers" folder.
IMPORTANT NOTE: You will need MP3ss version 1.25 or above to use the extra controllers. This is because in version 1.27 a change to streaming/controllers was made to allow audio files up to a length of 4 hours 26 minutes to be used.
Compression Standards
The MP3 standard only supports certain rates and certain combinations of rates. Also Flash can only play three of the sample rates correctly (the standard has about 8). Also if we go above bitrate 192kbs (which sounds nearly like wav quality) then the maximum playtime gets too short so we should stop at 192. Also LAME does not do every rate (but most of them). Hi Fi Audio Stream is set up for all of them for you.
Bitrates :
8,16,24,32,40,48,56,64,80,96,112,128,144,160,192 kbs
Channels:
1 - Mono
2 - Stereo
Sample rates:
11025, 22050, 44100 Hz
Then you should validate:
11025 can only be used with 8 to 64 inclusive
22050 can only be used with 8 to 160 inclusive
44100 can only be used with 32 upwards
Yes it will only convert up to 16000 frames, anything after that will be omitted. 16000 frames at 1 frame a second is 4 hours 26 mins long. The 16000 limit is a Flash limit.
How to reduce controllers (buttons): When you first load your program it will set up a folder called controllers. Many people will not use all the different controllers so you can set up another folder called unused controllers and move all the controllers you do not use into this folder.
If you want to use them in the future then just move them back into the original folder. This means when you use the options and the controller choice for your project then only the controllers you have left in the controller folder will be able to be selected. Similarly if you download the additional controllers just unzip them into your controllers folder.
Adjusting the size of controllers (buttons): The html created by HiFi Audio Stream contains the sizes of the Flash movies. The sizes are there twice, once for Internet Explorer and once for Netscape and other browsers. You can change these parameters to resize the buttons.
Sample
Sample Normal
width=80 height=27
Sample at 75%
width=60 height=20.25
This is a controller with the sizes doubled.
Bagdad Bogie
width=260 height=64
Renaming the files: Here is how you rename files so they work. You must leave the extension on the end.
My three files were
hifias10.htm
hifias10d.swf
hifias10s.swf
I reanmed them to
test.htm
testd.swf
tests.swf
Notice I left the s and the d on the end as these tell how the controller etc works. You will also need to change the names inside the htm file to correspond with your file name changes.
Here is a video to show you how to allow the media to work without having to use two clicks to authorize delivery of the content. I am not adding it to any of our software as many businesses have requested us not to as their clients want to choose whether to allow it or not.
Create a new javascript file called, say. ieupdate.js containing the 4 lines of code at the end of this post or use this one. Here is your ieupdate.js if you just want to download it.
Then, at the bottom of any page containing Flash (or Shockwave, Quicktime etc) add a reference to this file: <script type="text/javascript" src="ieupdate.js"></script>
And that is it!
It works simply by replacing the contents of the object tag with itself. This external rewritting of the tag is enough for IE accept that your code doesn't require user activation. The outerHTML feature only works in IE, but as IE is the only affected browser that is OK.
You could test for IE using your favorite method (document.all, etc), and instead of adding it to the bottom of the page you could add the code to a window.onload function, depending whatever is best for your site.
If users have JavaScript turned off then your site will work as before.