Skip to content Skip to sidebar Skip to footer
Showing posts with the label Audio

How To Play A Sound On Key Press In Javascript?

I'm trying to write my JavaScript code so that a sound plays only when a certain key is pressed… Read more How To Play A Sound On Key Press In Javascript?

Set Volume Of Html 5 Audio Tag With Javascript

Possible Duplicate: Using jQuery to control HTML5 volume I have a html audio tag: Solution 1: I… Read more Set Volume Of Html 5 Audio Tag With Javascript

How Do I Use The Webaudio Api Channel Splitter For Adjusting The Left Or Right Gain On An Audio Track?

Read more How Do I Use The Webaudio Api Channel Splitter For Adjusting The Left Or Right Gain On An Audio Track?

Extracting The Song Frequency Of An Mp3 File Using Html5 Web Audio Api

I am using the HTML5 web audio API to analyse a song and create markers when the average sound freq… Read more Extracting The Song Frequency Of An Mp3 File Using Html5 Web Audio Api

How Do You Detect When Html5 Audio Has Finished Playing (more Than Once)?

I am having a problem detecting when an tag is finished playing an mp3. When I do something like t… Read more How Do You Detect When Html5 Audio Has Finished Playing (more Than Once)?

Cross Browser Html5 Javascript Generate Single Tick Sound

I need a single-shot square wave of approximately 20 ms width. I have not found a simple autonomous… Read more Cross Browser Html5 Javascript Generate Single Tick Sound

How To Assign Identifiers To All Html Elements Of A Particular Type?

My site embeds posts from an RSS feed, and some of these posts contain elements. In a separate JS … Read more How To Assign Identifiers To All Html Elements Of A Particular Type?

Play And Pause With Onclick On The Same Img

The following script is playing a soundfile when i click on a img (onclick). How do i pause it by c… Read more Play And Pause With Onclick On The Same Img