Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: launching sound with push button

  1. #1

    launching sound with push button

    hi, I try to begin to understand the audio library, can someone help me to simply play the sound of the waveform example with just pushing a button, in the exemple the sound play by himself and I d like to trigged it with a button instead, sorry for the noob question but still beginner in code!

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,805
    Check out part 2-3 of the audio library tutorial. It starts on page 14 of the PDF.

    https://www.pjrc.com/store/audio_tutorial_kit.html

    You can also watch a video demo of the tutorial. Just scroll down on that page. Click through to YouTube for the video description, which has time offset links for all the specific parts of the tutorial (assuming you want to watch just part 2-3 and not the whole 45 minutes).

  3. #3
    hi thanks for the answer, I saw this already, I m watching the tutorial too, but in the exemple it show how to trigger samples and I d like to trigger the waveform

  4. #4
    oh damn i understand my problem, my f.... breadboard has a problem where I wired the enveloppe button! I ll be able to go forward now!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •