Contact

XonarSwitch Beta Testing

01-Dec-2015: XonarSwitch development, troubleshooting and feedback collecting are on hold for the time being. Until such time when Giulio will be able to resume work on XonarSwitch no new comments will be approved. – CarvedInside

XonarSwitch is a new application that allows you to control various Xonar’s audio settings, define them as switchable profiles, and apply them on-the-fly without having to stop the audio playback.

The beta testing of XonarSwitch is taking place on the MaxedTech website, allowing the author of the application to gather user feedback from the UNi Xonar community and give its members the opportunity to try out the application and contribute to its growth and polishing.

 

Currently Supported Hardware:

ASUS

Xonar D1, DX, D2, D2X, DS, DSX, DG, DGX, DG SI, Essence ST, Essence STX, Essence STX II, Xense, Xonar H6

AuzenTech

X-Meridian 7.1, X-Meridian 7.1 2G

 

Currently Supported Operating Systems:

Windows XP and later, both x86 and x64.

 

Main features:

  • Ability to change the Sound Card settings on the fly by directly interfacing with the driver.
  • No DPC latency increase: although it sends commands directly to the Xonar driver, it does so only when a profile is activated and only for the settings that actually change. It doesn’t continuously poll the driver.
  • Ability to configure itself depending on the hardware it runs on, showing only the relevant options.
  • Fully customizable global keyboard shortcuts usable to switch profile even when in a full-screen applications like a game.
  • Supports Headphones Gain where applicable.
  • Easily clone a profile by editing the source profile and then changing its name.
  • Live mode allows to hear the effects of your settings in real time.
  • Can replace the system volume icon, with a volume popup that is displayed by left-clicking once on the XonarSwitch tray icon. Some Xonar-specific options like analog output selector, SVN and hardware peak meter are present.
  • Very compact and portable: only one small EXE, no dependencies, no need for external DLLs, no need for a setup: drop it and launch it. If run elevated, it enables autostart by default on first run, which can be manually disabled by the user.
  • Built-in self-update code: it periodically checks for new versions and updates itself automatically.

 

Current Profile Settings:

  • Master volume: leave unchanged, apply last used for the same combination of output panel and speaker type, or set a specific volume and balance.
  • SVN (Smart Volume Normalization): leave unchanged, enable or disable.
  • System Speakers: leave unchanged or set a new layout.
  • System Bit Depth: leave unchanged or set an explicit value
  • System Sample rate: leave unchanged or an explicit value
  • Sample rate: leave unchanged or set an explicit value
  • Set an analog output option: same as Asus Control Panel, including switching between front and rear panel where applicable.
  • Exchange headphones left / right channels: leave unchanged, enable or disable.
  • Exchange center / bass channels: leave unchanged, enable or disable.
  • Exchange side / rear surround channels: leave unchanged, enable or disable.
  • Headphones Gain: set gain mode where applicable. On the Xense, Sennheiser mode is supported.
  • SPDIF Output: deactivate or activate, choice between PCM and relevant options (Dolby Digital and/or DTS Interactive depending on the card model).
  • Surround Max (Stereo upmix): leave unchanged, enable or disable
  • Analog or Digital out enhancements: support for Dolby Headphones, Dolby Virtual Speaker, 7.1 Virtual Speaker Shifter, Dolby ProLogic IIx, DTS NEO:PC depending on the card model.
  • Each output channel volume (depending on the card capabilities and the analog output layout selected): don’t change or set a specific value.
  • Each input source (they differ based on the card model): Leave unchanged or set volume, balance, line-specific options, monitoring (where available)
  • Select the recording source.
  • Equalizer: don’t change, deactivate and activate, setting a 10 band profile with presets and user-defined gain profiles. The sliders give precise feedback from -20dB to +20dB allowing for 1dB-accurate calibration.
  • FlexBass: deactivate and activate, setting the LTE crossover frequency as well as the speakers’ size.
  • AEC: enable or disable where applicable. AEC requires a particular voice DSP that some models don’t have and thus it’s not always present.

 

Command line arguments

