Educational CyberPlayGround ®

Learn how to Embed and add Sound to your Webpage and Webite

How to embed anything into your website

Insert Code Get Media onto Your Website

</head>
<BGSOUND SRC="yoursound.wav">

<embed autostart="true" src="filename.wav" loop="false" height="90" width="150" hidden="false" volume="100">

or

<A HREF="filename.mp3">YOURSOUND</A>
or

<EMBED SRC="filename.mid" AUTOSTART="FALSE" CONTROLS="CONSOLE" WIDTH= "144" HEIGHT="15">

or

<A>HREF="yoursound.wav"> Name of Song (YOUR SOUND)</A>

Deprecated in HTML5. Do not use. embed loop= What does embed loop="" do? See it done

TOOLS

Audiobubble Audiobubble isn't your average online music store. We don't use DRM because we know it isn't consumer friendly. Shame that Napster, iTunes and other online music giants can't wake up to this fact. Audiobubble is about freedom. Join the revolution! The only information asked for during signup was email, username and password. Payment is handled through PayPal.
Other online stores that sell music files without DRM: Magnatune, Bleep, Mindawn, Audio Lunchbox.

Eric Garland, chief executive of Big Champagne, tracks Internet "file sharing" in the United States and overseas.

Instead of using the mp3 compression format you could use the patent-free OGG Vorbis codec instead:http://www.vorbis.com/

More and more hardware players support the Vorbis format:
http://wiki.xiph.org/VorbisHardware

If you prefer lossless compression, there is the FLAC format:
http://flac.sourceforge.net/

mp3 and Streaming - Remember, in reality, if you really want to copy audio off the web, just plug a mini-disc recorder into the sound card and press record.

RIPPING

Digital Audio Extraction = DAE aka ripping:
Process of copying audio data directly from a CD. Because the data bypasses the sound card, ripping normally results in perfect copies with no additional noise or loss of fidelity. Watch the VIDEO
Learn to Rip audio cd tracks to wmv format for powerpoint presentations. Create a file on to hard drive embed and decrease file size.

Ripping and EnCoding CD Audio


Ripping Guide

Having your music and video in digital form has many benefits, including smaller physical size and portability, easier backup for archival purposes, and use for playback on an iPod, Zune, mobile phone, or other portable media player. If you have a library of CDs, don't despair; it's fairly easy to get all your music into a format that works best for you.


Understanding the Formats

Here's a rundown of the most popular and widespread digital music formats in use today:

1. MP3: This is the most popular format, by far, because it can be played on almost all players, including the Zune and iPod. It's easy and fast to convert CD tracks into this format. MP3 has no copy protection system.

2. AAC: Most of the music sold at the iTunes Store is in the AAC format with FairPlay copy protection, which means it can only be played only on your iPod or authorized computer. iTunes can quickly convert your CDs into the AAC format, but without the copy protection. iPods and many other devices will play unprotected AAC files.

3. WMA: The Zune Store sells WMA files with copy protection that only works on the Zune. Most of the other portable player manufacturers, including Archos, Cowon, Creative, iRiver, Samsung, SanDisk, and Toshiba, have standardized on PlaysForSure, which is a different method of WMA copy protection. These players, including the Zune, will play unprotected WMA files, too.

4. CDDA: This is the uncompressed, high-bandwidth format used to create CDs. Music in this format can be quickly copied from a CD, but it will start to fill up your hard drive just as quickly. That's why people choose MP3, AAC, or WMA to compress their digital music into smaller file sizes that retain most of the original quality of an CDDA file. Like MP3, CDDA has no copy protection.

Although all of these formats will play on your computer, be sure to check that the files you have will work on the specific player you have, or plan on purchasing.


Ripping CDs

Buying CDs is still a great way to own high-quality music that you can keep safe and secure on your shelf. (Instant backup, as it were, and nearly the best fidelity available.) After you've purchased a CD , you can quickly and easily "rip" them, or copy them onto your computer, by using software such as Apple's iTunes or Microsoft Windows Media Player.

The process is a cinch: Insert the CD into your computer and click a button. Depending on the speed of your computer, it takes about five minutes to rip a CD. If you have an Internet connection, the album and song names will be automatically inputted when you insert the CD. Choose MP3, WMA, or AAC at a quality setting--often referred to as "bitrate"--that provides the right balance of music quality and file size for you.

Step One

How torip iTunes CD Ripping Guide

