Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I wonder if the color names themselves are the HTML codes.
  2. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I'm reading the chart of color names and codes, and I wonder, are codes like "#FFFFFF" supposed to be HTML or CSS codes? I'm confused!
  3. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    In the original version of Atmosphere Deluxe, made by Vectormedia Software, I'm not sure what source code they used, as they programmed the software with Visual Basic, which isn't exactly accessible to screenreaders. If I were to make each audio link and keystroke a different color, what code...
  4. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Will the "loop" attribute work to make a long sound loopable? Which attribute will work for making a short sound play at random intervals?
  5. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Are "Play Sound" and "Stop Sound" codes of javascript? How about the "loop" attribute? Is there an attribute for making a sound play at random intervals?
  6. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    How would I make checkboxes into "Play/Stop" buttons for a sound?
  7. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Would the Keydown event be equivalent to pressing "Play" when the checkbox is checked, and the Keyup event be the equivalent to pressing stop when the checkbox is unchecked?
  8. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I wonder if a program like Nodejs will be able to convert HTML, Javascript and CSS into a desktop app.
  9. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    If I have a checkbox that triggers a sound channel, initially named "Not Set", if I create an "Open..." button, where I can load a sound file, the name of the channel will change according to the sound I've opened. For example: "Calm Sea". If I press a "Reset" button next to that checkbox, the...
  10. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I wonder, how would I make a sound either loopable (a background sound), or play at random intervals (a random sound)?
  11. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I wonder if the HTML tag "bgsound" would work for adding sounds to an app.
  12. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    How's this? //grab the button 'hookSwitch' var hookSwitch = document.querySelector('button.hookSwitch'); //create an event listener for a click event hookStatus.addEventListener("onclick", function(){ //inside of the callback function for click event listener, add the on/off classes to the...
  13. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Are you thinking of the parts where there are spaces before the } solos (The lines with just closing braces)? Are those the ones that should have "});"?
  14. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Which line are you referring to where the callback function is right, but I need to select the right event type?
  15. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    How's this? //grab the button 'hookSwitch' var hookSwitch = document.querySelector('button.hookSwitch'); //create an event listener for a click event hookStatus.addEventListener("onclick", function(){ //inside of the callback function for click event listener, add the on/off classes to the...
  16. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Let me rephrase that. Should I put Something like: button.addEventListener('click', function() { In that second case? The one that you say lacks an event listener? Or should I put something like: button.addEventListener("ended", function() {
  17. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I could tell right away that the second case was missing a function. But what function is supposed to be there, I'm not exactly sure.
  18. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    I'm guessing that on the part between var policeComplaint" and " var pickupDefault;", there's a "default:" statement without a "case" code.
  19. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    Sure thing! Here ya go. //grab the button 'hookSwitch' var hookSwitch = document.querySelector('button.hookSwitch'); //create an event listener for a click event hookStatus.addEventListener("onclick", function(){ //inside of the callback function for click event listener, add the on/off...
  20. Annabelle5893

    Playing Audio Using Keystrokes: Is It Possible?

    By "entire code", do you want both the HTML and the Javascript?
Back
Top Bottom