Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: xor2008 on February 10, 2011, 02:43:21 PM

Title: antistammering plugin
Post by: xor2008 on February 10, 2011, 02:43:21 PM
I'm from Russia. I have seen in the news a device which can cure stammering/stuttering.
The sound which recorded by microphone is placed in the device memory and then it played with some delay. Brain is waiting to hear when current syllable ends.

See http://en.wikipedia.org/wiki/Electronic_fluency_devices#Delayed_auditory_feedback

You can implement such plugin which will delay sounds from microphone and play it to earphones in Rockbox and to help people with stuttering.
The effect can be seen almost immediately. But brain doesn't get accustomed immediately. It need practice.

Is it possible to implement?
Can some device record and play in the same time? Maybe lossless format is required? (mono 22050KHz)

Title: Re: antistammering plugin
Post by: saratoga on February 10, 2011, 02:50:16 PM
Can some device record and play in the same time?

Not in rockbox, although I suppose if you were motivated enough you could write software to do that.  

Edit: I suppose if you just want to hack something together, theres no reason you couldn't just ignore our playback/recording code and have a plugin directly control the audio hardware.  Taking the line in data, buffering it for 100ms and then playing it back through the dac should be pretty straightforward. 
Title: Re: antistammering plugin
Post by: xor2008 on February 10, 2011, 04:04:52 PM
I could. But unfortunatly I don't have any Rockbox device  :(