INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Feature Request: Voice Command  (Read 5358 times)

E.O.D.DJ

  • Recent member
  • *
  • Posts: 16
Feature Request: Voice Command
« on: June 20, 2009, 06:23:02 pm »

I poked around on the forums and looking all the way back to MC11 there had been some interest in the ability to issue voice commands for playback. I know the whole home automation world is a system in and of itself but after looking around I still love Media Center as my all in one setup and most existing ones have some pretty horrible interfaces. I've seen leaps and bounds in theater view, making it great for HTPC type setups, and i guess to me voice command for simple things like playback of genres, artists or playlists would be a great step in that direction. I'm kinda torn weather this should be in the plug-ins forum section or here since MC14 is still in development. Has anyone had any luck getting Media Center to play nice with existing Home Automation software (ie voice) or could this be something that might be built into a future Media Center version.

I know this is seriously digging in the depths of the forums but hey search is your friend right.

A few years Ago I Remember IBM And Others Were Working On Computer Speech And Speech Recognition.

If you remember Scotti talking into a mouse on Star Trek 4, we may have laughed at him but it seemed that something would be done with it down at the user level. I feel Microsoft has dropped the ball on realistic speech. Have You Heard The Microsoft Reader? Microsoft's Stock Voices Sound Like Computer Generated Voice, And Not Real.

Dave, "Media Center"

Media Center, Yes Dave?

Dave, Play

Media Center, Play What Dave?

Dave, Play "Love Machine"

Media Center, I Love You Too Dave

Lately I Have Been Playing With TextAloud With AT&T's, And NeoSpeech Realistic Voices Using Text Files And Allowing The Software To Read Typed Stories.

I went To Microsoft But I Have Not Found Any Recent Projects That Microsoft Has Been Working On. I Know J River Went To The Computer Show A Few Months Back.

Any New Projects?

Or Does Speech Recognition Seem To be Dead?

A Realistic Voice Of The Above Typed Text:
http://www.spartasoftware.com/Message-01.mp3


Edit: Quote from King Sparta for better clarity on intent of feature.
Logged

newsposter

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 789
Re: Feature Request: Voice Command
« Reply #1 on: June 20, 2009, 07:39:17 pm »

Or just incorporate the standard msft speech APIs.
Logged

E.O.D.DJ

  • Recent member
  • *
  • Posts: 16
Feature Request: Voice Command
« Reply #2 on: June 23, 2009, 01:44:06 pm »

Good call on the Windows Speech Recognition. I hadn't seen that before you mentioned it. It looks like most of the ground work is there to tie in Media Center. I've been playing with it but I'm not having much luck. Looks like Microsoft added Macros to their Speech Program allowing you to execute command lines off of voice commands. JimH or any other Mod, any chance i can get you to move this thread to the Plug-in Development or Third Party Plug-ins thread, maybe i can recruit some help there from someone on writing these plugins/macro's for MC13/14. Anyone Particularly good with how Media Center's command lines work?

Edit:
I've got a few of the basic playback functions to work so far Play, Next, Previous, Mute. For now its written using the keyboard shortcuts, i'll need to get the command lines down for it to work ideally. However i can now yell at my computer from bed to start playing music and it works, at least in a limited fashion, I'll keep poking around. Here's some of the basic macro language I've set up so far using Windows Speech Recognition Macros:


Windows Speech Recognition Macro's (Required Download)
http://www.microsoft.com/downloads/details.aspx?FamilyID=fad62198-220c-4717-b044-829ae4f7c125

Windows Speech Recognition Macros' Wiki
http://www.microsoft.com/downloads/info.aspx?na=40&p=1&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=fad62198-220c-4717-b044-829ae4f7c125&u=http%3a%2f%2fcode.msdn.microsoft.com%2fwsrmacros%2f

Media Center's Command Lines
http://wiki.jrmediacenter.com/index.php/The_Command_Line

(You will need to turn on Windows Speech Recognition and build the Macro below. As its written right now this only works with something already loaded into Now Playing and Media Center 13 as your active window)

<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
  <command>
    <listenFor>Media Center Play</listenFor>
    <sendKeys>{{CTRL}}p</sendKeys>
  </command>

  <command>
    <listenFor>Media Center Next</listenFor>
    <sendKeys>{{CTRL}}n</sendKeys>
  </command>

  <command>
    <listenFor>Media Center Previous</listenFor>
    <sendKeys>{{CTRL}}l</sendKeys>
  </command>

  <command>
    <listenFor>Media Center Mute</listenFor>
    <sendKeys>{{CTRL}}m</sendKeys>
  </command>

<Signature>
[Your Digital Signature]
</Signature>
</speechMacros>




Logged

Daydream

  • Citizen of the Universe
  • *****
  • Posts: 771
Re: Feature Request: Voice Command
« Reply #3 on: June 23, 2009, 04:47:00 pm »

Drinking alone is a dangerous form of alcoholism; that is why is good to drink in front of a mirror.

Same for the voice command. One would be in great danger of looking nuts, talking to his electronics. Especially if the electronics don't answer back with a suave Majel Barrett voice.
Logged

