Affecting music volume with arduino and a piezosensor

edited July 2017 in Arduino

HI! we were running a code for an image appearing whenever we hit a piezo sensor, we wanted to increase the volume of the sound file when we hit the piezo sensor but the sound to keep playing on loop on the background on a lower volume. we tried the minim library but it didn't work quite as expected. is there a way of doing this??

bonus track: how do we put both sensors on one processing code??

THANK YOU!!

Tagged:

Answers

  • an image appearing whenever we hit a piezo sensor

    I assume this is already working, isn't it?

    we tried the minim library but it didn't work quite as expected

    Good you tried this yourself. Can you share your code showing your approach?

    bonus track: how do we put both sensors on one processing code??

    We don't know anything about your system or your controllers :-B You can write your own code and if you get stuck, you can share a sample reproducing your problem or share your work. Mind that most ppl wont be able to run your code as they won't have any of your gadgets. The more details you provide, you will get more and better feedback from other forum goers.

    Kf

Sign In or Register to comment.