This is a sequel to last week's tip about the footpedal access using the serial port.
I figured out how to interface the footpedal with the PC and recognize the pedal presses but I had an important problem. The goal of this real life project was to help medical transcription folks to be able to rewind(left pedal), pause and play(middle pedal) and fast forward(right pedal) with the footpedal when transcribing the doctor's audio feed. After vacillating between sox, audacity and vlc, suddenly when speaking to Shuveb I found that mplayer comes with brilliant support for seeking which no other player gives. That was the main issue. Usually audio and video players come with a slider that you have to drag to rewind and fwd. That is not what I want. And I finished this project in no time after that. This is why having intelligent friends are important. Nearly all my friends are from LUG only. That is why I put up with all the bad aspects of ILUGC. I gain so much that occasional insults are fine. ;) Anyway now please go to this page: http://gayari-hitech.com/languageclasses and go to the medical transcription part. I have put up the diffs and the full source of footpedal.c which I added to the directory MPlayer-1.0.rc2/input Hopefully the source files are self explanatory. Most real life purposes involves changing existing code. I did this work with a bit of hard work and a lot of guess work. ;) You can easily find out how the existing code works. And then you do "copy paste" to fit your needs. Look at the value I created. You can now use the footpedal in Windows for medical transcription. This is for free! Wonderful no? All it took me was a week. -Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
