Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
AudioEndpoint
Re: AudioEndpoint
could this possibly be used to play audio from EG thru a specific device? I'd like to be able to play audio from the speakers even tho headphones is set as default device/render. 
Automation is life.
Win7 64bit
EG: v0.5.0-rc4
Win7 64bit
EG: v0.5.0-rc4
Re: AudioEndpoint
No, you can just change the default device.skribb wrote:could this possibly be used to play audio from EG thru a specific device? I'd like to be able to play audio from the speakers even tho headphones is set as default device/render.
Re: AudioEndpoint
Sorry for the late reply - i missed to subscribe this topic initially and did not read your answer.
i created two feature requests
- define output device when playing sound
and
- 433MhZ output plugin
i think the latter may be to abstract - depending on how expensive a regular, EG-compatible 433Mhz transmitter is (do you know of any?)...
but the first one should benefit many people since there could be much reasons to play sounds on certain soundcards: maybe you want an acoustic signal as Doorbell but you dont want that Sound on your full Gained 5.1 theater system XD
my workaround is to rename .wav to .433 and link them to a portableapps.com Version of mpc wich defaults to my USB soundcard. Another dirty and easy hack
i created two feature requests
- define output device when playing sound
and
- 433MhZ output plugin
i think the latter may be to abstract - depending on how expensive a regular, EG-compatible 433Mhz transmitter is (do you know of any?)...
but the first one should benefit many people since there could be much reasons to play sounds on certain soundcards: maybe you want an acoustic signal as Doorbell but you dont want that Sound on your full Gained 5.1 theater system XD
my workaround is to rename .wav to .433 and link them to a portableapps.com Version of mpc wich defaults to my USB soundcard. Another dirty and easy hack
Sem;colon wrote:Hi Yasuno,
that's an interesting use for a sound card
Wouldn't this work with IR signals as well?
At the moment I'm not aware of any possibility to play a specific audio file on a specific output device with EventGhost without a 3rd party tool.
Unfortunately it's not easy to program this (it is possible though), Pako did something similar as he created the intelliSpeech plugin.
What you can do: On most media player you can set a specific output, you can then use EventGhost to open audio files with that media player
You should make a post for that idea (using a soundcard as Transceiver) in the Feature Request Forum.
Me or someone else may pick it up some day and create a plugin for that.
Re: AudioEndpoint
yasuo wrote:Sorry for the late reply - i missed to subscribe this topic initially and did not read your answer.
i created two feature requests
- define output device when playing sound
and
- 433MhZ output plugin
i think the latter may be to abstract - depending on how expensive a regular, EG-compatible 433Mhz transmitter is (do you know of any?)...
but the first one should benefit many people since there could be much reasons to play sounds on certain soundcards: maybe you want an acoustic signal as Doorbell but you dont want that Sound on your full Gained 5.1 theater system XD
my workaround is to rename .wav to .433 and link them to a portableapps.com Version of mpc wich defaults to my USB soundcard. Another dirty and easy hack
Sem;colon wrote:Hi Yasuno,
that's an interesting use for a sound card
Wouldn't this work with IR signals as well?
At the moment I'm not aware of any possibility to play a specific audio file on a specific output device with EventGhost without a 3rd party tool.
Unfortunately it's not easy to program this (it is possible though), Pako did something similar as he created the intelliSpeech plugin.
What you can do: On most media player you can set a specific output, you can then use EventGhost to open audio files with that media player
You should make a post for that idea (using a soundcard as Transceiver) in the Feature Request Forum.
Me or someone else may pick it up some day and create a plugin for that.
Cool, thanks for the tips
Automation is life.
Win7 64bit
EG: v0.5.0-rc4
Win7 64bit
EG: v0.5.0-rc4
-
mikeparkie
- Posts: 17
- Joined: Wed Jul 30, 2014 9:53 am
Re: AudioEndpoint
Can this be used to keep an audio endpoint alive? I have some USB speakers which go to sleep every 10 minutes, very annoying as I have to turn them back on manually each time.
Re: AudioEndpoint
I don't think so... But you could use the SchedulGhost plugin to in combination with the EventGhost "play audio file" action to play a short quiet sound every 5 minutes to keep it awake, I guess.
-
mikeparkie
- Posts: 17
- Joined: Wed Jul 30, 2014 9:53 am
Re: AudioEndpoint
Thanks, I'll give it a go 
Update, if anyone else was interested.
Added a blank sound (which makes a slight crackle). So I added a mute before the sound plays and then removed the mute after it's done. Works perfectly for me.
Update, if anyone else was interested.
Added a blank sound (which makes a slight crackle). So I added a mute before the sound plays and then removed the mute after it's done. Works perfectly for me.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1722">
<Macro Name="Speaker: Keep Alive" Expanded="True">
<Event Name="SpeakerKeepAlive." />
<Action>
SchedulGhost.EnableSchedule(u'SpeakerKeepAlive')
</Action>
<Action>
System.MuteOn(u'Speakers (KEF EGG)')
</Action>
<Action>
System.PlaySound(u'D:\\Backups\\Sounds\\Blank.wav', 1, False)
</Action>
<Action>
System.MuteOff(u'Speakers (KEF EGG)')
</Action>
</Macro>
</EventGhost>
Last edited by mikeparkie on Sat Nov 12, 2016 12:56 pm, edited 1 time in total.
Re: AudioEndpoint
Hmmm but how will you select the soundcard to play onto? Asuming the usb soundcard is not the default soundcard....Sem;colon wrote:I don't think so... But you could use the SchedulGhost plugin to in combination with the EventGhost "play audio file" action to play a short quiet sound every 5 minutes to keep it awake, I guess.
Re: AudioEndpoint
New version!
v2.1.0:
-Added action "Get Mute": Returns True if a specific audio endpoint is muted, and False if not
-Added action "Set Mute": Set mute for a specific audio endpoint (ON, OFF or TOGGLE)
-Added action "Get Volume": Returns the current volume of a specific audio endpoint
-Added action "Set Volume": Set the volume for a specific audio endpoint. Can be absolute or relative
-Events are generated if the volume changes on any audio endpoint
-Events are generated if the mute state changes on any audio endpoint
-Updated AudioEndpointControl by jonib with the latest sources
-Plugin is now in the .egplugin format for easy installation
get it from the first post!
v2.1.0:
-Added action "Get Mute": Returns True if a specific audio endpoint is muted, and False if not
-Added action "Set Mute": Set mute for a specific audio endpoint (ON, OFF or TOGGLE)
-Added action "Get Volume": Returns the current volume of a specific audio endpoint
-Added action "Set Volume": Set the volume for a specific audio endpoint. Can be absolute or relative
-Events are generated if the volume changes on any audio endpoint
-Events are generated if the mute state changes on any audio endpoint
-Updated AudioEndpointControl by jonib with the latest sources
-Plugin is now in the .egplugin format for easy installation
get it from the first post!
Re: AudioEndpoint
Hello,
I tried installing this plugin using the .egplugin file. My issue is that although the plugin does show up in the plugin browser, the program becomes completely unresponsive once I try to add it.
The .egplugin method installs the plugin into "C:\ProgramData\EventGhost\Plugins" instead of "C:\Program Files (x86)\EventGhost\Plugins", where all my other plugins are.
But I've also tried moving the plugin from ProgramData to Program Files (x86), which didn't fix the issue.
Can you help me get this plugin working?
I tried installing this plugin using the .egplugin file. My issue is that although the plugin does show up in the plugin browser, the program becomes completely unresponsive once I try to add it.
The .egplugin method installs the plugin into "C:\ProgramData\EventGhost\Plugins" instead of "C:\Program Files (x86)\EventGhost\Plugins", where all my other plugins are.
But I've also tried moving the plugin from ProgramData to Program Files (x86), which didn't fix the issue.
Can you help me get this plugin working?
Re: AudioEndpoint
For me, AudioEndpoint.plugin v2.1 causes EG to hang when adding plugin ["(Not Responding)"]. I then tried adding v2.0 and it worked fine. Back to v2.1 -> hang. I use 0.4.1r17222.
Re: AudioEndpoint
v2 works fine for me as well. Thanks for the info.
Re: AudioEndpoint
hmm, looks like the new lib form version 2.1 only works with EG version 0.5 and up.
Please keep using version 2.0 if you are on EG 0.4!
Please keep using version 2.0 if you are on EG 0.4!
