SlideShare a Scribd company logo
A WEARABLE MUSICAL
INTERFACE USING A WIRELESS
SENSOR NETWORK
Francesco Corucci – – 2012
MSc in Computer Engineering – University of Pisa
Introduction
 Goal: implement a platform that allows the use of a
wireless sensor network as a wearable interface
that can be used for producing music
 Requirements:
 Modular
 Flexible
 MIDI-compliant
2
What is MIDI
 MIDI (Musical Instrument Digital Interface) is a
standard technology for the interaction between
musical devices
 It standardizes:
 A communication protocol
 An hardware interface
 Versatile technology, widely used since the 80’s and still
reliable after more than 30 years
3
Shimmer sensor nodes
 For setting up the WSN we choose Shimmer sensor
nodes :
 Suitable for wearable applications
 Integrate a 3-axis accelerometer
 Optional gyroscope shield
(not used in this project)
 Bluetooth or 802.15.4
communication
 Support TinyOS
4
Shimmer sensor nodes
5
Overview of the system
USB
802.15.4
• Two or more wireless sensors on the body
• The sensors sample accelerometric data
associated with movements
• Data are then collected from the sink and
forwarded to the computer
Sink
6
Overview of the system (cont’d)
Oscilloscope application
(extended with MIDI map module)
Virtual MIDI
device
Musical software
Data from sink
• Filtering
• Displaying
• Mapping in MIDI commands
7
Detailed architecture
Serial forwarder
Computer
USB
TCP/IP
Oscilloscope
Radio
MIDI map
MIDI forwarder
Virtual MIDI port
TCP/IP
Musical sw
(VST-host)
VST
Plugin
VST
Plugin
MIDI
MIDI
8
…
MIDI controller
This way the WSN become a standard MIDI controller,
that can interoperate with every musical software
9
How to choose the mapping
 The way to map sensed data into MIDI messages is
absolutely arbitrary, and can lead to a multitude of
expressive results
 Every data channel can be mapped in a different
 instrument
 effect
 note/chord
 etc…
 …and this can be done in a variety of ways!
10
Demonstration time
(http://youtu.be/jIrE5j2Mdtw)
11
Features
 Modular, extensible:
 Is it possible to use an arbitrary number of sensor nodes, and
choose which on-board sensors must be used as data sources
 Flexible:
 Many degrees of freedom in the mapping
 Many expressive possibilities
 Sound generation is left to specialized and mature softwares
 Standard:
 Since the WSN becomes a MIDI controller, it is able to
interoperate with a moltitude of software platforms
12
Possible applications
The platform can be used for several purposes:
 New expressive forms based on gestuality
 In combination with traditional instruments
(e.g. influence of on-stage movements on played music)
 Any application that asks for sonification of human movements:
 Sport training
 Rehabilitation
 …
13
References
 Shimmer sensor nodes
 http://www.shimmer-research.com/
 General information about MIDI
 http://en.wikipedia.org/wiki/MIDI
 VST
 http://en.wikipedia.org/wiki/Virtual_Studio_Technology
 rtMidi, a cross-platform C++ library for MIDI
 http://www.music.mcgill.ca/~gary/rtmidi/
 Sonification
 http://en.wikipedia.org/wiki/Sonification
14
Thank you for your attention :-)
15
Implementation details
16
OscilloscopeAppC - overview
 OscilloscopeAppC is the TinyOS application running
on sensor nodes
 Receives commands from the sink:
start/stop/change_freq
 Samples the on-board tri-axis accelerometer using
three ADC channels in DMA mode
 When a block of samples has been collected, the
sensor node sends it to the sink via radio
17
OscilloscopeAppC - architecture
18
OscilloscopeAppC - interactions
19
…
BasestationC - overview
 BasestationC is the TinyOS application running on
the sink node
 Acts as a bridge between the serial and the radio
link
 Implements queues in both direction to handle
traffic spikes
20
BasestationC - architecture
21
MIDI map module
 Offers a simple GUI: the user can choose how to map
