• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

spice up an audio loop

Hi

I have a 13 second loop that I'm using as a background. After a few loops though, it gets a little one dimensional. What, and more importantly how, would I go about adding some more dimension to the background audio, so a visitor that spends a few minutes viewing the site doesnt go batty and scramble for the audio off button.

Thanks
Aidan
0
aidan09
Asked:
aidan09
  • 4
  • 2
1 Solution
 
BillystyxCommented:
How exactly were you thinking to spice it up?
0
 
aidan09Author Commented:
not sure really
mix the sound up slighlty maybe, by adding a sound effect at certain sections, or placing another loop over the top to add to the sound?
0
 
BillystyxCommented:
you can use the sound object, and elements like
Sound.setPan()//which speaker

and
Sound.setTransform()//how much noise in each speaker
and
Sound.setVolume()//volume
will help with stereo effects etc.
it also helpswith adding and removing sounds dynamically to provide more variety with more ease.
add a soud with
movie_sound = new Sound();
movie_sound.attachSound("myMc");//sound linkage name from library
movie_sound.start();

Billystyx
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
rexmorCommented:
hello,

how about loading external sound like...

myBGsound = new Sound();
myBGsound.loadSound(

myBGsound =new Sound()
myBGsound .loadSound("music1.mp3",true);
myBGsound .start(0,1);
myBGsound .onSoundComplete()
myBGsound .loadSound("music2.mp3",true);
myBGsound .start(0,1);

// something like that...


// to loop your sound you can use
myBGsound .start(0,100);


hope that help.


0
 
BillystyxCommented:
Did either/both of these ideas help you?
Can you post a response?

Billystyx
0
 
aidan09Author Commented:
sorry Billy

been away for a little while.
thanks for the help.
though i was hoping for some info on mixing loops (eg adding a little sequence into the middle of the loop, I figured out a few ways to fudge that effect)
haven't yet tried yr suggestions, but no doubt will help out too.

again, sorry for the delay
thanks
aidan
0
 
BillystyxCommented:
no worries - fudging it with
setInterval(myFunction,1000);
function myFunction(){
myBGsound .loadSound("music3",true);
myBGsound .start(0,1);

}
or similiar will lay a new sound over the top every 1000 milliseconds - o/w you could mix the sound loop elsewhere and import the whole thing to flash as a finished loop. (might be easier that way)
good luck!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now