AW: [SDL] Re: Audio Input: Needed? Wanted? Implementation pla nned?
Sascha Günther
s.guenther at lives.de
Tue Mar 27 01:52:25 PST 2001
As I said before, I do not think that SDL should handle that. Maybe there
could be an event like SDL_EVENT_MICON, where SDL checks for a sound in
between a minimum and a maximum frequency with a minimum volume to come in
and pushs this event to the queue, but voice commands... ohhh, I guess this
should be handeled above SDL, while this seems to be not a general input
source. (Maybe one wants to handle Audio-Input for other reasons, such as
simple recording the input for a later output or stuff..)
I think, Audio-input should be as "simple" as possible, or better lets say,
as basic as possible...
Regards,
Sascha
Am Dienstag, 27. März 2001 11:13 schrieben Sie:
> Hi,
>
> this would definitely be a nice idea, but you'd need serious
> DSP (digital signal processing) to get from voice commands to
> an sdl event. DSP is also quite computationally intensive. Is
> there a gnu speech recognition library?
>
> om
>
> >It just occured to me that you might like to have an "Audio Trigger"
> >event --
> >i.e. that you can set a volume to trigger an SDL event. That would be
> >like a voice-activated mike. It'd be very handy for a voice-command
> >system,
> >and would seem to fit into the SDL API reasonably well. Voice events
> >could
> >be interpreted by application code just like keyboard events etc. The
> >callback function would probably have to go and get the buffered audio
> >input datastream. You could also use this threshhold to determine when
> >audio
> >should be recorded to the buffer.
> >
> >Just an idea.
> >
> >--
> >Terry Hancock
> >hancock at earthlink.net
More information about the SDL
mailing list