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.

New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

If you have a question or need help, this is the place to be.
Post Reply
User avatar
dexter98
Plugin Developer
Posts: 49
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands
Contact:

New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by dexter98 »

I hereby post 3 new plugins:

* Marantz SR Receiver control
Allows you to do basic control (power, volume (relative and absolute), mute etc etc) of your Marantz SR-series Receiver (with a serial port). No events are generated by this plugin. It supports both direct control through a serial port or control via my MarantzControl application (user selectable).

* SoundMixerEx
This plugin allows you to setup virtually ANY slider and on/off switch (eg mute, digital out on/off) on one or more sound cards. Multiple controls can be controlled on multiple sound cards through the same plugin. I personally use this plugin to switch on/off the 'digital out only' feature on my Audigy to be able to output (analog) sound, even when pass-through is active (which normally blocks any sound output other than the DD/DTS source).

* SerialDimmer
Simple plugin I wrote to control my homebrew serial controlled dimmer. Not very usefull, since I haven't published the firmware of this dimmer (and the dimmer is crappy anyway), but the concept might be interesting for other serial controlled dimmers, such as Semitone Crystal/Diamond.
Attachments
SoundMixerEx.rar
(4.53 KiB) Downloaded 197 times
SerialDimmer.rar
(1.97 KiB) Downloaded 151 times
MarantzSerial.rar
(4.48 KiB) Downloaded 201 times
AlexW
Posts: 2
Joined: Sat Feb 23, 2008 1:24 pm

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by AlexW »

Hi,
great to see someone trying to build a mixer control ... I've been searching one for months... But I've a problem using it...

Error while configuring: %s Sound Mixer Ex: No device/control selected
Traceback (most recent call last):
File "C:\Programme\-= Video =-\EventGhost\eg\MainFrame\__init__.py", line 853, in OnCmdNewAction
eg.Greenlet(UndoableTasks.NewAction().Do).switch(self.document, action)
File "C:\Programme\-= Video =-\EventGhost\eg\UndoableTasks.py", line 253, in Do
if not CmdConfigure().Do(item, True):
File "C:\Programme\-= Video =-\EventGhost\eg\UndoableTasks.py", line 549, in Do
newArgs = gr.switch(*item.args)
File "C:\Programme\-= Video =-\EventGhost\plugins\SoundMixerEx\__init__.py", line 517, in Configure
treeCtrl = self.plugin.GetTree(panel, ("Fader", "Slider"), deviceId, controlId)
File "C:\Programme\-= Video =-\EventGhost\plugins\SoundMixerEx\__init__.py", line 403, in GetTree
mixerItem = treeCtrl.AddRoot(mixer)
File "wx\_controls.pyc", line 5404, in AddRoot
wx._core.PyAssertionError: C++ assertion "parent.IsOk() || !(HTREEITEM)::SendMessageW((((HWND)GetHWND())), (0x1100 + 10), (WPARAM)(0x0000), (LPARAM)(HTREEITEM)(0))" failed at ..\..\src\msw\treectrl.cpp(1492) in wxTreeCtrl::DoInsertAfter(): can't have more than one root in the tree


Seems that no device is selected... but i didn't find any config possibility?!
Could you tell me where I have to select the devices?

Although great work.. keep it up!

Alex
User avatar
dexter98
Plugin Developer
Posts: 49
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands
Contact:

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by dexter98 »

Hey, thanks for your reply ;)

Hmmmmm...... problem is NOT caused by a non-selected contol (obviously I test for that), but with multiple soundcards or sounddevices in your PC, which I wasn't able to test in my own PC..... yet :s

Although actually logical, documentation of wx does not state clearly that an treectrl can only have ONE root item.


Anyway, problem should be solved now. Control can be selected in a tree which shows all your available controls on all your available sound cars.

Please let me know if this fixed your problem. Copy this .py file over the original one in the SoundMixerEx directory.
Attachments
__init__.py
(18.79 KiB) Downloaded 246 times
AlexW
Posts: 2
Joined: Sat Feb 23, 2008 1:24 pm

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by AlexW »

Hi
thx a lot... it works great now. I can select the slider I want to adjust and all sound cards are available in the dropdown.

Nice work! :mrgreen:

Alex
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by stisev »

Not much to add, but very nice plugin.

Even with BitMonster temporarily away, I'm glad to see you guys are carrying his tradition. ;)
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by Bartman »

Does the SoundMixer PlugIn work under Vista and XP?
Do you have SVN access to the EG repository?
The Mixer definetly needed an Update. Now someone needs to make a decent keyboard plugin.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by Bitmonster »

Very nice work.

I have added you to the "Plugin Developer" group, so you can create topics in the Plugin forum now. I would suggest to start two new topics for the SoundMixerEx and Marantz plugin.

If you have a sourceforge account, I can give you SVN write access.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by stisev »

Bartman wrote:Does the SoundMixer PlugIn work under Vista and XP?
Do you have SVN access to the EG repository?
The Mixer definetly needed an Update. Now someone needs to make a decent keyboard plugin.
It works in XP, as far I can tell.

Doesn't EG already have a keyboard plugin? :?:
User avatar
dexter98
Plugin Developer
Posts: 49
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands
Contact:

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by dexter98 »

Bartman wrote:Does the SoundMixer PlugIn work under Vista and XP?
Do you have SVN access to the EG repository?
The Mixer definetly needed an Update. Now someone needs to make a decent keyboard plugin.
I've only tested it under XP and I'm quite sure it does NOT work under Vista, since it doesn't use the 'VistaVolume.dll'.
This dll does not (unfortunately) expose enough functions to do this and I have no means to test it since I'm not a Vista user.

I currently don't have access to the EG repository.
User avatar
dexter98
Plugin Developer
Posts: 49
Joined: Sun Dec 30, 2007 2:45 am
Location: Netherlands
Contact:

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by dexter98 »

Bitmonster wrote:Very nice work.
I have added you to the "Plugin Developer" group, so you can create topics in the Plugin forum now. I would suggest to start two new topics for the SoundMixerEx and Marantz plugin.
If you have a sourceforge account, I can give you SVN write access.
Thanks ;)
I'll open 2 new topics on it, so we can improve and extend these plugins.
I'll also open a sourceforge account, so I can put it into the SVN.

I'm also looking into making an open source project of the dimmer hardware and firmware. Maybe I switch to the Semitone dimmer project and include the protocol in the dimmer plugin.
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: New plugins: Marantz Receiver, SoundMixerEx, Serial Dimmer

Post by Bartman »

Tell Bitmonster or me if you have created the SF account.
I will boot Vista sometime today and tell what happens.
Post Reply