News:

VoxCommando supports plugins for a wide variety of programs and devices. Contact us if you want to create your own.

Main Menu

Voxcommando Speech to Milkdrop Visualisation.

Started by xtermin8r, June 06, 2014, 09:25:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xtermin8r

Neural Net Based Artificial Intelligence.

jitterjames

Are you using some kind of "line-in" trick in WinAmp?

xtermin8r

Neural Net Based Artificial Intelligence.

Hiryu

Is this through something like VAC to Winamp?  How does one do this?

xtermin8r

#4
Quote from: Hiryu on August 20, 2014, 05:46:33 PM
Is this through something like VAC to Winamp?  How does one do this?

i dont use vac, i think i used vc or an autoit script to write to a  file called milk2_msg.ini, which resides in the milkdrop visualisation folder, then i refresh the milkdrop visualisation.

i will take a look again and let you know how i did it.
Neural Net Based Artificial Intelligence.

jitterjames

I think the burning question is, how do you get milkdrop to respond to the TTS audio.

xtermin8r

#6
Quote from: jitterjames on August 24, 2014, 11:49:10 AM
I think the burning question is, how do you get milkdrop to respond to the TTS audio.

terribly sorry, i thought that video had something to do with the milkdrop osd being displayed.

this is how it's done :

1. Enable line in for winamp by right clicking on the eject button and selecting open url then pasting linein:// as the url.
2. Enable stereo mix

that's it i think.

some info to guide you :
http://vjforums.info/threads/winamp-milkdrop-audio-input.6637/
Neural Net Based Artificial Intelligence.

nime5ter

Ah. Stereo mix. That's what I couldn't figure out. Thanks xtermin8r.

As long as/once stereo mix has been enabled as described in the thread linked to above, a command along the lines of the following should work to change Winamp to linein input.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.0.0.8-->
<command id="277" name="Enable TTS visualisation" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
 <action>
   <cmdType>Window.Focus</cmdType>
   <params>
     <param>winamp</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>InputKeys.Send</cmdType>
   <params>
     <param>{CONTROL+L}</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>InputKeys.TextEntry</cmdType>
   <params>
     <param>linein://</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>InputKeys.Send</cmdType>
   <params>
     <param>{ENTER}</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>VC.Pause</cmdType>
   <params>
     <param>1400</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <action>
   <cmdType>TTS.Speak</cmdType>
   <params>
     <param>one potato. two potato. three potato. four. testing milk drop visualisation.</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <phrase>Enable T.T.S. visualisation</phrase>
</command>



TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

I just want to point out that not all systems will have "stereo mix" as an input option.  My htpc does not. Hopefully most do.

Haddood


Maybe most people know this but with windows 7 stereo mix is disabled by default and hidden ... To enable it right click the speaker into the system tray, then select recording devices. Right click in the white portion of the window where recording devices are listed then select show the sable devices. You should get this stereo mix listed in there.

If it still doesn't show it means you need a new driver (I had to change the driver in Mac mini bootcamp to get stereo mix)
When Voice command gets tough, use hand gestures

xtermin8r

below is my method to enable line in for winamp by using command line parameters : Simple

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.6-->
<command id="1169" name="Line In" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
 <action>
   <cmdType>Launch.Hidden</cmdType>
   <params>
     <param>E:\Appz\Media Players\Winamp_5.66\winamp.exe</param>
     <param>linein://</param>
   </params>
   <cmdRepeat>1</cmdRepeat>
 </action>
 <phrase>Line In</phrase>
</command>


Neural Net Based Artificial Intelligence.

nime5ter

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

Quote from: xtermin8r on August 25, 2014, 01:36:27 PM
below is my method to enable line in for winamp by using command line parameters : Simple

Nice!  ;D