Since revision 453, XonarSwitch supports command line arguments. They are case and order insensitive. When a parameter is exepected, the “=” sign shouldn’t be preceded or followed by spaces. Parameters containing spaces, like a profile name, shouldn’t be encased in quotation marks. The <INPUT_LINE> parameter is the zero-based line index as seen in the Recording mixer section of the Profile Editor, left to right, and goes as follows:

0Microphone
1Line In
2Aux
3Wave
4Stereo Mix
5CD In
6ALT
7SPDIF In

Some values might correspond to input lines  that aren’t present on a specific card model and therefore are ineffective if used.

Currently supported command line arguments:

/NoUI

XonarSwitch doesn’t load any user interface and runs even if there is another instance already active in the system tray. It executes other command line arguments and then exits. Autoupdate isn’t triggered even if a new version is released.

/Profile

Cycles among all available profiles in the same order they appear in the profiles window.

/Profile=<PROFILE_NAME>

Swtiches to profile <PROFILE_NAME>

/Profile=<PROFILE_NAME1,PROFILE_NAME2,…,PROFILE_NAMEn>

Cycles among all provided profiles in the same order they appear in the profiles window. Profile names should be separated by a single comma.

/MasterMute

Mutes master volume

/MasterUnmute

Unmutes master volume

/MasterMuteToggle

Toggles master volume mute state.

/InputMute=<INPUT_LINE>

Mutes <INPUT_LINE> volume.

/InputUnmute=<INPUT_LINE>

Unmutes <INPUT_LINE> volume

/InputMuteToggle=<INPUT_LINE>

Toggles <INPUT_LINE> volume mute state.

 

Screenshots:

XonarSwitch_PopupMenu XonarSwitch_Profile XonarSwitch_Profiles ZonarSwitch_Tooltip

 

Planned features

  • Adding support for the DG / DGX jack autosensing feature.
  • Suggestions by the community where feasible and when cost/benefit positive, after the application is stable on various hardware and software platforms.

 

ClearType™

XonarSwitch is designed to take advantage of the ClearType functionality, added by Microsoft to the Windows operating systems since Windows XP.

ClearType is basically a text antialiasing feature that improves readability and reduces eye strain when using flat panel displays.

Starting with Windows Vista, ClearType is enabled by default, while on Windows XP it had to be manually activated by the user.

To enable ClearType under Windows XP and enjoy a clearer and smoother XonarSwitch interface, read this article by Microsoft Support.

 

Credits

The words “ASUS”, “ASUSTek”, “Xonar”, the Xonar logo and the original Xonar icon are trademarks of ASUSTeK Computer Inc.

ASIO is a trademark of Steinberg Media Technologies GmbH.

Virus is the author of the Standalone Apps scripts source that got me started with this project.

One of the 7.1 Virtual Speaker Shifter layouts used by XonarSwitch is by Luis U and guarantees an optimal perception of 3D positioning in games.

The Xonar Icon with a transparent background is by bullseye.

 

 Disclaimer

Although the code has been written with care, it’s still a beta application, and like all software in general and beta software in particular is by definition prone to defects. The author can’t exclude that some malfunctioning in the application could cause sensible settings like the system master volume or headphones gain to be misapplied and thus cause damage to your hearing or the audio equipment.

The software is provided as-is and free of charge, and by downloading the application and executing it, you explicitly declare the author is not responsible for whatever damage may be caused by the use of XonarSwitch.

Currently supported features might be dropped if the beta testing phase feedback reveals technical problems unforeseen by the author during the development process.

 

No malicious software guarantee

XonarSwitch is guaranteed free of malicious code. It has been tested and whitelisted by WebRoot.

 

Beta feedback guidelines

Beta feedback is essential to get XonarSwitch to run smoothly on all software and hardware platforms.

When reporting a bug, please follow these guidelines:

  • Always include your system info. Right click on the XonarSwitch tray icon, click on “About XonarSwitch…” and then on “Copy System Info” and then paste the data in your message.
  • Provide step-by-step instructions to reproduce the error / wrong behavior.
  • Be ready to test a private release that attempts to address the problem you reported.

Please note that during beta, feature requests will have very low priority, since the development focus will be on getting rid of bugs. If the general feedback by the community is positive and the application reaches a state of reasonable reliability, they will be taken into consideration later on.

 

