home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Soundswitch V1.5: Change audio settings with your remote
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="netexplorer" data-source="post: 470928" data-attributes="member: 87577"><p>Hi!</p><p></p><p><strong><u>Function:</u></strong></p><p>With this tool is it possible to switch settings of audio decoder or sound device with your remote.</p><p>Due to that either to use an AV Receiver for AC3 decoding or to downmix the stream to stereo.</p><p>Another option is to switch the "Default Direct Sound Device" maybe HDMI and onboard Sound.</p><p>Working Codecs are:</p><p>AC3Filter</p><p>ffdshow</p><p></p><p><u>Background:</u></p><p>What il looked for, was a solution to use normaly my TV for sound output and sometimes use the AV Receiver with my homecinema system.</p><p>As a workaround i developed a script to switch between Passthrough and Downmix with AC3Filter with my remote.</p><p></p><p><u>System:</u></p><p>My htpc is connected to TV with a DVI cable.</p><p>Sound is connected from onboard analog output to TV.</p><p>SPDIF is connected to AV Receiver.</p><p>Audio renderer is AC3Filter.</p><p></p><p><strong><u>Solution:</u></strong></p><p>For audio code switching with AC3Filter for example:</p><p>-Export the default settings for AC3Filter configured to passthrough sound to SPDIF into a *.reg file.</p><p>-Repeat the first step with changed settings in AC3Filter configured to downmix sound into another *.reg file</p><p></p><p>For audio device switching:</p><p>-Export the current audio device located under "HKCU\Software\Microsoft\Multimedia\Sound Mapper" into *.reg file</p><p>-Change the current audio device with Control Panel "Sounds and Audio" to the next sound device</p><p>-Export again the current audio device like in step 1 into *.reg file.</p><p></p><p>-Configure the *.ini file with your *.reg files</p><p></p><p>-Place all files in a folder together.</p><p></p><p>-To execute the script with your remote, create a shortcut in start menu</p><p>-Assign a shortcut key to execute (maybe STRG + SHIFT + j).</p><p></p><p>-Configure a button on your remote with the shortcut.</p><p>-It's important to send the key to windows and not to Mediaportal.</p><p> In iMon Manager create a user command with the key.</p><p></p><p><span style="color: Red"><strong>It is possible to use more than one Soundswitch instance independent.</strong></span></p><p><span style="color: Red"><strong>-One for audio codec switching</strong></span></p><p><span style="color: Red"><strong>-One for audio device switching</strong></span></p><p></p><p>If you want ot switch codec and audio device at same time, you can combine the *.reg files together.</p><p></p><p><strong>Done</strong></p><p></p><p><strong><u>Location of registry entries:</u></strong></p><p><strong>Settings of AC3Filter in registry:</strong> HKCU/Software/AC3Filter/Preset/Default</p><p><strong>The Default Direct Sound Device in registry (Only Windows XP):</strong> HKCU\Software\Microsoft\Multimedia\Sound Mapper</p><p></p><p>The script is written with AutoIT and can used for all codecs wich store settings in registry.</p><p></p><p><strong><u>Changelog:</u></strong></p><p>V1.0 Release </p><p>V1.1 Settings stored in *.ini file. Every codec can be used.</p><p>V1.2 Unrestricted amount of settings can be switched, message text and window size can be configured.</p><p>V1.3 Added feature to restart Mediaportal when settings change</p><p>V1.4 Fix issue regarding restart function</p><p>V1.5 Adding Fix to activate Mediaportal after switching due to lost focus.</p></blockquote><p></p>
[QUOTE="netexplorer, post: 470928, member: 87577"] Hi! [B][U]Function:[/U][/B] With this tool is it possible to switch settings of audio decoder or sound device with your remote. Due to that either to use an AV Receiver for AC3 decoding or to downmix the stream to stereo. Another option is to switch the "Default Direct Sound Device" maybe HDMI and onboard Sound. Working Codecs are: AC3Filter ffdshow [U]Background:[/U] What il looked for, was a solution to use normaly my TV for sound output and sometimes use the AV Receiver with my homecinema system. As a workaround i developed a script to switch between Passthrough and Downmix with AC3Filter with my remote. [U]System:[/U] My htpc is connected to TV with a DVI cable. Sound is connected from onboard analog output to TV. SPDIF is connected to AV Receiver. Audio renderer is AC3Filter. [B][U]Solution:[/U][/B] For audio code switching with AC3Filter for example: -Export the default settings for AC3Filter configured to passthrough sound to SPDIF into a *.reg file. -Repeat the first step with changed settings in AC3Filter configured to downmix sound into another *.reg file For audio device switching: -Export the current audio device located under "HKCU\Software\Microsoft\Multimedia\Sound Mapper" into *.reg file -Change the current audio device with Control Panel "Sounds and Audio" to the next sound device -Export again the current audio device like in step 1 into *.reg file. -Configure the *.ini file with your *.reg files -Place all files in a folder together. -To execute the script with your remote, create a shortcut in start menu -Assign a shortcut key to execute (maybe STRG + SHIFT + j). -Configure a button on your remote with the shortcut. -It's important to send the key to windows and not to Mediaportal. In iMon Manager create a user command with the key. [COLOR="Red"][B]It is possible to use more than one Soundswitch instance independent. -One for audio codec switching -One for audio device switching[/B][/COLOR] If you want ot switch codec and audio device at same time, you can combine the *.reg files together. [B]Done[/B] [B][U]Location of registry entries:[/U][/B] [B]Settings of AC3Filter in registry:[/B] HKCU/Software/AC3Filter/Preset/Default [B]The Default Direct Sound Device in registry (Only Windows XP):[/B] HKCU\Software\Microsoft\Multimedia\Sound Mapper The script is written with AutoIT and can used for all codecs wich store settings in registry. [B][U]Changelog:[/U][/B] V1.0 Release V1.1 Settings stored in *.ini file. Every codec can be used. V1.2 Unrestricted amount of settings can be switched, message text and window size can be configured. V1.3 Added feature to restart Mediaportal when settings change V1.4 Fix issue regarding restart function V1.5 Adding Fix to activate Mediaportal after switching due to lost focus. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Soundswitch V1.5: Change audio settings with your remote
Contact us
RSS
Top
Bottom