I have been led to you via my university tutors for some help with my final year project.
My project consists of a pulse sensor that reads into the sound card of a computer via the microphone input, my plan is then to take the pulse rate in bpm and compare it to a list of songs to select a piece of music with a tempo equal or close to the pulse rate.
I have a program that will take the tempo of a list of songs imported into it and export the names of the songs and they're relative tempos (in bpm) in a standard .txt file.
basically, what I need is to write a program that will read this imput from my microphone based pulse sensor, I imagine some noise gateing will take place and setting this pulse as a form of click track, then the program will have to read the txt file to find the best suited song. I would like ideally for the program to play the track and then, once it is played, select the next song based on the current heart rate, but for the moment I will settle for it actually just suggesting the best suited song from the list.
I have been told that Max/MSP can help me do this but I really have no idea of how to go about it. Any help, methods or suggestions would be truely well appreciated,