Lecture Summaries class 18
Prepared by: Anthony Larrain
These notes serve as an outline to the lecture, they are not intended to
be complete. Attend class to get more details.
Project 2 and Quiz 2
- Warning Project 2 and Quiz 2 due dates are final. No exceptions, I am serious on this matter.
- After the due date DO NOT modify your files and re-upload them.
- The server keeps track of the last date the file was modified.
- This piece of javascript will tell me when your file was modified.
javascript:alert(document.lastModified)
- Type this in the address bar of the current page in your browser
- If this date exceeds the due date you will receive no credit.
- If you want to keep adding content to your website after the quarter wait until you receive your grade. That is, if there
are no disputes and you are in agreement with your grade.
- Any attempt to modify the files after the due date can result in a grade of F.
- If you modified any of your files for project 1 after the due date, I will discuss this with you individually. You will not be in trouble. Some points may be deducted it depends on the situation. Don't worry about it I will contact you.
- It is only for Quiz2 and Project2 will I consider it cheating if files are modified after the due date
- Do not modify project 1 until you receive a grade. I should will have them graded by Wednesday.
Audio
- Music, voice overs, sound effects etc.. can add value to a website
- They also can be a major distraction.
- Make sure you always give the user the option to play the audio NOT the option to turn it off.
- Sound File Formats:
- .wav Wave, A Wave file is a CD quality, uncompressed audio file format, created by Microsoft.
The standard PC audio file format, also supported by MAC. Large in size will take very long time to load.
- .mid MIDI, Musical Instrument Digital Interface. Very small file size, loads quickly. Not actual audio but instructions about a performance. Sound card must be able to play MIDI.
- .au Audio File. It is supported by all browsers with sound, and all servers.
- .mp3 Standard format for compression of a sound or music on the Internet and home computers.
- Many Many More
- Inserting an audio file into a web page is as simple as creating a link to the audio file.
Suppose I have an audio file called cielito.mp3 in a sub directory of my HTML file called sound,
then the HTML code:
cielito.mp3
will display this in the browser: cielito.mp3
When the user clicks the link, the audio file will download and start playing.
If you want the player to view first, then use the embed tag
Using this code the user would see:
Note: only the type
attribute is required.
- Desktop Audio Players
- Windows Media Player
- Itunes - both MAC and PC
- Real Audio
- A ton more
- Getting Audio into your Computer
- Visit one of the many audio resource centers online:
To download an audio file off the NET, do the same as you did for images. Right Click --> Save Target AS.
Pay attention to the file type.
- From a CD. The processes is called ripping or importing. Desktop Programs like Itunes and Windows Media Player allow you to rip or import from CD to your computer. In class I will give a demo using Itunes.
Itunes, gives you the option to import using various file formats.
- Record it yourself into your computer. Pretty easy to do these days with a modern computer. Need some software, called a sequencer to capture the audio. A microphone or an instrument is plugged into your sound card or an audio interface.
Depending on sound card the signal may need to be boosted before hitting the sound card. If you are interested in this you should consult with me. If the computer in the lab allows for it, I will give a demo.
Sequencing Software
- Audacity, free
- Garage Band, free for MAC
- Magix Deluxe Music Studio, Around $60:00, Best Buy
- CakeWalk Music Creator, Around $40.00, Best Buy
- Pro Tools, Around $500.00, Music Store
- Digital Performer MAC, Around $500.00, Music Store
- Many Many More
Sequencing software along with plug-ins can be used to optimize and add effects to the audio:
- Shorten the clip.
- Fade in and out
- Insert silence
- EQ, modify treble, bass, midrange.
- Reverb and Delay.
- Flange, Phase and Chorus
- Compression, Limiting
Example
Using the above clip Cielito Lindo, I have shortened the clip added some reverb in the middle and faded out.
Last Two Classes
Some ideas for adding more content to your final project. Work on final project