Making Sound with Sensors

Aus hyperdramatik
Zur Navigation springen Zur Suche springen

Often one wants to trigger "some sort of sound" with sensors. Deciding what setup to use for this depends a lot on:

  • the kind of sound you want to make: 8bit music, synthesized sound, playback sound files and modification of sound files (granular synthesis...)....
  • your previous knowledge in different software such as: arduino, processing, pure data, max/msp, vvvv, audacity, ableton....
  • how much time you have :-)


An attempt at an overview: THE ISLAND OF SOUND

51674431739_74b6f9c575_c.jpg

island of sound: https://www.flickr.com/photos/plusea/51674431739/in/dateposted/

Hardware + Software Examples

Here are a few setups that have been used by S&&O over the years:


Arduino Sound (synthesized 8bit sound)

making 8-bit sound with Tone function or with Mozzi sound library

https://sensorium.github.io/Mozzi/


SD Card Players

Trigger sound samples from an SD card

Overview video "Audio modules for electronics project": https://www.youtube.com/watch?v=8obcTTYtjQM


DF Player Mini

https://esphome.io/components/dfplayer.html#overview

https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299#Connection_Diagram

datasheet: https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299

https://www.berrybase.de/mp3-player-modul-mit-eingebautem-verst-228-rker

https://funduino.de/nr-43-dfplayer-mini-mp3-player

https://www.hackster.io/325326/how-to-use-the-dfmini-player-mp3-module-with-arduino-f1f042

77048a25b85b6e29438244020e7237e1.png

1aa1326d5f595dc1ad13be8f3fc52a33.png

DY-SV5W

MP3 Music Player Voice Playback Amplifier Module 5W SD/TF Card Integrated UART I/O Trigger Class D

datasheet: https://www.icstation.com/music-player-voice-playback-amplifier-module-sdtf-card-integrated-uart-trigger-class-p-13455.html

library: https://github.com/SnijderC/dyplayer

IMPORTANT infos about the library: https://github.com/SnijderC/dyplayer/blob/main/README.MD

tutorials:

https://www.digitaltown.co.uk/64DYSV5WESP32ESP8266.php

Arduino C++ DY-SV5W MP3 Player with Uno or Mega 2560: https://www.youtube.com/watch?v=e7qd2Nu3Iss

Arduino C++ DY-SV5W MP3 Player with ESP32 Dev Module and ESP8266 D1 Mini: https://www.youtube.com/watch?v=-S78cwJTPCg


MP3%20Music%20Player%20Voice%20Playback%20Amplifier_1.jpg


DY-SV17F MP3 Player Module

datasheet >> https://electropeak.com/learn/interfacing-dy-sv17f-audio-mp3-player-module-with-arduino/#

library: https://github.com/SnijderC/dyplayer

tutorials:

https://electropeak.com/learn/interfacing-dy-sv17f-audio-mp3-player-module-with-arduino/

DY-SV17F-Pinout.jpg

Specific Sound Hardware:

Teensy Sound (triggering samples or synthesizing using the teensy sound library)

triggering samples on an SD card or synthesizing using the teensy sound library

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


Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger 16MB Flash

buy: https://www.adafruit.com/product/2341

tutorial: https://learn.adafruit.com/adafruit-audio-fx-sound-board/serial-audio-control


Adafruit S1053 Codec + MicroSD Breakout

MP3/WAV/MIDI/OGG Play + Record - v4

https://www.adafruit.com/product/1381


Adafruit Wave Shield KIT v1.0

assembly: http://www.ladyada.net/make/waveshield/solder10.html

use it: https://learn.adafruit.com/adafruit-wave-shield-audio-shield-for-arduino


Record and Playback Modules

Sound from the Computer:

Processing Sound (synthesized sound, playback sound, sound effects)

sound examples from the Minim sound library

https://code.compartmental.net/minim/index.html


vvvv Sound (synthesized sound, playback sound, sound effects)

Bandsalat vvvv patch by Julian for the Sensitive Puppets course

https://github.com/clockdiv/Spaghettimonster


Pure Data Sound (synthesized sound, playback sound, sound effects)

Communicating Bodies PD Patches: Sensors to Pure Data via Serial Port or MQTT, triggering sound samples and granular synthesis


Max Sound (synthesized sound, playback sound, sound effects)

Connection Kit by Ableton - "If you’ve been looking to use Live with technologies like Arduino, LEGO® MINDSTORMS® EV3 and OSC, this free set of Max for Live devices provides exactly what you need."

https://www.ableton.com/en/packs/connection-kit/

https://github.com/Ableton/m4l-connection-kit/tree/master/Arduino

Extra Stuff

Stereo 3.7W Class D Audio Amplifier - MAX98306

https://www.adafruit.com/product/987

https://www.berrybase.de/adafruit-i2s-3w-class-d-verst-228-rker-breakout-max98357a