E.O.D.DJ

  • Recent member
  • *
  • Posts: 16
Re: Feature Request: Voice Command
« Reply #4 on: June 23, 2009, 06:10:38 pm »

Quite true, in fact of all the things I've lost I miss my mind the most.
Logged

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2222
Re: Feature Request: Voice Command
« Reply #5 on: October 30, 2009, 12:21:29 am »

I was just thinking, something like this would be really cool to have in MC!
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Re: Feature Request: Voice Command
« Reply #6 on: October 30, 2009, 01:00:23 am »

This is fantastic!!
I am a long haul Truck Driver and if I could controll mc with voice commands it would be a lot safer while I am driveing (10-11) hours every day.
currently I am useing a usb uirt and a remote and frankly I dont like taking a hand off the wheel to mess with little almost unreadable button's on most remotes.
Speach controll would Truely ROCK MY World !!
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Feature Request: Voice Command
« Reply #7 on: October 30, 2009, 02:59:06 am »

i dont have speach recognition installed, but i think you could also add mcc commands http://wiki.jrmediacenter.com/index.php/Media_Center_Core_Commands

for instance use
mc14.exe /mcc 10047,1
to start mc radio.

i gues with
mc14.exe /PlayReplace TREEPATH=Playlists\\Rock
to start a smart list (you have to make) called rock.

it looks like there is something possible there

 :)
gab
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9140
Re: Feature Request: Voice Command
« Reply #8 on: October 30, 2009, 03:14:39 am »

the playing now plugin has very rudimentary speech. It can announce each track as it starts. Sadly, development stopped almost as soon as it started, so, safe to say it will never get refined. it can do it though, so it is definitely possible...

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Re: Feature Request: Voice Command
« Reply #9 on: October 30, 2009, 08:26:34 pm »

I have been messing around with this for a bit and this is my Macro so far.

<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
 
<command>
    <listenFor>mc play</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Play"/>
  </command>
<command>
    <listenFor>mc Pause</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Pause"/>
  </command>
<command>
    <listenFor>mc stop</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Stop"/>
  </command>
<command>
    <listenFor>mc last</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Previous "/>
  </command>
<command>
    <listenFor>mc next</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Next"/>
  </command>
<command>
    <listenFor>mc mute</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Mute"/>
  </command>
 
<Signature>

</Signature>
</speechMacros>


I am working on more core commands and I am also going to give the /mcc commands a try prolly tomorrow.
I have found that you have to fiddle with the mic levels a bit to get good results, as for some reason the headset mic channel is picking up playing music.
So far voice control has been fabulous for me.
 
Logged

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Latest version of my Media Center 14 speech controll macro
« Reply #10 on: November 01, 2009, 03:25:32 am »

<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
 
<command>
    <listenFor>play</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Play"/>
  </command>
<command>
    <listenFor>Pause</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Pause"/>
  </command>
<command>
    <listenFor>stop</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Stop"/>
  </command>
<command>
    <listenFor>last</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Previous "/>
  </command>
<command>
    <listenFor>next</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Next"/>
  </command>
<command>
    <listenFor>mute</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Mute"/>
  </command>
<command>
    <listenFor>repeat</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 10045 ,0"/>
  </command>
  <command>
    <listenFor>standard</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,0"/>
  </command>
 <command>
    <listenFor>mini</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,1"/>
  </command>
   <command>
    <listenFor>display</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,2"/>
  </command>
   <command>
    <listenFor>Theater</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,3"/>
  </command>
   <command>
    <listenFor>home</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,1"/>
  </command>
   <command>
    <listenFor>playing now</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,2"/>
  </command>
   <command>
    <listenFor>audio</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001,3"/>
  </command>
   <command>
    <listenFor>image</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,4"/>
  </command>
   <command>
    <listenFor>video</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,5"/>
  </command>
   <command>
    <listenFor>playlist</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001,6"/>
  </command>
   
<Signature>

</Signature>
</speechMacros>



I will be going back and converting command lines with proper MCC commands in a few day's.
I hardly ever have to touch a remote now , I LOVE voice control it's making my life so much simpler.
Logged

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Re: Feature Request: Voice Command
« Reply #11 on: November 03, 2009, 02:30:40 am »

new version of my window's speech recognition macro



<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
 
<command>
    <listenFor>play</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Play"/>
  </command>
<command>
    <listenFor>Pause</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Pause"/>
  </command>
<command>
    <listenFor>stop</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Stop"/>
  </command>
<command>
    <listenFor>last</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Previous "/>
  </command>
<command>
    <listenFor>next</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Next"/>
  </command>
<command>
    <listenFor>mute</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/Command Mute"/>
  </command>
<command>
    <listenFor>repeat</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 10045 ,0"/>
   </command>
<command>
    <listenFor>standard</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,0"/>
  </command>
<command>
    <listenFor>mini</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,1"/>
  </command>
<command>
    <listenFor>display</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,2"/>
  </command>
<command>
    <listenFor>Theater</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22000 ,3"/>
  </command>
<command>
    <listenFor>home</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,1"/>
  </command>
