Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Snodric

Pages: [1] 2
1
Thanks for that, I'm wanting to keep it more to the original specifications of having it announce the "last track" and the "current track" after every few songs.  Also with the XJSON.connect monitoring of notifications, is that specific to a change in song or any notifications. 

I'll read in to that..  Thanks....

Looking forward to seeing the video! Please show us how to put the code into VoxCommando!

2
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: May 04, 2013, 10:20:52 PM »
Thanks! I think I finally got it - what was throwing me off was the additional commands that come below the 'set audio by name' command. They were part of the group that you posted and I didn't realize that they were different ways of sending what you want Voxcommando to do. I'm not sure how to use them yet - need to watch the various videos again. However, you'll see that I followed your advice and set up the two commands (one to set the audio to the analog speakers (for the in-ceiling speakers throughout the house) and one to set the audio to the digital speakers (for the home theatre) and it works well.

After all that, however, when I try to play music from XBMC out through the analog port from the computer, I don't get sound. I think that you'd mentioned this earlier that XBMC will only push out audio digitally? I'm going to workaround that by ordering a piece of hardware that converts a digital audio signal to analog (AC3 DTS DD 5.1 Audio Gear decoder aka HD Audio Rush from alliexpress.com).

Hopefully this of some use to others :)

3
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: May 04, 2013, 05:30:49 PM »
I'm sure this is simple and I'm missing something obvious... but, I can't seem to get it. I've attached another screen shot - seems to me that I shouldn't have just 'speakers' as the audio endpoint? I've attached a couple of other screenshots that might help?

4
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: May 04, 2013, 04:20:11 PM »
Having given some more thought to my particular set up, I think that what would work best is if I am able to say "set (or 'change') audio to speakers" to change the audio output to 'Speakers (Realtek High Definition Audio) and say "set (or 'change) audio to digital" to change the audio output to 'Realtek Digital Output (Optical) (Realtek High Definition Audio).

This will allow me to instruct the computer which audio output to choose ('digital' is the home theatre and 'speakers' is the rest of the house) and then start choosing music. If I move from the Home Theatre to the rest of the house (or vice versa) I can just say one of those two phrases (depending on where I am) and the music will follow me.

I have the audioendpoint xml loaded that you sent to me previously. I've attached screenshots that hopefully are self-explanatory. I'm just not sure how to do the above...

Can you please [attachment=2]help me get started? Thanks!

5
Tried Bluestacks and it works like a charm! Thanks so much for this suggestion!

6
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: May 02, 2013, 09:42:28 PM »
Thanks for all of your help. I've attached the png that shows the names of the audio devices (that I'd meant to attach to the earlier post).

What I had tried to say was that your suggestion of using the TTS audio output to a specific audio was a better solution than the one I had thought would work (saying a phrase to put the audio to the ceiling speakers and then saying another phrase to reset it back to the theatre room speakers).

Basically I'd like to use XBMC and the optical audio out for movies in the home theatre, but use XBMC (or Itunes) and the ceiling speakers out throughout the house for music. The reason I need to switch audio outs is because the optical out goes to an Onkyo amplifier that processes the sound for the home theatre whereas the music/weather goes to a different amplifier that pushes out the audio to the ceiling speakers in the rest of the house.

What I've set up for the weather is that I have three different weather phrases : 'weather today', 'weather tomorrow' and 'weather forecast' (which is for next five days). I've got a TTS.SetOutput command in each of those situations that sets the audio to 'speakers'. That tells VoxCommando to put the weather audio output to the ceiling speakers.

Should I do the same for each of the XBMC music-related commands or is the better/more elegant way of doing this?

7
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: May 02, 2013, 11:06:33 AM »
Thanks! Setting the audio to the ceiling speakers for that command was a much better solution and worked nicely. I think that what I'll do is set up a command that will set the output to the ceiling speakers if I say 'ceiling speakers'. Most of the time I'd want the output to be in the theatre room. Occasionally I want it to go to the ceiling speakers. Is there a way to set up a global command that if I say 'ceiling speakers' 'play artist Rolling Stones ' (eg.) that it will play the audio through the ceiling speakers (the identifying word is 'speakers'). Can you give me a sense of how to do that?

8
I've got VoxCommando set up in a home theatre computer that is resident in a utility room. I am currently using my Android phone with the VoxCommando app to control the home theatre computer. My wife has a laptop in her office in the house and there is another laptop in our kitchen. I'd like to be able to send voice commands from each of those two laptops (using the built-in microphones) to the home theatre computer. Is this possible?

9
Other Plugins / Re: Set Default Audio Output Device in Win7
« on: April 30, 2013, 11:48:35 PM »
Need some help :)

