Author Topic: Voxcommando Speech to Milkdrop Visualisation.  (Read 5287 times)

0 Members and 1 Guest are viewing this topic.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Voxcommando Speech to Milkdrop Visualisation.
« on: June 06, 2014, 09:25:36 AM »
Hi

here's a demo of voxcommando tts to milkdrop visualisation.



http://youtu.be/9DQXPorzDMo
Neural Net Based Artificial Intelligence.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #1 on: June 06, 2014, 10:09:11 AM »
Are you using some kind of "line-in" trick in WinAmp?

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #2 on: June 06, 2014, 10:56:07 AM »
Are you using some kind of "line-in" trick in WinAmp?

Yes for now  ;D
Neural Net Based Artificial Intelligence.

Hiryu

  • Contributor
  • ***
  • Posts: 53
  • Karma: 2
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #3 on: August 20, 2014, 05:46:33 PM »
Is this through something like VAC to Winamp?  How does one do this?

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #4 on: August 24, 2014, 08:43:43 AM »
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.
« Last Edit: August 24, 2014, 10:51:36 AM by xtermin8r »
Neural Net Based Artificial Intelligence.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #5 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.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #6 on: August 24, 2014, 06:05:37 PM »
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/
« Last Edit: August 24, 2014, 06:12:27 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #7 on: August 24, 2014, 06:25:05 PM »
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.

Code: [Select]
<?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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #8 on: August 24, 2014, 07:35:03 PM »
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

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #9 on: August 24, 2014, 11:43:20 PM »

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

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #10 on: August 25, 2014, 01:36:27 PM »
below is my method to enable line in for winamp by using command line parameters : Simple

Code: [Select]
<?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

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #11 on: August 25, 2014, 01:53:20 PM »
All hail the command line.
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Voxcommando Speech to Milkdrop Visualisation.
« Reply #12 on: August 25, 2014, 02:09:46 PM »
below is my method to enable line in for winamp by using command line parameters : Simple

Nice!  ;D