Easy Voice Control for MediaMonkey

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Easy Voice Control for MediaMonkey

Re: Easy Voice Control for MediaMonkey

by jitterjames » Fri Nov 19, 2010 5:45 pm

I just uploaded version 0.851 of VoxCommando which addresses most of the issues discussed here.

http://www.voxcommando.com/downloads.asp

There are of course various new features. One of them is support for the Amulet Voice Remote.

http://www.youtube.com/watch?v=Hw065b9b-d0

Re: Easy Voice Control for MediaMonkey

by sirandar » Mon Nov 01, 2010 9:15 pm

Thanks James, I was trying to do rating =5 and is wasn't working for obvious reasons. I tried your suggestion, in my case rating =100 and it worked perfectly. Imagine my puzzlement when I kept entering rating = 5 and getting no hits ;)

The filter thing might still be useful if it isn't difficult to do .... I have a feeling it would be.

jitterjames wrote:yes VoxCommando can call playlists by name, but what Sirandar wants is to be able to ask for any artist by name and play songs by that artist with a high rating.
'
It's pretty easy to do Sirandar. There is already a command "play hits by artist <xyz>"
Edit the parameter from the first action ( MM.LoadBySQL ) in that command to look like this:

Code: Select all

Artist Like "{1}" AND rating >= 80 order by random() limit 200
the part "order by random() limit 200" at the end is optional

edit: I will see if there is a way to honour the current MM filter as well

Re: Easy Voice Control for MediaMonkey

by jitterjames » Mon Nov 01, 2010 6:07 am

yes VoxCommando can call playlists by name, but what Sirandar wants is to be able to ask for any artist by name and play songs by that artist with a high rating.
'
It's pretty easy to do Sirandar. There is already a command "play hits by artist <xyz>"
Edit the parameter from the first action ( MM.LoadBySQL ) in that command to look like this:

Code: Select all

Artist Like "{1}" AND rating >= 80 order by random() limit 200
the part "order by random() limit 200" at the end is optional

edit: I will see if there is a way to honour the current MM filter as well

Re: Easy Voice Control for MediaMonkey

by rovingcowboy » Mon Nov 01, 2010 1:15 am

on the sample you said about the 5 star rating songs that can be done simple if you make an auto playlist for only those songs with that rating and have the vox play the playlist name.

if you can make auto playlists for your other filters i don't know?

not even sure if the vox plugin will play a playlist by name?

8)

Re: Easy Voice Control for MediaMonkey

by sirandar » Sun Oct 31, 2010 11:45 pm

Hello James

Your custom Vox plugin is one of the best addons for MM. Fastest way to play a song.

There is one thing that you should fix if you can. Vox ignores any filters you have set in MM. For example if you set a filter in MM3 for bests tracks (rating 5) it would be very useful for Vox to only play those tracks. The way Vox-MM3 works this may not be trivial. It would have to GenXML every time you apply a filter and check the filter and re-GenXML every time MM3 starts. Perhaps too complicated.

Otherwise how would I add a SQL command to play only the best tracks when Vox plays an artist or genre?

Re: Easy Voice Control for MediaMonkey

by jitterjames » Thu Oct 28, 2010 9:18 am

here's a great little free command line utility that lets you change the system volume and do much more

you can call it from VC using the launch command.

http://www.nirsoft.net/utils/nircmd.html

Re: Easy Voice Control for MediaMonkey

by jitterjames » Thu Oct 28, 2010 8:39 am

hmmm. there does seem to be a bug in the listen single command. I it will be fixed in the next version for sure.

there is currently no way to directly control the system volume.

Re: Easy Voice Control for MediaMonkey

by sirandar » Wed Oct 27, 2010 10:51 pm

I was wondering if Vox can control the windows volume directly without eventGhost

Re: Easy Voice Control for MediaMonkey

by sirandar » Wed Oct 27, 2010 8:32 pm

jitterjames wrote:on the options page of VoxCommando, on the left side, near the bottom there is a field named:

idle timeout (sec)

the default value is 0 which means it is disabled. If you set this to 12, then if 12 seconds passes after any command, without another command being recognized, it will timeout and switch back to standby mode.