I've added the Audioendpoint plugin as I'd like to be able to switch between :

1. audio to the home theatre via optical out from the computer (this is for use with XBMC in our home theatre); and
2. audio to the ceiling speakers throughout the house via the analog out from the computer (this is for use with the WeatherUnderground plugin - so I can ask the computer what the weather will be like when I wake up in the morning and have it play throughout the house's in-ceiling speakers).

I've imported the standard group as per your earlier post. I've attached a self-explanatory pdf that shows the osd when I press 'save and execute'. In the pdf the two sources that I want to use are :

1. Realtek Digital Output (Optical) (Realtek High Definition Audio); and
2. Speakers (Realtek High Definition Audio)

What I'd like to set up is being able to say :

1. "set audio to digital" and have it switch to number 1 above; and
2. "set audio to analog" and have it switch to number 2 above

Is anyone able to give me some help please (or point me in the right direction)?

Thanks in advance!than

10
Thanks! That's awesome. That fixed it and helped me make it sound nice!  Here's my code for today's weather and the result :

Code : The current temperature is {C.temp_c} degrees and {C.weather}. The forecast for today is a high of {D0.high} and {D0.conditions}, with a low tonight of {D1.low}

Result : The current temperature is 2 degrees and Light Snow. The forecast for today is a high of 9 and Mostly Cloudy, with a low tonight of -5


And here's my code for the weeks' forecast  :

Code : Forecast for the week is a high of {D0.high} and {D0.conditions} today. {D1.weekday} {D1.high} and {D1.conditions}, {D2.weekday} {D2.high} and {D2.conditions}, {D3.weekday} {D3.high} and {D3.conditions}, {D4.weekday} {D4.high} and {D4.conditions}.

Result : Forecast for the week is a high of 9 and Mostly Cloudy today. Tuesday 3 and Mostly Cloudy, Wednesday 10 and Partly Cloudy, Thursday 16 and Mostly Cloudy, Friday 13 and Chance of Rain.

I assumed that the daily low temperatures start with today's low which would use a '0' for the # in [D#.low} and that tomorrow's low temperature would be {D1.low}

This would be consistent (I think) with the other numbering for daily numbers as they start at '0' for today and '1' for tomorrow and so on, but I'm not sure.

11
Thanks. I stopped replacing the 'c' with 'degrees' and simply put the word 'degrees' into the code wherever I wanted the computer to say 'degrees' and that works perfectly. A couple of follow-up questions, if I may  ;D

What does the period (".") represent when it appears OUTSIDE of the curly brackets?

How do you get the computer to pause (I'm having it do tts) between phrases such as follows :

Here's my code for today's weather:   The current temperature is {C.temp_c} degrees The forecast for today is a high of {D0.high} and {D0.conditions} with a low tonight of {D1.low}

The output is :      The current temperature is 2 degrees the forecast for today is a high of 9 and mostly cloudy with a low tonight of  -5

In other words, what can I add to the above code to have it pause after the word 'degrees'?

12
I put in the code you suggested but it seems to 'mash' the results together. I've attached a screen print of the code in Option '0' and the result displayed when I click on 'test'

13
Thanks Kalle. I had no problem making the change to replace the 'C' with 'Degrees'.

However, I'm really struggling with the other changes. I don't have any (significant) experience 'coding' and have tried putting the variables into line 2 (I wanted to leave the ones I'm using ('Current Weather Format', '0' and '3') but without success. The problem is that I don't have experience with the use of the 'curly' brackets, where to put commas and the meaning of 'C.' or 'D0' etc.

If you do one of the two lines that I've requested, I'm sure that I could figure out the other one!

Also, it would be REALLY useful if there was a table in the Forum that had the 'Conditions', 'Forecast' and '10 Day DATA' that showed :

1. the variable as it is set out in the drag and drop window
2. the actual code as it then appears in the box once you drag it into one of the 4 options
3. a description of the variable as to what it does
4. an example of the variable in a string in one of the options
5. the actual result of the variable (i.e. what comes out when you press 'test'

14
I've got the computer telling me three different forecasts depending on whether I say "weather today", "weather tomorrow" or "weather forecast" (gives me highs for the week), using the current weather, option '0' and option '3' in the standard Weather Underground plugin in Voxcommando. I'd like to take out the portions of the highlighted parts of the forecast for the first two types of forecasts (i.e. today's and tomorrows) in the attached. Can you please post what the code should look like so I can cut and paste them into the plugin. Thanks.

15
General / Re: the "Supporters" group
« on: April 28, 2013, 09:42:45 PM »
me too.

Pages: [1] 2