the active data channels into MIDI messages from a
predefined set of mappings
22
 The module then catches
incoming data, maps it into
MIDI command according
to user-defined
preferences, and forwards
them via TCP/IP socket
toward the MIDI forwarder
MIDI forwarder
 Implements a virtual
MIDI device: the WSN is
seen as an input MIDI
peripheral plugged into
the computer
 It then acts as a bridge:
 Waits for incoming MIDI
messages from a TCP/IP
socket
 Forwards MIDI messages
to the virtual MIDI port
23
Screenshots: Oscilloscope + MidiMap
24
Screenshots
25

More Related Content

Similar to A wearable MIDI interface using a wireless sensor network

Passenger amenities (2)
Passenger amenities (2)Passenger amenities (2)
Passenger amenities (2)
Suraj Soni
 
WIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORKWIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORK
Rutvik Pensionwar
 
Education set for collecting and visualizing data using sensor system based o...
Education set for collecting and visualizing data using sensor system based o...Education set for collecting and visualizing data using sensor system based o...
Education set for collecting and visualizing data using sensor system based o...
IJMER
 
Experimental Analysis of an Energy-Efficient WSN
Experimental Analysis of an Energy-Efficient WSNExperimental Analysis of an Energy-Efficient WSN
Experimental Analysis of an Energy-Efficient WSN
idescitation
 
StadtLärm - A Distributed Urban Noise Monitoring System
StadtLärm - A Distributed Urban Noise Monitoring System StadtLärm - A Distributed Urban Noise Monitoring System
StadtLärm - A Distributed Urban Noise Monitoring System
M2M Alliance e.V.
 
Education set for collecting and visualizing data using sensor system based ...
Education set for collecting and visualizing data using sensor  system based ...Education set for collecting and visualizing data using sensor  system based ...
Education set for collecting and visualizing data using sensor system based ...
IJMER
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
IRJET Journal
 
Garbage Monitoring System using Arduino
Garbage Monitoring System using ArduinoGarbage Monitoring System using Arduino
Garbage Monitoring System using Arduino
ijtsrd
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
csandit
 
A proposed model for traffic signal preemption using global positioning syste...
A proposed model for traffic signal preemption using global positioning syste...A proposed model for traffic signal preemption using global positioning syste...
A proposed model for traffic signal preemption using global positioning syste...
csandit
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
cscpconf
 
CDMA
CDMACDMA
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
A ZigBee Based Wireless Sensor Network for an Agricultural EnvironmentA ZigBee Based Wireless Sensor Network for an Agricultural Environment
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
ijsrd.com
 
6 article azojete vol 8 53 66
6 article azojete vol 8 53 666 article azojete vol 8 53 66
6 article azojete vol 8 53 66
Oyeniyi Samuel
 
Contiki wsn
Contiki wsnContiki wsn
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
Kedar Kumar
 
Wireless Open Weather (WOW)
Wireless Open Weather (WOW)Wireless Open Weather (WOW)
Wireless Open Weather (WOW)
Mirko Mancin
 
Arduino Radar System
Arduino Radar SystemArduino Radar System
Arduino Radar System
Akram AlSafadi
 

Similar to A wearable MIDI interface using a wireless sensor network (20)

Passenger amenities (2)
Passenger amenities (2)Passenger amenities (2)
Passenger amenities (2)
 
WIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORKWIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORK
 
Education set for collecting and visualizing data using sensor system based o...
Education set for collecting and visualizing data using sensor system based o...Education set for collecting and visualizing data using sensor system based o...
Education set for collecting and visualizing data using sensor system based o...
 
Experimental Analysis of an Energy-Efficient WSN
Experimental Analysis of an Energy-Efficient WSNExperimental Analysis of an Energy-Efficient WSN
Experimental Analysis of an Energy-Efficient WSN
 
StadtLärm - A Distributed Urban Noise Monitoring System
StadtLärm - A Distributed Urban Noise Monitoring System StadtLärm - A Distributed Urban Noise Monitoring System
StadtLärm - A Distributed Urban Noise Monitoring System
 