Your other option is to use intelliremote to send the script command:

UdpIp(localhost, 33000, "vox&&single")

and then VoxCommando will listen, and automatically switch to standby after recognizing 1 command.

Thanks for all your help ...... the UDP commnd works almost perfectly on my system. UdpIp(localhost, 33000, "vox&&single") switches to listen mode but it stays in that mode even after multiple commands. The timeout setting works. Seems more reliable to just add a standby command to every Media Monkey entry in the command editor

Re: Easy Voice Control for MediaMonkey

by jitterjames » Wed Oct 27, 2010 8:01 pm

on the options page of VoxCommando, on the left side, near the bottom there is a field named:

idle timeout (sec)

the default value is 0 which means it is disabled. If you set this to 12, then if 12 seconds passes after any command, without another command being recognized, it will timeout and switch back to standby mode.

Your other option is to use intelliremote to send the script command:

UdpIp(localhost, 33000, "vox&&single")

and then VoxCommando will listen, and automatically switch to standby after recognizing 1 command.

Re: Easy Voice Control for MediaMonkey

by sirandar » Wed Oct 27, 2010 7:29 pm

jitterjames wrote: 2 done - just look in options, you can also tell VoxCommando to only listen for a single command, using a remote. This is not time based, it will listen until it thinks that it has understood a command, and then switch to standby right away.
Had a look and couldn't find this ...... I can program is manually using the command editor

Re: Easy Voice Control for MediaMonkey

by sirandar » Wed Oct 27, 2010 7:24 pm

jitterjames wrote:Hey Sirandar, just wondering, how far from your Orbit webcam can you sit and still get good results without having to yell? Assuming a relatively quiet room. I have a board dedicated to microphones for VC and would like to add the info.
Hello Jitterjames

My Orbit will work in the same room, in the hallway next to the same room and in the next room.

PS Noise cancelling microphones are not even close to what I was suggesting. Noise cancelling mics only compare sound levels at two points and guess which is the noise. Comparing mic input subtracted from a digital info in the MP3 has the potential to be more effective. But I would be hard to implement given your system.

Re: Easy Voice Control for MediaMonkey

by jitterjames » Wed Oct 27, 2010 8:38 am

Hey Sirandar, just wondering, how far from your Orbit webcam can you sit and still get good results without having to yell? Assuming a relatively quiet room. I have a board dedicated to microphones for VC and would like to add the info.

Re: Easy Voice Control for MediaMonkey

by jitterjames » Wed Oct 27, 2010 8:35 am

ok, no problem using Intelliremote. You can send the commands to VC very easily. The 33000 is the default udp listening port in Vox but you can change it in options if you need to.

just create one of the following script commands in Intelliremote

UdpIp(localhost, 33000, "vox&&off")

UdpIp(localhost, 33000, "vox&&on")

UdpIp(localhost, 33000, "vox&&standby")

UdpIp(localhost, 33000, "vox&&single")

UdpIp(localhost, 33000, "vox&&reset")

the single command listens for 1 command and then switches to standby mode
reset can be useful to reconnect to the default recording device

note that you can also do much more stuff from Intelliremote such as turn groups of commands on and off. Useful if you wanted to switch between MediaMonkey and another program, and still use the same command like "Play" for both.

Re: Easy Voice Control for MediaMonkey

by jitterjames » Wed Oct 27, 2010 8:15 am

1 done - it is possible from eventGhost, or any program that can send udp text broadcasts. I will look into intelliremote, I am betting that it can send udp text. I don't much like the idea of global keypresses but if there is enough demand we can do it. I also have made a tiny command line utility that sends udp so that would be the one to use for any remote than can call a custom program, or a programmable keyboard for instance.

2 done - just look in options, you can also tell VoxCommando to only listen for a single command, using a remote. This is not time based, it will listen until it thinks that it has understood a command, and then switch to standby right away.

3 done - well, sort of, look earlier in this thread for "acoustic echo cancellation" I have mentioned it twice in this thread and even uploaded a picture showing it highlighted it in the menu. It is only available for certain microphones though, I don't think it works with USB mics. It is not something that we can implement directly because we are using the excellent speech engine provided by windows and we are confined a bit by that.

Top