How to contact the author

Right-click on XonarSwitch’s tray icon and then on the “About XonarSwitch…” menu.
In the about window, clicking on the developer’s name  will copy his mail address in your system clipboard, and you can then paste it in the recipient field of your mail or webmail client.

 

Release Notes

0.9.661

Sept. 10, 2015

New Features:
-XonarSwitch is now high-DPI aware. The interface will look sharper  on Windows versions with DPI virtualization of not DPI–aware applications (Vista and onward) when a higher than 100% system-wide DPI setting is used. In that scenario, tray icons of appropriate resolution will also be used instead of scaling up the 16×16 tray icon. Users wanting to employ custom profile icons with a higher than 100% DPI setting, are advised to include the icon resolution matching their setting: 20×20  for 125% DPI, 24×24 for 150% DPI, 28×28 for 175% DPI.Virus Scan

 

For a list of previous release notes, please see XonarSwitch Version History.

 

 

Download

Advertisements

925 Comments

  1. sucht    09 Aug 2015 @ 03:16   

    oh an under “Real Time Settings” “Output” “Analog” the option “Rear 2 Speakers” and “Front 2 Speakers” is interchanged for me.
    i’m using the “RCA jack” on my “Asus Xonar Essence STX”.

    Reply

    • Giulio    09 Aug 2015 @ 14:04   

      Front and Rear doesn’t refer to the position of the speakers but to where they are connected. Front = computer case audio output connected to the front panel header of the sound card, rear, directly to the sound card RCAs.

      Reply

    • Wingshot    25 Sep 2015 @ 03:44   

      Hello GIulio i dont know if you can understand me i try my best 2 days ago i buy xonar d2x all installed and i just want to play games 🙁 but it seems that i cant enable dolby digital live in your driver i check Digital (SPDIF) and choose Dolby Digital Live Sound stop enter game no sound i dont know how to get this to work im very new in this and a little help would be appreciated. Thanks 🙂

      Reply

      • Giulio    25 Sep 2015 @ 21:01   

        Dolby Digital Live is used to send up to 5.1 channels of Dolby Digital encoded audio to another device via digital (optical or coaxial) output. When enabled, it switches analog audio off (the one coming out of the colored jacks).

        If you want both analog and digital out, use PCM instead, although it’s just stereo.

        if you just want Dolby effects on normal output, leave SPDIF disabled and enable Dolby Headphones or Dolby Virtual Speaker in the analog enhancement section.

        Reply

  2. NetNerd    14 Aug 2015 @ 19:15   

    Hi Giulio, today I’ve been screwing around with making some custom speaker shifter layouts to more accurately resemble a real 7.1 setup.
    I’m wondering if there’s any information you can provide on exactly what the settings values for them are.

    So far, I’ve figured out the easy parts – getting the speakers to move around in a semi-predictable way – but, since you have a full implementation, I was hoping to get some details from you on something I’m not quite sure about.
    After (well, before if you take into consideration the correct byte order) the position values, we usually see a BE or a 3E. The E definitely changes depending on distance, but I’m having trouble figuring it out. I’m assuming it sets a range, but I’m not sure.
    When you get a chance, would you mind having a quick check on that for me?
    And also, just to check, the actual position values are linear, aren’t they?

    And a related bug, my profiles won’t actually stay selected in the program. I’m assuming that it’s using the values rendered to find matching layouts, which breaks when the values I have don’t perfectly match. Could I possibly suggest that a layout not be deselected until a change is made to the positioning as a fix for this?

    Thanks for the great work on the program by the way!

    Reply

  3. timm0e    21 Aug 2015 @ 21:43   

    Hey Giulio,

    I’m really enjoying your great application. I have just one little request:

    In the CommandLine Options it’s possible to toggle the mute of the Microphone, would it be also possible to add a hotkey for this? (My Current workaround is to have profiles to dis- and enable the Microphone, but it requires two keys, which is sort of annoying)

    Thanks timm0e

    Reply

  4. Florian Schulte    24 Aug 2015 @ 09:43   

    Hello,

    would it be possible to integrate a profile-toggle command line parameter? Currently i am using a simple script on linux which switches between HP and Speakers. I start it with a single multimedia key of my keyboard.

    On windows with xonarswitch i use two profiles. So i also need to assign two keys. Even though i would write a wrapper, i would have to find out which profile is active first. So it would be very comfortable to have such an option integrated directly.

    Thank you very much

    Reply

    • Giulio    24 Aug 2015 @ 17:03   

      By profile toggle do you mean that if you use the toggle command with a profile that is currently active it switches to the profile that was active before it?

      Reply

      • Florian Schulte    24 Aug 2015 @ 23:49   

        Yes, in case you have two profiles it would just alternate between the two. If you have more than two it could just select one after another.
        Alternatively it could be interesting to have a parameter /ProfileToggle=Profile1,Profile2[,Profile3] so that it switches between the given profiles.

        Ideally both approaches would be combined:
        -> /ProfileToggle -> Cycle through all available profiles
        -> /ProfileToggle=Profile1,Profile2 -> switch between the given profiles.

        But this is only an idea to be flexible. For me it would be absolutely sufficient to have it working for two profiles.

        Reply

  5. cesare    25 Aug 2015 @ 23:57   

    Hi Giulio, I have updated my w7 to w10 today. With previous version I had an icon to switch (in a double click without interactive form) from front headphones output to rear speaker output and viceversa.
    How I can do the same thing on a new s.o.?

    thanks in advance
    cesare

    Reply

    • Giulio    26 Aug 2015 @ 10:36   

      I’m not sure I understand what you mean.

      If it seems the XonarSwitch icon disappeared from your tray, it might be that after the update to Windows 10 it’s being hidden when there are no notifications. To force it to always show up, open the hidden icons by clicking on the upward arrow and then drag the XonarSwitch icon where you want to see it.

      Reply

  6. Dean    26 Aug 2015 @ 03:42   

    I may be missing something, but custom profile icons don’t appear to be showing as they used to (since a recent update). If I specify a custom profile icon I instead get the XonarSwitch icon displaying in my systray. Any ideas?

    Reply

    • Giulio    26 Aug 2015 @ 10:32   

      I’ll look into that, thanks for your feedback.

      Reply

    • Giulio    26 Aug 2015 @ 12:00   

      I can confirm it’s a bug with rev. 636, it’ll be solved in the next release. In the meanwhile running XonarSwitch in Windows 8 compatibility mode should solve the issue.

      Reply

    • cesare    26 Aug 2015 @ 20:59   

      Sorry for misunderstanding Giulio, try to explain better.
      In w7 i have downloaded a .exe (lost because my upgrade doesn’t go well and i had to reinstalla w7 to upgrade correctly)
      This exe switch between rear speaker and front headphones by double clicking on it without show any form.
      This is what i hope to have again.
      Now, if i click on xonarswitch icon on w10 desktop, doesn’t seems to do anything and if i click again send msg “xonarswitch is already running”

      Reply

      • Giulio    27 Aug 2015 @ 11:01   

        I don’t know about the other program you mention (from how you describe it it sounds like one of the standalone apps).

        About XonarSwitch, what I wrote in my previous reply seems relevant. The message you get when you attempt to start XonarSwitch for the second time, means it’s already running, and if you don’t see its icon, the most logical place where to look is in the hidden icons group (the upward pointing arrow on the left of your tray area).

        Reply

        • cesare    27 Aug 2015 @ 21:32   

          thanks for your help Giulio, i remember that program as xonarswitch but probably i have not enough memory

          Reply

  7. zach    03 Sep 2015 @ 19:55   

    Hello there. I’m wondering if anyone knows a tool that shows how many and which audio channels an application utilises?

    Reply

  8. Dan    04 Sep 2015 @ 00:21   

    hi, feature suggestion: keyboard shortcut for volume control and mute

    Reply

    • Giulio    04 Sep 2015 @ 12:07   

      Hi.

      It’s in the latest revision (652) together with Microphone volume and mute control. Right click on the tray icon -> Options… -> Shortcuts tab

      Reply

  9. Bob    06 Sep 2015 @ 01:02   

    Not sure if there is a problem with the update but since then I have had music randomly stutter for 0.5-1 second randomly. Could you see if that may be the problem with XonarSwitch? Thanks

    Reply

    • Giulio    07 Sep 2015 @ 12:27   

      Thanks for your feedback.

      XonarSwitch doesn’t normally interact in any way or form with the sound card driver, unless some setting is changed either via Real Time Settings window, profile switching, or the new global keyboard shortcuts.

      Therefore it doesn’t seem very likely that it could cause any stutter during playback. XonarSwitch’s bugs are rather going to take the form of crashes, or something in the program itself not behaving as expected.

      If you are under Windows 10, it seems Microsoft has rewritten quite a bit of the audio subsystem’s underlying code, and cracks, pops and stutters are reported by many users and don’t seem to be exclusive to C-Media-based cards.

      Reply

  10. Oomek    06 Sep 2015 @ 12:38   

    Would you please fix the tray icon. It looks very pixelated in Windows 10 when the DPI scalling is set to 125% in Display Settings. http://i.imgur.com/cDTcdyH.png

    Reply

    • Giulio    07 Sep 2015 @ 12:29   

      Thanks for reporting this.

      I’ll take a look and fix it in next revision.

      If you want to send me an e-mail (the instructions are in the post above), I can send you a test build with the fixed icons for you to try out when it’s ready.

      Reply

  11. TerryM    10 Sep 2015 @ 06:33   

    Hi Giulio,
    Noticed a couple of minor display bugs with 652 and Windows 10 (Pro X64).
    1. When using 4 speakers output the stereo upmix is always showing as enabled even when disabled by the profile.or real time settings.
    2. I no longer get an indication of which profile is selected when I do a right click on the tray icon or hover over the tray icon.

    Reply

    • Giulio    10 Sep 2015 @ 10:33   

      Thanks for your feedback.

      The two bugs could actually be one. When you don’t get an indication of the current profile, it means XonarSwitch doesn’t consider it valid anymore. That depends on some parameter having been altered somewhat after the profile was loaded. If the state of stereo upmix doesn’t correctly reflect the actual sound card setting, that alone could induce the app to consider the profile invalid.

      The problem is I can’t seem to reproduce your behavior here. I’ll investigate further. It could be useful if you could please send me an e-mail (following the instructions in the post above).

      Reply

    • Giulio    10 Sep 2015 @ 11:07   

      OK I’ve investigated the issue and here’s what I found: if Stereo Upmix’s corresponding registry key has been deleted for some reason, XonarSwitch displays the default value, which is enabled, although the underlying state is actually disabled. If you try to disable Stereo Upmix from XonarSwitch, the driver does nothing, since the setting is actually already disabled, and therefore the registry key isn’t recreated and the problem persists.

      To solve the issue, open Real Time Settings, set Stereo Upmix to disabled, then to enabled and then to disabled again. This will recreate the Registry key and from then on XonarSwitch and the driver should be aligned again.

      I believe this will also solve the current profile not being displayed. If it doesn’t we’ll take it from there.

      Reply

      • Chris Leipold    10 Sep 2015 @ 13:09   

        I fixed problem with stereo upmix enabler / disabler from standalone app package. Just run disable stereo upmix batch file.

        Btw Giulio i needed some time and were not at home and i will send u a e-mail in the next days.

        Reply

      • TerryM    10 Sep 2015 @ 13:48   

        Thanks Guilio, that fixed my problem, now showing selected profile and stereo upmix disabled.
        I had done a clean install of Windows 10 and restored XonarSwitch settings from a backup file so it looks like the restore doesn’t recreate the registry key for stereo upmix.

        Reply

        • Giulio    10 Sep 2015 @ 14:02   

          Glad it worked.

          The registry value I was referring to isn’t relative to XonarSwitch but the Xonar driver. Probably the driver setup didn’t create it.

          In the next revision I’ll add a fix for this situation: I’ll have XonarSwitch create the value if it isn’t there.

          Reply

  12. mh0001    10 Sep 2015 @ 21:42   

    I think I observed a (very) small UI bug. Look at the L/R-balance for the record sources in the mixer tab. Everytime I open XonarSwitch, it looks like this: http://puu.sh/k6GeI/1dc891aceb.png (markers are a little bit off). When I press “reset”, they are moving a bit to the left: http://puu.sh/k6Gju/db708e4998.png. After closing XonarSwitch, they revert to the previous state. I think it’s just a small cosmetic thing, but if you have some spare time you could try to fix it. ^^

    Reply

    • Giulio    11 Sep 2015 @ 10:24   

      Great catch! It wasn’t actually just cosmetic, but it had rather a quite intricate functional cause that is now removed. It’ll be fixed in the next revision. Thanks for pointing that out!

      Reply

    • Chris Leipold    11 Sep 2015 @ 13:17   

      I can confirm this. Nice to see a fix is coming!

      Reply

  13. mzso    11 Sep 2015 @ 13:48   

    Quick question: Where are the settings are stored?
    I want to restore EQ from a partition backup.

    Reply

    • Giulio    11 Sep 2015 @ 14:24   

      The settings are kept in the registry. That doesn’t mean they can’t be restored from a partition backup, it’s just a bit more involved than average.

      You can do the following:

      1) Open the registry editor (Win + R -> regedit)
      2) In the left pane, click on the HKEY_USERS key and then on File -> Load Hive…
      3 Point the loading window to the \Users\YOUR_USER folder in the backup of your operating system partition, and click on NTUSER.DAT. If you don’t see it, you might have to configure your folder options to show hidden and system files.
      4) Choose a name for your hive, like BackupUser and click OK.
      5) Expand the HKEY_USERS node. Underneath you’ll find the BackupUser Key (or however you decided to name it). Expand that too, and also the SOFTWARE subkey. Towards the end of the SOFTWARE children you should have a subkey called XonarSwitch.
      6) Right click on XonarSwitch and select “Export…”. Pick a recognizable name and location, like XonarSwitch.reg on the desktop.
      7) Click on your BackupUser (or your name) key, then click on file -> Unload hive. Click ok when prompted to unload all keys and subkeys.
      8) Open the reg file in a text editor and replace all “HKEY_USERS\BackupUser” recurrences with “HKEY_CURRENT_USER” (without the quotation marks). Save the file.
      9) In XonarSwitch, backup your current settings, just in case (right click on the tray icon -> Options… -> Backup)
      10) In regedit, go to HKEY_CURRENT_USER\SOFTWARE and delete the XonarSwitch subkey.
      11) Double click on the edited reg file. The old settings and profiles should be restored.

      I haven’t tried this directly but it should work.

      Reply

    • Giulio    11 Sep 2015 @ 14:27   

      Re reading your original post I see you just wanted EQ presets. Follow the exact same instructions but export HKEY_USERS\BackupUser\SOFTWARE\XonarSwitch\Presets\EQ instead of HKEY_USERS\BackupUser\SOFTWARE\XonarSwitch. Also delete HKEY_CURRENT_USER\SOFTWARE\XonarSwitch\Presets\EQ instead of the whole HKEY_CURRENT_USER\SOFTWARE\XonarSwitch before double clicking on the reg file.

      Reply

  14. spicio    15 Sep 2015 @ 16:18   

    after update, a problem was found. whenever i load saved profiles, record balance is moved to right slightly. i have to reset balance everytime. i am using windowsxp. thanks.

    Reply

    • Giulio    15 Sep 2015 @ 18:09   

      Thanks for reporting this bug. It’s actually much older than last update. It depends on the same bug mh0001 reported above.

      The bugfix is already implemented internally and will be available in the next revision.

      Reply

      • spicio    15 Sep 2015 @ 20:14   

        i am using xonar dg. cheap soundcard. but i will use this forever, because of xonarswitch. great app. thanks.

        Reply

  15. arxnova    15 Sep 2015 @ 21:43   

    have to say, been using xonarswitch + unixonar low latency (no control panels) for quite some time (!!!) and it’s definitely another w.. sound. as subjective as it could be, of course ; P thanks for that great app!

    Reply

AdminAuthorFeaturedBuried

Leave a Reply

*

Your comment may be held for moderation. If it does not show up immediately, just be patient.