Streaming Audio has always been available to the large corporate sites and techies. Now you can use the Hi Fi Audio Stream software to produce your own streaming audio just like the professionals with no knowledge of programming required. Available for the Windows Platform only.
Using the Software
Below is our video to show you how to use the software and also how to embed in a webpage.
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).
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.
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. You can change these parameters to resize the buttons.
Sample
Sample Normal
width=60 height=20.25
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
mp3ss10.htm
mp3ss10d.swf
mp3ss10s.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.
Extra 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.
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.
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.
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.
Here is a video to show you how to allow the media to work without having to use two clicks to authorise delivery of the content. I am not adding it to any of our software yet as the case is still ongoing and many of the large manufacturers such as macromedia, swish etc are also holding off.
MS offer a few work arounds, but all of them involve altering the way the object tag is written to the page, but here is a much easier solution that I came up with:
Create a new javascript file called, say. ieupdate.js containing the 4 lines of code at the end of this post.
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 favourite 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.