<command>
    <listenFor>playing now</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,2"/>
  </command>
<command>
    <listenFor>audio</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001,3"/>
  </command>
<command>
    <listenFor>image</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,4"/>
  </command>
<command>
    <listenFor>video</listenFor>
    <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001 ,5"/>
  </command>
<command>
    <listenFor>playlist</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 22001,6"/>
  </command>
<command> 
    <listenFor>up</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,38"/>
  </command>
<command> 
    <listenFor>up two</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,38"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,38"/>
  </command>
<command> 
    <listenFor>up three</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,38"/>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,38"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,38"/>
  </command> 
<command> 
    <listenFor>down</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,40"/>
  </command>
<command> 
    <listenFor>down two</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,40"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,40"/>
  </command>
<command> 
    <listenFor>down three</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,40"/>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,40"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,40"/>
  </command> 
<command> 
    <listenFor>left</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,37"/>
  </command>
<command> 
    <listenFor>left two</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,37"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,37"/>
  </command>
<command> 
    <listenFor>left three</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,37"/>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,37"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,37"/>
  </command> 
<command> 
    <listenFor>right</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,39"/>
  </command>
<command> 
    <listenFor>right two</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,39"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,39"/>
  </command>
<command> 
    <listenFor>right three</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,39"/>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,39"/>
   <run command="C:\WINDOWS\sYSTEM32\MC14.EXE" params="/MCC 27000,39"/>
  </command> 
<command> 
    <listenFor>enter</listenFor>
   <run command="C:\WINDOWS\System32\MC14.exe" params="/MCC 27000,13"/>
  </command>
<Signature>

</Signature>
</speechMacros>




Logged

HTPC4ME

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2760
  • LIFE IS A RADIO... CRANK IT UP TO 11!
Re: Feature Request: Voice Command
« Reply #12 on: August 26, 2010, 09:39:47 pm »

666JackTheKnife666... you still using voice commands? how do you like it? my goal.. to be able to be away from pc and say out loud 5 star this song, and move this song to keywords, and play audio-acdc-thunderstruck... is this all possible? being this post was over a year ago, has anything changed? are you still using windows speech? have ya tried dragon? any suggestions please to implement this into my system.

Thanks For Your Time.
Logged

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Re: Feature Request: Voice Command
« Reply #13 on: September 01, 2010, 07:31:18 pm »

I am using a combination of voice commands and my android phone to control MC. I am in the process of switching from stock windows speech to voxcommando a plugin for eventghost. I think voxcommando is a lot more flexable then windows speech interface. (even though voxcommando uses parts of windows speech for input.)http://voxcommando.com/

I use a wired headset with a microphone attached to speak to the computer, so I don't know how well it would work for you to use and omni directional mic sitting somplace in your listening room and you just speaking out loud. cant hurt to try I suppose.
Logged

HTPC4ME

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2760
  • LIFE IS A RADIO... CRANK IT UP TO 11!
Re: Feature Request: Voice Command
« Reply #14 on: September 01, 2010, 07:34:05 pm »

thanx for reply.. will check it out


my goal.. to be able to be away from pc and say out loud... 5 star this song, and move this song to keywords, and play audio-acdc-thunderstruck, open theaterview. use gforce visualization etc... is this all possible?
Logged

jroyale

  • Galactic Citizen
  • ****
  • Posts: 349
Re: Feature Request: Voice Command
« Reply #15 on: October 25, 2010, 08:24:57 am »

Noob when it comes to this stuff.

So I click the macro wiki, then click the using the macro wizard then I'm left with these options.  Which one do I choose or is there an easier step by step process I can use to copy and paste the command lines below.

Also, if I wanted a voice command for a particularly movie what command lines and switches would I use for jrmc.  A friend of mine told me usuaully this works:

mediaplayer.exe "x:movies\mymovie.mkv"

Thanks.

"Using the Speech Macros Wizard
This tutorial will help you create your own Speech Macros using the 'Windows Speech Recognition Macros' wizard.


Overview
More specifically, this tutorial teaches you how to:

Create an 'Insert Text' Speech Macro
Create a 'Run a Program' Speech Macro
Create a 'Send Keystrokes' Speech Macro
Create an 'Emulate Recognition' Speech Macro
Create an 'Advanced' Speech Macro"
Logged

jroyale

  • Galactic Citizen
  • ****
  • Posts: 349
Re: Feature Request: Voice Command
« Reply #16 on: October 25, 2010, 05:54:47 pm »

I think i've done it right.  Create an xml macro but no luck at all getting the macro to work or for speech to recognize it.  Any ideas would be greatly appreciated.
Logged

jroyale

  • Galactic Citizen
  • ****
  • Posts: 349
Re: Feature Request: Voice Command
« Reply #17 on: October 29, 2010, 08:50:06 am »

Well not getting much input here but I'll post anyway.  For some reason the switch applications command in windows speech recognition is not recognizing jriver.  The list of apps will come up and jriver is never on it.

Would it matter if i'm running the mc14.exe from the system 32 file folder? 
Logged
Pages: [1]   Go Up