Education set for collecting and visualizing data using sensor system based ...
Education set for collecting and visualizing data using sensor  system based ...Education set for collecting and visualizing data using sensor  system based ...
Education set for collecting and visualizing data using sensor system based ...
 
Aquarius_IJARCCE
Aquarius_IJARCCEAquarius_IJARCCE
Aquarius_IJARCCE
 
Decibel meter using IoT with notice board
Decibel meter using IoT with notice boardDecibel meter using IoT with notice board
Decibel meter using IoT with notice board
 
Garbage Monitoring System using Arduino
Garbage Monitoring System using ArduinoGarbage Monitoring System using Arduino
Garbage Monitoring System using Arduino
 
published paper
published paperpublished paper
published paper
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
 
A proposed model for traffic signal preemption using global positioning syste...
A proposed model for traffic signal preemption using global positioning syste...A proposed model for traffic signal preemption using global positioning syste...
A proposed model for traffic signal preemption using global positioning syste...
 
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
A PROPOSED MODEL FOR TRAFFIC SIGNAL PREEMPTION USING GLOBAL POSITIONING SYSTE...
 
CDMA
CDMACDMA
CDMA
 
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
A ZigBee Based Wireless Sensor Network for an Agricultural EnvironmentA ZigBee Based Wireless Sensor Network for an Agricultural Environment
A ZigBee Based Wireless Sensor Network for an Agricultural Environment
 
6 article azojete vol 8 53 66
6 article azojete vol 8 53 666 article azojete vol 8 53 66
6 article azojete vol 8 53 66
 
Contiki wsn
Contiki wsnContiki wsn
Contiki wsn
 
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
 
Wireless Open Weather (WOW)
Wireless Open Weather (WOW)Wireless Open Weather (WOW)
Wireless Open Weather (WOW)
 
Arduino Radar System
Arduino Radar SystemArduino Radar System
Arduino Radar System
 

More from Francesco Corucci

Teleoperating a robotic arm through a gyroscopic helmet
Teleoperating a robotic arm through a gyroscopic helmetTeleoperating a robotic arm through a gyroscopic helmet
Teleoperating a robotic arm through a gyroscopic helmet
Francesco Corucci
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulum
Francesco Corucci
 
Social Network Analysis Project
Social Network Analysis ProjectSocial Network Analysis Project
Social Network Analysis Project
Francesco Corucci
 
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Francesco Corucci
 
An overview on Quantum Key Distribution
An overview on Quantum Key DistributionAn overview on Quantum Key Distribution
An overview on Quantum Key Distribution
Francesco Corucci
 
P-Systems for approximating NP-Complete optimization problems
P-Systems for approximating NP-Complete optimization problemsP-Systems for approximating NP-Complete optimization problems
P-Systems for approximating NP-Complete optimization problems
Francesco Corucci
 

More from Francesco Corucci (6)

Teleoperating a robotic arm through a gyroscopic helmet
Teleoperating a robotic arm through a gyroscopic helmetTeleoperating a robotic arm through a gyroscopic helmet
Teleoperating a robotic arm through a gyroscopic helmet
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulum
 
Social Network Analysis Project
Social Network Analysis ProjectSocial Network Analysis Project
Social Network Analysis Project
 
Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...Implementation of a lane-tracking system for autonomous driving using Kalman ...
Implementation of a lane-tracking system for autonomous driving using Kalman ...
 
An overview on Quantum Key Distribution
An overview on Quantum Key DistributionAn overview on Quantum Key Distribution
An overview on Quantum Key Distribution
 
P-Systems for approximating NP-Complete optimization problems
P-Systems for approximating NP-Complete optimization problemsP-Systems for approximating NP-Complete optimization problems
P-Systems for approximating NP-Complete optimization problems
 

Recently uploaded

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

