VOX application

BlitzPlus Forums/BlitzPlus Programming/VOX application

Moore(Posted 2010) [#1]
I want to create a simple teleprompter app that is voice activated. Nothing fancy, when audio levels on the mic hit a certain level the text scrolls. So how do I access the mic????


Moore(Posted 2010) [#2]
Great.... found a solution... using the Bass DLL.

Now... how do I get the textarea gadget to scroll???


ShadowTurtle(Posted 2010) [#3]
Making a textarea gadget automaticaly scrolling is a bit complicated. I think you are using blitzplus productive, so do it into the correct way:

You should use the canvas gadget instead of a textarea. You can output any text with any position on the canvas gadget (per frame!). So you can make a scrolling text (on the canvas gadget).


Moore(Posted 2010) [#4]
Thanks for the reply shadow turtle. I have been able to scroll the text area using the user32.dll. It have a function for faking keyboard input.

As for the canvas idea, it would defeat the purpose of letting the user edit the text. What I did was create a full screen mode that switches the program over to the 2d graphics engine when the preformer is reading the script.