How to rip your CDs using Windows Media Player 11


Getting Media onto Your Device

After you have the songs and video on your computer, you can transfer them onto your portable media player for listening and viewing on the go. Using the software included with your media player or mobile phone, such as iTunes for the iPod or the Zune software for Zune, transferring the files from your computer onto your player is as simple as connecting a cable and choosing which songs and videos you want to transfer.


ENCODE - ADDING SOUND

Convert from wav to mp3
www.mp3machine.com
www.pure-mac.com/mp3.html

Encode using the "lame" encoder (known as the best-sounding MP3 encoder) using their "preset standard" settings, which are their very optimized best-bang-per-byte settings.
VBR which means the bitrate adjusts to the music. If, for example, it's just a bass drum for a bar, the bitrate doesn't need to be as high there, but if it's full of cymbals for a while, the bitrate can go up to 220kbps or so.

STREAMING

Streaming Content Locate Royalty Free images which are inexpensive.

Streaming - Understand Bit Rate

Convert standard wav files with RealEncoder to streaming RealAudio files. You can download the encoder here. You don't need a RealServer to stream your audio. Just create a file in Notepad or SimpleText that has the URL of your media clip, and save it with a .ram extension.

Save this file as yourfile.ra, and now build a file called yourfile.ram which has only the following code in it:

http://www.yourdomain.thefile.ra, it needs to be the exact address of thefile.ra.
To add a link for viewers to click on, you link to the .ram file. To have this file automatically start, you can add a meta tag in your <head> section, usually after the <title></title>:
<title>yourtitle</title>
<meta http-equiv="refresh"; CONTENT="2;URL=thefile.ram">
where the number 2 is the number of seconds before starting.

When you click a link to that .ram file, it will start streaming over http.

Http streaming can be done with a .m3u file, which is the same as the .ram file.

FILE COMPRESSION

Learn about Advanced Audio Coding AAC
You might consider FM or telephone quality mp3--you can encode at 24 kbps, 22,050 Hz and get decent quality for the size.

Analog audio: voltage represents the pressure of sound waves (air molecules)

Digital Audio: a sampling of the sound waves at regular intervals (thousands of times per second) with the results binary numbers

Digital Audio Formats
Type Extensions
AIFF .aif, .aiff
AU (Sun/Next) .au
CD audio N/A
MP3 .mp3
Window Media Audio .wma
Quicktime .qt
Real Audio/ Real Media .ra, .ram, .rm
WAV .wav
One Minute Audio File Sizes
Dynamic range Sampling rate # of channels File Size
16 bit 44 Khz Stereo 10.5 MB
16 bit 44 Khz Mono 5.3 MB
16 bit 22 Khz Stereo 5.3 MB
16 bit 22 Khz Mono 2.6 MB
16 bit 11 Khz Stereo 2.6 MB
16 bit 11 Khz Mono 1.3 MB
8 bit 44 Khz Stereo 5.3 MB
8 bit 44 Khz Mono 2.6 MB
8 bit 22 Khz Stereo 2.6 MB
8 bit 22 Khz Mono 1.3 MB
8 bit 11 Khz Stereo 1.3 MB
8 bit 11 Khz Mono .65 MB

iPod and iTunes Hacks
Tips and Tools for Ripping, Mixing and Burning

By Hadley Stern

Read an excerpt from this book on Digital Media:

m3u

m3u files are simply text files...no audio inside of them! So, when you download an m3u file, you are downloading a playlist for music that could be stored on the Web.
How to download the list of music in m3u files as MP3 files.
Download VLC Media Player on all platforms Mac, Win, Linux
Use VLC Media Player's built-in wizard.
1) Run VLC Media Player
2) Go to FILE: WIZARD
3) Choose Transcode/Save to File
4) Click NEXT
5) Click Choose
6) Flip to the NETWORK tab and then choose HTTP/HTTPS/FTP/MMS and paste in the address, for example, "http://he3.magnatune.com/all/01-Medicine%20Wheel-Suzanne%20Teng.mp3"
7) Click OK then NEXT
8) Choose TRANSCODE AUDIO then choose your preferred output format (e.g. VORBIS for OGG files or MP3)
9) Choose Bitrate desired (64 works fine)
10) Click NEXT then NEXT again at the Encapsulation Format window
11) Type in the path to save the file to and the filename (you can browse to the desired directory if you like)
12) Click FINISH