A wearable MIDI interface using a wireless sensor network

  • 1. A WEARABLE MUSICAL INTERFACE USING A WIRELESS SENSOR NETWORK Francesco Corucci – – 2012 MSc in Computer Engineering – University of Pisa
  • 2. Introduction  Goal: implement a platform that allows the use of a wireless sensor network as a wearable interface that can be used for producing music  Requirements:  Modular  Flexible  MIDI-compliant 2
  • 3. What is MIDI  MIDI (Musical Instrument Digital Interface) is a standard technology for the interaction between musical devices  It standardizes:  A communication protocol  An hardware interface  Versatile technology, widely used since the 80’s and still reliable after more than 30 years 3
  • 4. Shimmer sensor nodes  For setting up the WSN we choose Shimmer sensor nodes :  Suitable for wearable applications  Integrate a 3-axis accelerometer  Optional gyroscope shield (not used in this project)  Bluetooth or 802.15.4 communication  Support TinyOS 4
  • 6. Overview of the system USB 802.15.4 • Two or more wireless sensors on the body • The sensors sample accelerometric data associated with movements • Data are then collected from the sink and forwarded to the computer Sink 6
  • 7. Overview of the system (cont’d) Oscilloscope application (extended with MIDI map module) Virtual MIDI device Musical software Data from sink • Filtering • Displaying • Mapping in MIDI commands 7
  • 8. Detailed architecture Serial forwarder Computer USB TCP/IP Oscilloscope Radio MIDI map MIDI forwarder Virtual MIDI port TCP/IP Musical sw (VST-host) VST Plugin VST Plugin MIDI MIDI 8 …
  • 9. MIDI controller This way the WSN become a standard MIDI controller, that can interoperate with every musical software 9
  • 10. How to choose the mapping  The way to map sensed data into MIDI messages is absolutely arbitrary, and can lead to a multitude of expressive results  Every data channel can be mapped in a different  instrument  effect  note/chord  etc…  …and this can be done in a variety of ways! 10
  • 12. Features  Modular, extensible:  Is it possible to use an arbitrary number of sensor nodes, and choose which on-board sensors must be used as data sources  Flexible:  Many degrees of freedom in the mapping  Many expressive possibilities  Sound generation is left to specialized and mature softwares  Standard:  Since the WSN becomes a MIDI controller, it is able to interoperate with a moltitude of software platforms 12
  • 13. Possible applications The platform can be used for several purposes:  New expressive forms based on gestuality  In combination with traditional instruments (e.g. influence of on-stage movements on played music)  Any application that asks for sonification of human movements:  Sport training  Rehabilitation  … 13
  • 14. References  Shimmer sensor nodes  http://www.shimmer-research.com/  General information about MIDI  http://en.wikipedia.org/wiki/MIDI  VST  http://en.wikipedia.org/wiki/Virtual_Studio_Technology  rtMidi, a cross-platform C++ library for MIDI  http://www.music.mcgill.ca/~gary/rtmidi/  Sonification  http://en.wikipedia.org/wiki/Sonification 14
  • 15. Thank you for your attention :-) 15
  • 17. OscilloscopeAppC - overview  OscilloscopeAppC is the TinyOS application running on sensor nodes  Receives commands from the sink: start/stop/change_freq  Samples the on-board tri-axis accelerometer using three ADC channels in DMA mode  When a block of samples has been collected, the sensor node sends it to the sink via radio 17
  • 20. BasestationC - overview  BasestationC is the TinyOS application running on the sink node  Acts as a bridge between the serial and the radio link  Implements queues in both direction to handle traffic spikes 20
  • 22. MIDI map module  Offers a simple GUI: the user can choose how to map the active data channels into MIDI messages from a predefined set of mappings 22  The module then catches incoming data, maps it into MIDI command according to user-defined preferences, and forwards them via TCP/IP socket toward the MIDI forwarder
  • 23. MIDI forwarder  Implements a virtual MIDI device: the WSN is seen as an input MIDI peripheral plugged into the computer  It then acts as a bridge:  Waits for incoming MIDI messages from a TCP/IP socket  Forwards MIDI messages to the virtual MIDI port 23