Rhythmic Auditory Stimulation System

Download Report

Transcript Rhythmic Auditory Stimulation System

Rhythmic Auditory Stimulation
System
Gerard Duff
17th of April 2008
Today's agenda
•
•
•
•
•
•
•
Project Spec
Research
Initial Planning
MP3 Player
Stride Rate
Project Summary
Questions
Project Spec
• Music Therapy is used in neurologic
rehabilitation.
• Studies have shown that the effects of RAS
on Parkinson's disease, improves stride
length and stride-to-stride variability
• Design a pc based music system that will play
back music in rhythm to the users ideal stride
frequency.
Research
• Audio files
• Find a song with a
suitable tempo
• Hard to find songs
• Nice to listen to
•
•
•
•
Synthesized music
Make up song
Easy to change tempo
Hard to find nice
songs
Initial Planning
Accelerometer:
Used to detect leg
movements
HyperTerminal:
Accelerometer used
Bluetooth to connect
with pc and send raw
data to it.
Mp3 Player:
User input stride rate
and audio file speed was
adjusted to match the
stride rate.
Matlab:
Interfaced with
HyperTerminal, received
raw data values and
calculated the stride rate
Main Program
• Chose a programming language
• Three main functions
– Find Stride Rate
– MP3 player
– Metronome player
MP3 Player
• Designing GUI
– Ease of use
– Display key
information
• Basic MP3 player
capabilities
– Add songs
– Play, stop, skip
• Help Function
Original Tempo
• Matlab code
– Too many samples
required
• Mixmeister
– Updates id3 tag
– Fast
Changing Tempo
• Media rate
• Can change speed
sufficiently without
affecting pitch
1.8
1.6
1.4
1.2
1
0.8
0.6
0.4
0.2
0
slow
normal
fast
Metronome
• Provide a metronome
function for testing
• Time constraints on
project
• Gmans guitar
metronome
Stride Rate
• communicated with
the pc via bluetooth
• Interfaced using a
HyperTerminal
Calibrating Accelerometer
• y and z axis were
deactivated
• 3.6 g was a sufficient
threshold
Using Matlab
• Fopen,fprintf, fscanf
• MatLab.Execute(“.”)
Project Summary
• Overall I completed
– mp3 player
– metronome
– Started accelerometer
• Developed a system from scratch using a
new language
• Future work…
Thanks
Demonstration
Questions?
Thanks