Jump to content

Search the Community

Showing results for tags 'audio'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 17 results

  1. Hello there,Here’s a question from a composer of modern music cq webdesigner with basic knowledge of html/css and scratching the surface of javascript. I'm a newbie here. I would very much like to build something like this (of course this is merely schematic):A1 A2 LA3 A4A1,2,3,4 stands for Audio 1,2,3,4 (These are four tracks that should be playing simultaneously.)L is the "Listener".Now, one should be able to move the "L" by cursor or finger (phone, tablet), towardsthe different corners, which then should effect the volume. Moving close to A1, one should hear that track louder and the other tracks softer.Moving in between A1 and A2, one should hear these tracks at the same volume,but louder than A3 and A4, etc. The volume transitions need to be smooth.Could anyone give me a hint as to how to start building something like this?Any help would be highly appreciated!Thanks
  2. Hello there, I am looking for assistance making the HTML5 Audio tag appear consistent within mobile as it does on desktop browsers. I have not been able to find much information about this and any help whatsoever is much appreciated. The audio section of the site on desktop looks as intended you can find that here. You can also veiew the live Website. The issue lies within mobile, when someone first opens the site on mobile the audio buttons are bunched together and overlapping, clearly not where they should be, Normal View on mobile. However when someone zooms in slightly on their device it appears closer to normal, When Zoomed in on mobile. My question is, how can I set it so that the mobile audio buttons are fixed in the way that they are supposed to be. If this is not possible, what are my options. Thanks!
  3. Hello & Thanks , I am getting an error : Uncaught SyntaxError: Unexpected token < on the line <audio src=playThis> in this code : Pls , what am I doing wrong ? Thanks
  4. <Audio> Tag Source Not Working

    Ok, so I've been trying to implement audio into my website, but when I put in the source, the source can not be found. Please help. Thanks in advance! Here is my current code : <!DOCTPYE html> <html> <body> <audio src="https://youtu.be/ZsMKqVv0SBo" controls> </audio> </body> </html>
  5. hi. a blind it student doing a web based audio space invaders game for the blind. pulled different bits of code from different tutorials to learn. now, need some mentoring. if any javascript or scripting gurus here, need your help. have done the code, but not sure if it is right, can some one help me out and take a look, then show me a better way to do things. then i then need to go and find a mespeak.js speech api, and then some more human voices, and see if i can find a tutorial. about how to speak out the objects on the screen, and also then just need multiplayer, regions area, updates, and then play over the internet. if this is not the right place, then i apologise. i use a screen reader jaws for windows from http://www.freedomscientific.com, and using windows 10 64 bit pro on a toshiba satellite pro c-50-a. so, if some one can work with me and help me out, did do a text based text to speech hangman game in visual basic 2010 in 2012. now first time doing a web based game. so i need a gentle push in the right direction, so sort of stuck at the moment. can any one help. if this is not the right forum, did post on scripting, but heard from no one. can any one help. thanks.
  6. Hello, I would like to have two button bars on the same page, each playing a different song. My problem is, that both bars play the song of the second bar. What am I doing wrong? /********** 1 instance *********/ <button onclick="play()" type="button" class="play"></button> <button onclick="pause()" type="button" class="pause"></button> <button onclick="load()" type="button" class="load"></button><br> <audio id="myAudio" width="200" height="70"> <source src="assets/sing.mp3" type="audio/mp3"> </audio> <script> var aud = document.getElementById("myAudio"); function play() { myAudio.play(); } function pause() { myAudio.pause(); } function load() { myAudio.load(); } </script> /********** 2 instance *********/ <button onclick="play()" type="button" class="play"></button> <button onclick="pause()" type="button" class="pause"></button> <button onclick="load()" type="button" class="load"></button><br> <audio id="myAudio2" width="200" height="70"> <source src="assets/song.mp3" type="audio/mp3"> </audio> <script> var aud = document.getElementById("myAudio2"); function play() { myAudio.play(); } function pause() { myAudio.pause(); } function load() { myAudio.load(); } </script> /********** css *********/ <style type="text/css"> .play { background-image: url("assets/buttonplay60x60.jpg"); width: 60px; height: 60px; } .pause { background-image: url("assets/buttonpause60x60.jpg"); width: 60px; height: 60px; } .load { background-image: url("assets/buttonload60x60.jpg"); width: 60px; height: 60px; } </style>
  7. html audio sources

    Hi,i need html code for audio input from my sound card to web player,does enybody knows how?
  8. Hi I wasn't sure exactly how to ask this so I made up a couple of mock-up pictures to help. I am making an audio website and currently I have each song in an html file being called into a list. they each have their own audio player. Works fine, but is a bit cluttered with many players on screen when the list is large. I would really like to have a master audio player in the header and each song in the list has just a play button when clicked will play the song in the main audio player at the top as shown below.I will have the main player at the top in a sticky/floating header so it remains on top and is always visible when scrolling. I hope this makes sense. Any help or guidance/tutorial links on how I can adjust things to achieve this would be greatly appreciated. Thanks
  9. linking, not creating

    Hello DaveJ, Regarding the SPELLER script: How hard would it be to adapt the script to connect to the audio file at www.merriam-webster.com/dictionary ? ....and also to have a "PLAY AUDIO" button. eg: http://www.merriam-webster.com/dictionary/acceptable In this way I would not have to create 100 audio files AND it would save time in the future when the words are changed for new ones. - Steve
  10. On my current site, I'm using some 3rd party bit of code to display a sort of jukebox/mp3 player to play some of my music as part of my portfolio. It seems to work fine (although I haven't been able to test it on multiple platforms/browsers), but that was years ago, and I'm wondering if there might be something better. The one I'm currently using is from Premiumbeat. From what I see, the code defines a variable (SO) as a new SWFObject, then adds various variables/attributes, then does a write ("flashplayer"). (Sorry, I'm not an HTML scripting type) Whatever the case, the result is an embedded box/window with transport controls, and the songs displayed in a clickable list. That's all I need... the list of songs, and the ability to select any of them, and have it play. Anything out there that anyone would recommend? Simplicity is what I'm after. No need for bells and whistles. Just compatibility!
  11. multimedia loaded data on client side.

    Hi every one!!! after a very long time I'm log in to this forum. let's come to the topic, the problem which I'll be experiences is that i'll create the html 5 audio. write my own script to control the playback, works fine! Now I want to know that how we can use the javascript to determined how much data is loaded on the user computer. means that if a file is 20 or 40 MB in size I want to show the progress to the user how much data is loaded on your computer. and up to what time audio can be played smoothly. just like the youtube white progress tells us. any possibility in JS? Help is appreciated.
  12. Hi There, I don't know if I am in the right topic thread for errors or debugging but suggestions was the closest I could find. I was viewing the HTML 5 audio tag examples in W3Schools and I noticed that the controls are not showing up in IE9. Even though on the audio page it says that it is compatible with IE9. Now when I right click on it I do get the options to play/pause but I don't get sound. I tried on Firefox and it worked fine so it wasn't a sound issue. I have attached a screen shot so you can see both the code on the left and example on the right in IE9.
  13. Edit audio tag

    Hi guys!I've searched the net for a bit now and i tried to search the forum here but to no luck, anyway i was just wondering if you were able to help me out with an audio tag.I want to add an audio tag, which is easy enough but i want it to... automatically play and loop, but... i only want the buttons to be mute and unmute or play and unplay, i don't mind if there is two buttons but it would be cool if it was one i have found 1 or 2 examples where they turn it into text buttons (but the HTML doesn't work for it) but i was wondering if you were also able to edit it so it was an image? Thanks
  14. Hi all,Forgive me if this is the worng place for this.I have a webserver running a stream of audio files in a folder on my server on port 8080I can access the streaming audio using a media player like vlc. The server has http, and php.What I want to do is have a visual player object, where if you visited my site you could listen into my stream by clicking on the embeded media player. I Tried the examples, from http://www.w3schools...html_sounds.aspbut I dont know how to use the code to specify the ip and port where I am streaming from. <embed height="100" width="100" src="130.111.192.142:8080" /><object height="100" width="100" data="130.111.192.142:8080"></object> Things like that, just dont work. What am i doing wrong? How can I embed a way to play the audio I am already streaming on my server?
  15. Interactive Chart

    How can I create an interactive chart like this: http://se.deltasd.bc.ca/vision/ while using HTML5?
  16. I'm a newbie when it comes to JS but I'm trying to understand it and alter a few snippets to learn more. Here's my issue. I have the JS script running at my page, it autoloads an mp3 and plays it while the page starts. Nothing wrong, everything works. I also have a few buttons on the page that start a new mp3, that also works great. The issue is that it still plays the older mp3 files when selected a new one. Can somebody help me out here? I'm trying to stop all playing audio (no matter howmany buttons are pressed for playing audio) automaticly when a new button (play a new mp3) is pressed, so far no luck. Some help is highly apriciated. The code: <script type="text/javascript" charset="utf-8"> // Wait for PhoneGap to load // document.addEventListener("deviceready", onDeviceReady, false); // PhoneGap is ready // function onDeviceReady() { playAudio("/zzz/mypath/to/start.mp3"); } // Audio player // var my_media = null; var mediaTimer = null; // Play audio // function playAudio(src) { // Create Media object from src my_media = new Media(src, onSuccess, onError); // Play audio my_media.play(); // Update media position every second mediaTimer = setInterval(function() { // get media position my_media.getCurrentPosition( // success callback function(position) { if (position > -1) { setAudioPosition(position + " sec"); } }, // error callback function(e) { console.log("Error getting pos=" + e); } ); }, 1000); // SeekTo to 10 seconds after 5 seconds setTimeout(function() { my_media.seekTo(10000); }, 5000); } // Stop audio // function stopAudio() { if (my_media) { my_media.stop(); } clearInterval(mediaTimer); mediaTimer = null; } // onSuccess Callback // function onSuccess() { console.log("playAudio():Audio Success"); } // onError Callback // function onError(error) { alert('code: ' + error.code + '\n' + 'message: ' + error.message + '\n'); } // Set audio position // function setAudioPosition(position) { document.getElementById('audio_position').innerHTML = position; } </script> an somebody give me a helping hand here?
  17. I've been working on my uncle's website all summer, redesigning it. He hasn't changed the layout since 1996, so it was very much needed. Everything is working perfectly fine in Safari and Firefox, but when I view it in Google Chrome, the audio files on two of the pages do something weird. Instead of going underneath the header and footer while scrolling, the play bars are going overtop of them. The mock-up I've been working on is linked below, and I've pasted my CSS as well. Thanks in advance for your help! http://webpub.allegheny.edu/student/G/gooda/sobolov/demos.html (There is no doubt some superfluous coding in the CSS. If you notice it, please let me know. I only just got into CSS this spring.) body{ background-color:black;background-image:url('bg.png');background-repeat:repeat-y;}div#headerwrap{ position:fixed;top:0;left:0;height:160px;}body>div#headerwrap{ position:fixed;}div#header{ height:160px;width:1024px;margin:0 auto;}div#middlewrap{ padding-top:150px;padding-bottom:75px;padding-left:75px;width:810px;height:auto;}body>div#middlewrap{ margin-left:0;}div#middle{ width:815px;margin:0 auto;}div#images{ left:0px;top:0px;border-style:none;border-width:0px;}body>div#footerwrap{ position:fixed;bottom:0px;left:0px;padding:0px;}div#footerwrap{ margin:0;position:fixed;padding:0px;bottom:0;left:0;height:75px;width:1024px;}p{ font-family:"Trebuchet MS", Helvetica, sans-serif;font-size:medium;text-align:center;}h4{ color:red;font-family:"Trebuchet MS", Helvetica, sans-serif;text-align:center;}h3{ text-align:center;}blockquote{ font-family:"Trebuchet MS", Helvetica, sans-serif;text-align:center;color:red;}a:link{ font-family:"Trebuchet MS", Helvetica, sans-serif;color:#FF0000;text-decoration:underline;}a:visited{ font-family:"Trebuchet MS", Helvetica, sans-serif;color:#FF0000;}a:hover{ font-family:"Trebuchet MS", Helvetica, sans-serif;color:#FF0000;}a:active{ font-family:"Trebuchet MS", Helvetica, sans-serif;color:#FF0000;}
×