Archive for the ‘Web Audio’ Category
Im looking for a program that can do this.
Wondershare Streaming Audio Recorder uses virtual sound card to record any sound played through your sound card, record music from any online music sites and radio stations like MySpace, Napster, Rhapsody, XM radio, AOL radio, etc. After recording, you can split audio files; edit ID3 tags like title, artist, and genre. Or, you can add recorded file to iTunes, Windows Media Player, or Winamp.
I want to add a cookie to play a flash audio file one time only. The user should only have to hear the file one time. If they return to the website, it doesn’t load again
Any help would be appreciated
This could client side JavaScript form. The simplier the better.This doesn’t need to be secure. I just don’t want people to have to hear the sound file over and over which would be annoying.
Any code example would be great!
Actually, you want to add a cookie NOT to play the file. If the cookie doesn’t exist or doesn’t have a particular key, the flash should play and the cookie should be set to prevent the file from being played next time; otherwise, the flash shouldn’t play. As long as the user doesn’t clear cookies, it’ll be fine.
In the head of your HTML, add the following code. Note that you need to add real code to chkPlay() function where indicated. Also, I allowed the cookie’s expiration date to be one year in the future, the default value for the setCookie() function – you can make it be whatever you prefer.
<script type="text/javascript">
function chkPlay() {
// if no cookie or cookie has no item with key played…
if (null == getCookie(’played’) {
// set value for key played – value is arbitrary,
// since only existence matters
setCookie(’played’, ‘true’);
/////////////////////////////////////////////
// this is where you’ll call the audio player
/////////////////////////////////////////////
}
}
;
function getCookie(key) {
// convenience reference
var c = document.cookie;
// if none, return null – exit immediately
if ( 0 == c.length ) return null;
// implicit else – test for cookie value for lang key
var c_start = c.indexOf(key + "=");
// if no value for key, return null – exit immediately
if (-1 == c_start) return null;
// implicit else – get value from cookie string
c = c.substring(c_start + (key + "=").length);
// find end of value for key
var c_end = c.indexOf( ";" );
// if no trailing semi-colon, this is last value, reset end
if ( -1 == c_end ) c_end = c.length;
// chop trailing parts, if any and return unescaped value
return unescape( c.substring( 0, c_end ) );
}
;
function setCookie( key, value, expiredays) {
// if not given, set default number of days until expiration to one year
// in the future
if (’undefined’ == typeof expiredays) expiredays = 365.25;
// get a new Date instance
var expires = new Date();
// convert requested (or default) number of days to milliseconds
expires.setTime( expires.getTime() + 1000*24*60*60 * expiredays );
// add new key/value pair to cookies for page
document.cookie = key + ‘=’ + escape(value) + ((null == expiredays)?”:
(’;expires=’ + expires.toGMTString()));
}
;
// in case other onload handling is required, add this
// to the list of handlers
if(window.addEventListener)
window.addEventListener(’load’, chkPlay, false); // non-IE
else window.attachEvent(’onload’, chkPlay); // IE
</script>
Final note on playing audio…many people find it annoying EVER to be forced to listen to audio files they didn’t request – even once. When I hit a site that auto-plays ANY media, I hit the back button or the home key to escape the page immediately, and I never revisit that page. While I’ve answered your question, I recommend that you simply offer a "play" button (or other control) and not auto-play the media even once.
I wanna know if there’s any websites that are like chat rooms that you can use audio, voice microphone only and no web cams at all
http://new.talkr.com/
This free, technology-enabled service lets people easily find, join, create, manage and promote voice conversations – among many participants – over the Internet. It allows users to interact with other people on the topics they care about – they can invite others to join them to talk about issues of mutual interest, or they can join other ongoing conversations.
http://www.yackpack.com/
Simplify your connected life the way only YackPack’s patented interface can. See at a glance who is in the ‘office’, and hold a conversation as if you’re right there – no ‘calling’, no ‘composing a message’, no ‘opening a chat window’ – just instant, effortless communication.
http://www.imunitive.com/
IMUnitive provides a solution with new features that allow users to generate a link that acts as an anchor station for communication. The link can be a hyperlink or a web address printed in your paper correspondence, anyone from anywhere wish to contact you, for text or voice communication, can following the link and chat with you toll free, anytime and anywhere you are. When inserted into your web pages, it also shows your present status to anyone who browses through your web pages.
I am wanting to learn about car audio and was wondering if there is any place that can show u online
http://www.bcae1.com/ There is more info here than any other site that I’ve ever seen.
I know this question is extremely geeky, but it would be great if you could help me. The battle cries I’m talking about are like the ones you hear in the Pokédex when you select the CRY option. I would like audio to be of good quality with only the sound effect itself, not like recorded with a tape recorder with background music mixed into it. Well, this concludes my request. I will now go back into non-exsistence and pure geekiness and loserness. (P.S. Please don’t report me for being lame)
heh, i came in here in a violent mood, thinking that someone was beating pokémon online somewhere!
dude, don’t write stuff like "please don’t report me for being lame"
you did nothing reportable. tagging that on the end of your question removes some credibiltiy that one might have in you.
im trying to learn spanish, and i need to find a website where you can learn spanish and they can pronounce it for you in like an audio or some what like that.
thank you ![]()
this website is Free…no virus
http://www.languageguide.org/espanol/
im doing my own compay of car audio and well i need a hook up and i need to find some were or a website were they sell car audio realy realy cheap plz help out
Check out www.onlinecarstereo.com.They have a wide variety and they offer wholesale deals.
im doing my own compay of car audio and well i need a hook up and i need to find some were or a website were they sell car audio realy realy cheap plz help out
Check out www.onlinecarstereo.com.They have a wide variety and they offer wholesale deals.
I am studying English as a second language and I use a web dictionary as reference for new vocabulary. Whenever I come across a new word I log on to this web site and find out the meaning of the word, and web site also offers the pronunciation of the word. I would like to download those audio files onto my computer and then transfer them to my voice recorder device, so I will be able to practice whenever I can via my voice recorder.
Thanks in advance
You should try liteRecorder.This records streaming radio or audio from any streaming videos like YouTube. I’ve tried several programs, and I think you should try at least 3-4 and pick the one you like.
http://www.innoheim.com
I want to start audio automatically while my web page start to load. Give a html code for this action. Thanks in advance.
Use the following code…
<EMBED SRC="../filename.mp3"></EMBED>
You can also use the following attributes.,
AUTOSTART = True/False //Start the sound automatically or not
HIDDEN = True/False // Hide the player
LOOP = True/False // Loop the song infinite time
PLAYCOUNT = [number of times to play] Example : 1 or 2 or 3 or etc.,
CONTROLS = CONSOLE / SMALLCONSOLE / PLAYBUTTON / PAUSEBUTTON / VOLUMELEVER
// Show the controls
VOLUME=[in number from 0 to 100]
example :
<EMBED SRC="williams.mp3" AUTOSTART="True" HIDDEN="True" LOOP="True" VOLUME=100>