Download - Rhythmic Auditory Stimulation System

Transcript
Page 1: Rhythmic Auditory Stimulation System

Rhythmic Auditory Stimulation System

Gerard Duff

17th of April 2008

Page 2: Rhythmic Auditory Stimulation System

Today's agenda

• Project Spec

• Research

• Initial Planning

• MP3 Player

• Stride Rate

• Project Summary

• Questions

Page 3: Rhythmic Auditory Stimulation System

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.

Page 4: Rhythmic Auditory Stimulation System

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

Page 5: Rhythmic Auditory Stimulation System

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

Page 6: Rhythmic Auditory Stimulation System

Main Program• Chose a programming language• Three main functions

– Find Stride Rate– MP3 player– Metronome player

Page 7: Rhythmic Auditory Stimulation System

MP3 Player

• Designing GUI– Ease of use

– Display key information

• Basic MP3 player capabilities– Add songs

– Play, stop, skip

• Help Function

Page 8: Rhythmic Auditory Stimulation System

Original Tempo

• Matlab code– Too many samples

required

• Mixmeister– Updates id3 tag

– Fast

Page 9: Rhythmic Auditory Stimulation System

Changing Tempo

• Media rate• Can change speed

sufficiently without affecting pitch

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

slow normal fast

Page 10: Rhythmic Auditory Stimulation System

Metronome

• Provide a metronome function for testing

• Time constraints on project

• Gmans guitar metronome

Page 11: Rhythmic Auditory Stimulation System

Stride Rate

• communicated with the pc via bluetooth

• Interfaced using a HyperTerminal

Page 12: Rhythmic Auditory Stimulation System

Calibrating Accelerometer

• y and z axis were deactivated

• 3.6 g was a sufficient threshold

Page 13: Rhythmic Auditory Stimulation System

Using Matlab

• Fopen,fprintf, fscanf• MatLab.Execute(“.”)

Page 14: Rhythmic Auditory Stimulation System

Project Summary

• Overall I completed– mp3 player– metronome– Started accelerometer

• Developed a system from scratch using a new language

• Future work…

Page 15: Rhythmic Auditory Stimulation System

Thanks

Page 16: Rhythmic Auditory Stimulation System

Demonstration

Page 17: Rhythmic Auditory Stimulation System

Questions?

Page 18: Rhythmic Auditory Stimulation System

Thanks