|
Category Archives: PIR News
Flash Audio: Streaming MP3’s in Flash
This tutorial will shortly explain the importance of the loadSound method. This method is used when you want to load external MP3 files. Here is the syntax:
public loadSound(url:String, isStreaming:Boolean) : Void
Let’s see how it works!
As I already said, this loads an MP3 file into the Sound object you created. The parametar isStreaming is interesting. You can use it to indicate whether the sound is an event or a streaming sound.
Just like it is the case with every sound, event sounds must be completely loaded before they play. They are managed by the ActionScript Sound class and respond to all methods and properties of this class.
Streaming sounds play while they are downloading. Playback begins when sufficient data has been received to start the decompressor.
All MP3s (event or streaming) loaded with this method are saved in the browser’s file cache on the user’s system. Here is the overview of the two parameteres:
url:String – The location on a server of an MP3 sound file.
isStreaming:Boolean – A Boolean value that indicates whether the sound is a streaming sound (true) or an event sound (false).
Let’s create an example!
Open up a new Flash document. Place an input text field onto the stage (Image 1).
Give it an instance name songName_txt (Image 2).
Add a simple button besides the text field and give it the instance name startSound_btn.(Image 3)
Ok, now add an additional layer and name it „Actions“. Rename the layer with the text field at the botton to „Text Field“ (Image 4).
Make sure you have MP3 tracks in the same folder where the Flash movie resides.
Select the first frame of the layer Actions and add the following ActionScript:
var soundToLoad:Sound = new Sound();
startSound_btn.onRelease = function () {
var song = songName_txt.text;
soundToLoad.loadSound(song, true);
}
soundToLoad.onLoad = function () {
this.start(0, 1);
}
Test the movie. Type in the name of one of your tracks and press the start button. The mp3 file should load and play!
Tropical Sounds from Hawaii
Last month we returned from our 6 week long journey through the Hawaiian islands, as well as vacationing we were recording sounds, taking video and of course swimming and boogie boarding.
I am back in the studio now and am starting to edit the collection of nature sounds we recorded while we wandering around in Maui, Kauai, Hawaii (the big island) and Ohau. The recordings are turning out surprisingly well I think.
Check out the tropical sounds on freesoundeffects.com and I’ll probably make a few more relaxation CDs with some of these sounds.
If you need some quick free jungle sound effects for an educational or personal projects you can download them for free here.
Download this Free Royalty Free Christmas Track
Partners In Rhyme is offering this rendition of O Come All Ye Faithful for free royalty free use for any of your personal or commercial Christmas projects.
O Come All Ye Faithful (right-click on this link to download)
We also have renditions of all the Christmas favorites in a wide variety of styles and genres. Here is a handy list of links our collection a royalty free Christmas tracks sorted by title:
Hope this list helps you with your Christmas multimedia projects.
Let me know if you have any questions.
-Mark
Horror Music and Sound Effects for Halloween
Boo! It’s that time of year again for multimedia producers to start thinking about Halloween and getting together their resources for their scary projects and horrorific zombie movies. I put together a list here of all Partners In Rhyme’s paid for and free resources for spooky, scary and horror sound effects and music tracks. Check everything out and when you get to the bottom of the list you will see this year’s Halloween sound effects gift pack for you to download and use in your commercial projects, no strings attached. |
||
Horror!
A royalty free collection of horror background music, horror hits and scary sound effects… |
Horror Music
16 full length tracks of horror music in a variety of styles including orhestral, jazz and electronic textures… |
|
Dreams and Nightmares
This royalty free music collection contains 33 full length tracks of disturbing and edgy music beds… |
Modern Horror Music
This collection contains 21 full length tracks of modern horror music. .. |
|
Horror and Suspense
There are 14 full length horror music tracks in this superb collection from Jason Livesay… |
Classic Horror Music
There are 40 full length tracks of classic 70’s style horror music in this royalty free music collection… |
|
Film Music: Suspense
The tension builds as anxiety and fear sweep through the audience. If you need the perfect music for those suspensful moments in your produc.. |
Mystery & Suspense
Mysterious pads and voices, exotic percussion and instruments fill this royalty free music collection called Mystery and Suspense… |
|
Spy Music Vol 2
This collection contains 10 full length tracks of modern spy music plus edit and loops to go with each of the tracks to help you with your |
Spy Music
Spies and secret agents, criminals and car chases. If these types of things are in your scenes then you need to hear this collection… |
Aliens!
The sound effects of aliens from outerspace. Aliens breathing, Aliens growling, aliens communicating. |
Horror Ambience
Sci-fi and alien ambience and soundscapes. Robots and aliens, Monsters screaming and dying, |
|
Horror Accents
Whooshes and blasts, sci fi, production elements, horror accents, alien and spaceship accents, outer space… |
Human Body Fall
Sounds of human bodies falling onto the floor after whatever happens to them in the… |
|
Human Body Hits
Face punches and squishy guts as bodies are being punched and pummeled |
Breaking Bones!
Bones cracking adn snapping as the evildoers do their business to their victims. |
|
Monsters!
Roars, snarls, growls, lots of monsters and creatures making noises. |
Scary Sound Effects Collection
Download lots of scary sound effects for one low price. |
Trailer Hit – Hard & Low
Powerful orchestral hit. Percussion only. Typical sonic boom used in many movie trailers. |
Revisitation
Short track with eastern ethnic intro. Gradual building classical ambience with femal choral vocals providing the… |
|
Darkest Dawn
Heavy beats from exotic percussion place you in dangerous territory with this mid-tempo cut. |
Trailer style hits and impacts
A Collection of movie trailer style huge hits and impact sounds |
|
Shadows
eerie, suspenseful, scary, atmospheric, horror, sci-fi, mystery, space, outer limits, otherworldly.mist, haunted, aliens |
Heavy Water
Don’t look behind you! A very dramatic piece. Wave upon wave of synths and sequences |
|
In D pocket
Spy vs. spy. intrigue, stealing, mistery and hiding. Deep and intense track with a laid back groove. |
I am Afraid
A hostile and unwelcoming landscape of sound, that instantly sets an eerie mood |
|
Island fever
Action, suspense and excitement!!! Big drums and a full string section for in this intense track. |
The Knife
A track tailored for use in cinematic trailers, slow buildup of tension at first, then a huge climactic explosion… |
Scary, Horror Sound Effects
Powerful orchestral hit. Percussion only. Typical sonic boom used in many movie trailers. |
Screams, Moans and Laughs
Short track with eastern ethnic intro. Gradual building classical ambience with femal choral vocals providing the… |
|
Fight Sounds
Heavy beats from exotic percussion place you in dangerous territory with this mid-tempo cut. |
Scream Sounds
A Collection of movie trailer style huge hits and impact sounds |
|
This Year’s Horror Freebie Download
|
||
Download Free Ambient Horror Sound Effects Pack
A cool pack of a ambient weather sound effects you can use royalty free in your commercial prjects. |
|