Get Some

General => Technology & Hardware => Topic started by: Xenolightning on March 03, 2012, 05:31:52 am

Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 05:31:52 am
This is for all those peeps that hate using Control Panel to change their default audio devices...

Features:
- Allows you to change Windows Default Audio devices without opening Control Panel
- Quick access to audio devices from the System Tray.
- Full Global Hot Key support which allows you to change the default audio device with the press of a key
- Favourite Devices - Only your favourited devices will show up in the Tray Icon Menu.
- Settings support for closing to tray, starting minimized to tray and running at start up (using a registry key)
- You don't have to be a slave to the Windows Control Panel anymore!

Requirements:
- Windows Vista/7 32-bit or 64-bit (Vista and 32-bit remains untested, but assumed working)
- .NET 3.5 Client Profile installed

(http://iforce.co.nz/i/eegoocg1.bqm.png) (http://www.iforce.co.nz/View.aspx?i=eegoocg1.bqm.png)(http://iforce.co.nz/i/5v3hu2bn.hrq.png) (http://www.iforce.co.nz/View.aspx?i=5v3hu2bn.hrq.png)(http://iforce.co.nz/i/xozkewti.gda.png) (http://www.iforce.co.nz/View.aspx?i=xozkewti.gda.png)

Changelog

1.2.1.6:
- Added auto update feature to the update window. App can now update itself.
- Added new setting to check for updates on start up, and notify via a notify popup (sys tray popup)
- Fixed an icon disappearing issue.

1.1.0.7:
- Sweet favourite icons, thanks Codex
- More acknowledgements yo!
- Update service. From this version on you can now manually check for updates on the settings tab, and when there is a new update it will give you the zipped exe
- Hot keys can now be set via right click menu
- Bug reporting (properly implemented this time)
- Attempted fix on a COMException not found error that keeps cropping up for a few people.

1.0.7.9 RC1:
- First introduction of new features (nothing usable just yet :))
- Refreshed the UI to match the control panel UI. Should make it a shit load easier to distinguish the devices from one another.
- KONAMI CODE

- KNOWN ISSUE: Favourite/Default Devices currently do not have an icon to show that they are favourited/defaulted
- KNOWN ISSUE: Set hot key via right click is not active

1.0.1.2 RC1:
- Repackaged the executable
- Fixed hotkey not listing microphone devices
- Added initial support for emailing errors

1.0.0.15:
- Removed the duplicate process check NOTE: This comes with a warning that 2 copies of Audio Switcher should not be run on the same PC. It could play havoc with the hotkey system. Use at your own discretion.

1.0.0.14:
- Changed the notification hover tooltip to show the default output (is more useful than "Audio Switcher")

1.0.0.13:
- Quick Switch wasn't refreshing the menu options. Now fixed

1.0.0.12:
- Fixed hot key window crash
- Altered the hot keys to allow for non modifier (Ctrl, Alt, Shift) hotkeys to work.
- Ini settings are now action on start up.

1.0.0.11:
- Fixed issue where favourite devices were not saving correctly
- Increased the maximum number of favourite devices from 3 (lol my bad) to something silly like 500.
- Fixed issue where old/removed favourited devices were still being saved
- Attempted fix for the app crash when devices were not being detected correctly.
- Added new functionality, Quick Switch Mode, (thanks nzkfc for the suggestion). This mode allows a single click on the icon to CYCLE through favourite PLAYBACK devices for "super" quick changing between playback devices.
- Revised the hotkey disabled function. It now un-registers the hotkey from the system instead of ignoring it.

1.0.0.9:
- Fixed issue where main window would not be set active (brought to front) when tray icon was double clicked
- Changed the .NET version to 3.5 Client Profile to ensure portability

1.0.0.8:
- Fixed issue where context menu would appear twice after a right click on tray icon

1.0.0.7:
- Fixed issue where tray menu would not populate devices when run in minimized mode
- Added left click to open context menu on icon, has a small delay to allow for the double click to open main window.

1.0.0.6:
- Added "Disable Hot Key" setting
- Fixed issue when hot keys are active when the Hot Key edit window is open.

1.0.0.5:
- Added Hot key support
- Added "Favourite Device" support
- Added Settings
- Added Donation Link
- Main window can now be resized

1.0.0.0:
- Initial Release
- Basic support for switching default audio devices
- Tray Icon for quick switching


Download Link: http://services.fortyone.net.nz/AudioSwitcher/Versions/1.2.1.6/AudioSwitcher.zip



If you guys like it. Feel free to pass it on to your friends :P

I will keep the development temporarily open on this for a little while so if you guys have any suggestions/bugs then post in here and I will fix before releasing a final version.

Feature list is likely to stay locked, unless there is something REALLY GOOD that is missing.

Things I may do but, it would require a bit of effort hence may not/probably won't happen:
- Adding scripting/profiles, so a hot key can change more than one device and volume levels etc...
- Adding volume support
- Directx overlay for in game.
- Auto switch device on application launch
Title: Audio Switcher
Post by: EnjoyTheSauce on March 03, 2012, 05:55:34 am
Very cool, thanks a bunch.
Title: Audio Switcher
Post by: EnjoyTheSauce on March 03, 2012, 05:57:17 am
Very cool, thanks a bunch. But, either I'm retarded or the links broke.

Edit: Turns out I am retarded. double post ftw.
Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 06:00:15 am
I was probably uploading a new version when you clicked it :)
Title: Audio Switcher
Post by: O-L-W-A-G on March 03, 2012, 06:17:06 am
Can you add a hook to look for when an application closes / opens?
Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 06:28:16 am
Quote from: O-L-W-A-G;1473021
Can you add a hook to look for when an application closes / opens?
Yea should be doable. Give me enough of a reason to and I might look into it.

That really depends on having a more involved "hot key" system where as you could bind multiple events to the profile/script. Which will require some decent input.
Title: Audio Switcher
Post by: O-L-W-A-G on March 03, 2012, 06:33:21 am
iTunes switches it to onboard 5.1 for music and when BF3 is opened it switches to g930s. Might just need an option for closing or when both applications are open.
Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 06:46:03 am
Quote from: O-L-W-A-G;1473024
iTunes switches it to onboard 5.1 for music and when BF3 is opened it switches to g930s. Might just need an option for closing or when both applications are open.
Easy enough to detect processes when they open, and do something when they do. Would need to add quite bit of new functionality for the device switching though.

Would be on a process open, and it would switch the device on the open. Last program open will get priority in other words.

Will see what I can drum up later today.


EDIT: This needs a front page sticky ;)
Title: Audio Switcher
Post by: O-L-W-A-G on March 03, 2012, 06:50:23 am
Could we pin a shortcut to our task bars that has a command like c:\switcher.exe -headphones?
Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 06:55:21 am
Quote from: O-L-W-A-G;1473027
Could we pin a shortcut to our task bars that has a command like c:\switcher.exe -headphones?
Advantage of that over a tray icon and/or hotkey? the -headphones part would be a user defined "profile" in which the profile would need to define the specific devices to switch to.
Title: Audio Switcher
Post by: O-L-W-A-G on March 03, 2012, 07:03:06 am
One click change instead of going to system tray then click then click. Hotkeys it has nothing on. Scratch that idea what about windows 8 grid thingy? Might start dropping windows 7 because of the boot times once I get my HDD problem sorted.

I can do the HTML / js front end if you want
Title: Audio Switcher
Post by: Speakman on March 03, 2012, 11:20:27 am
good shit xeno, hopefully I'll be able to switch between headphones and front panel on my Xonar without involving the asus control panel

will try it out this arvo
Title: Audio Switcher
Post by: Xenolightning on March 03, 2012, 01:46:25 pm
_b new version.

I think the feature list will stay locked (unless there is something REALLY good that is missing) to keep the app as lightweight/intrusion free as possible. Auto switching when applications open has henceforth been put under features that will not be included, as it's not hard to press a hot key.
Title: Audio Switcher
Post by: Xenolightning on March 18, 2012, 04:08:14 am
_b new version out. Check OP for changelog and new download LINK

Have fixed a few niggly issues, and revised quite a bit of functionality.

Mostly a stability release however.

If possible can I get some feedback if anyone runs into issues.

Thanks.
Title: Audio Switcher
Post by: Krekor on March 18, 2012, 10:30:16 am
Uninstaller?
Installed latest version to try it.  Single-clicking on system tray resulted in Unhandled Exception Error.
Can't see how to uninstall (or is it simply deleting the .exe?)
Adjusted the .ini file to 'AutoStartWithWindows=False', but it still asked me if I wanted to run it on reboot
Title: Audio Switcher
Post by: Pyromanik on March 18, 2012, 01:29:04 pm
Did you install the .NET 3.5 runtime libraries?
Title: Audio Switcher
Post by: Xenolightning on March 18, 2012, 04:53:07 pm
No installer, therefore no uninstaller. So deleting the exe will remove it. However the on start up thing is a reigstry entry, you can remove that by going into msconfig and removing the start up entry.

What were you doing to the unhandled exception error?

EDIT, hmm single click. Will have a look into it.
Title: Audio Switcher
Post by: O-L-W-A-G on March 18, 2012, 05:32:17 pm
Say I wanted to remove the reg key where would it be located in regedit? I don't want to I use audioswitcher constantly but for future cases.
Title: Audio Switcher
Post by: Xenolightning on March 18, 2012, 05:41:37 pm
HKCU\Software\Microsoft\Windows\CurrentVersion\Run

Key name is AudioSwitcher. Just delete that entry.

However 1.0.0.12, I've fixed the hotkey functions. You no longer need a modifer for a hotkey to work correctly, and the elusive crash in the hotkey window should also be gone.

Also a follow up to Krekor's issue, the ini can now be modified and the changes are now actioned on startup. Which means if you change autostart in the ini, it will remove the entry on next start of the application.

Link in OP.


Krekor: Was the Quick Switch Mode enabled when you got that error?
Title: Audio Switcher
Post by: Xenolightning on March 18, 2012, 06:22:11 pm
v13 up.

Hopefully it should just about close off any/all issue people are having.

COME ON FINAL RELEASE :P

Let me know if hotkeys aren't working. Its a possible known issue.
Title: Audio Switcher
Post by: O-L-W-A-G on March 19, 2012, 06:36:07 am
Would be nice to have a g15 applet or at least an API so I can make one after the final release.
Title: Audio Switcher
Post by: Pyromanik on March 19, 2012, 06:07:08 pm
It'd be good if it had a button that implements RFC 2324, cheers.
Title: Audio Switcher
Post by: Xenolightning on March 19, 2012, 06:43:45 pm
Quote from: Pyromanik;1475864
It'd be good if it had a button that implements RFC 2324, cheers.
Ahh yes have looked into this. Would be a great feature to add.
Title: Audio Switcher
Post by: Speakman on March 19, 2012, 07:12:22 pm
Quote from: Pyromanik;1475864
It'd be good if it had a button that implements RFC 2324, cheers.

oh you
Title: Audio Switcher
Post by: Pyromanik on March 19, 2012, 11:07:20 pm
418: I'm a teapot.
Title: Audio Switcher
Post by: O-L-W-A-G on March 19, 2012, 11:11:04 pm
Just waiting for the toast plugin now.
Title: Audio Switcher
Post by: Xenolightning on March 20, 2012, 01:10:24 am
Quote from: O-L-W-A-G;1475787
Would be nice to have a g15 applet or at least an API so I can make one after the final release.
What did you want said G15 applet to do?
Title: Audio Switcher
Post by: O-L-W-A-G on March 20, 2012, 01:20:19 am
Change the default audio device for microphone and speakers.
|------------------------|
|Via njknjdspnfj (s) X|
|via front fjdlad (m) X|
|G930 fjkadffdsl (m) O|
|AMD jfkldjfklssa (s) X|
|G930 fjdaklfjldsk(s) O|
|-------------------------|

(Button 1-switches between profiles or list) (Button 2-scrolls up list) (Button 3-scrolls down list) (Button 4-selects devices to set as default)
Title: Audio Switcher
Post by: Xenolightning on March 20, 2012, 02:27:04 am
Quote from: O-L-W-A-G;1475948
Change the default audio device for microphone and speakers.
|------------------------|
|Via njknjdspnfj (s) X|
|via front fjdlad (m) X|
|G930 fjkadffdsl (m) O|
|AMD jfkldjfklssa (s) X|
|G930 fjdaklfjldsk(s) O|
|-------------------------|

(Button 1-switches between profiles or list) (Button 2-scrolls up list) (Button 3-scrolls down list) (Button 4-selects devices to set as default)

Could make an API to perform the sound features of the app. Don't have/know how to get the GamePanel SDK or the documentation so yea.
Title: Audio Switcher
Post by: O-L-W-A-G on March 20, 2012, 03:52:39 am
I'll get that info for you later on and you can choose between making an API which I have no knowledge of how to do or doing the g15 app yourself. What language did you use to create audio switcher?
Title: Audio Switcher
Post by: Xenolightning on March 20, 2012, 05:04:37 pm
C# for all of the audio switcher. However there is a good side, because the low level functions are C++  so are portable throughout Windows.

I think C# can be used for the G15 applet too though. Which means the API can be written in C# very easily.
Title: Audio Switcher
Post by: Pyromanik on March 20, 2012, 09:16:35 pm
Do what any decent folk would do. Library that shit and frontend it.
Title: Audio Switcher
Post by: Hugo Stiglitz on June 08, 2012, 03:00:03 am
Hey Xeno, the download link is broken. Can you re-upload please? (I had to format and obviously didn't save this anywhere >_<)
Title: Audio Switcher
Post by: Xenolightning on June 08, 2012, 10:16:38 am
Attached latest version to OP.
Title: Audio Switcher
Post by: Hugo Stiglitz on June 08, 2012, 03:31:14 pm
Thanks, it's a great little app. :)
Title: Audio Switcher
Post by: Xenolightning on June 08, 2012, 03:43:41 pm
Sweet as boss. Glad you're getting some good use out of it.
Title: Audio Switcher
Post by: O-L-W-A-G on June 08, 2012, 06:14:37 pm
Quote from: Hugo Stiglitz;1489327
Thanks, it's a great little app. :)
This

I can't use it unfortunately on OSX

PS: Half way trough building the G15 app but ended up having to learn Java for school work.
Title: Totally awesome App Xeno :D
Post by: Tiwaking! on June 08, 2012, 06:39:02 pm
Quote from: O-L-W-A-G;1489352
but ended up having to learn Java for school work.
You rang?
Title: Audio Switcher
Post by: Pyromanik on June 08, 2012, 10:38:08 pm
Quote from: O-L-W-A-G;1489352
I can't use it unfortunately on OSX

Wholey fucking shit, give your computer to a homeless person.
Title: Audio Switcher
Post by: cencsor on June 09, 2012, 12:08:04 am
Thanks Xeno, nice app.
Title: Audio Switcher
Post by: Krekor on June 09, 2012, 11:33:45 am
Getting a lot of use from this thanks, and just have one small niggle:
I 'Switch Users' a lot, and when I switch to the 2nd account on my Win7 PC, I get a 'Duplicate process detected / Audio Switcher is already running' message.  I then don't have the icon in the sys-tray of my 2nd account.
Title: Audio Switcher
Post by: O-L-W-A-G on June 09, 2012, 03:59:25 pm
Quote from: Pyromanik;1489386
Wholey fucking shit, give your computer to a homeless person.
I'm triple-booting, but over here in the shiny candy land there is white unicorns which puke rainbows and over there on the windows side of the fence there is games spewing out errors, driver issues and the BSoD monster.
Title: Audio Switcher
Post by: Xenolightning on June 09, 2012, 04:47:43 pm
Quote from: Krekor;1489414
Getting a lot of use from this thanks, and just have one small niggle:
I 'Switch Users' a lot, and when I switch to the 2nd account on my Win7 PC, I get a 'Duplicate process detected / Audio Switcher is already running' message.  I then don't have the icon in the sys-tray of my 2nd account.

Nice bug find. I will look into this over the next few days and release a solution for you.

As for OSX; yeah don't really plan on doing anything for Mac :)
Title: Audio Switcher
Post by: O-L-W-A-G on June 09, 2012, 06:06:36 pm
Don't need to somebody already has made a slighter more advanced version of your helpful app
Title: Audio Switcher
Post by: Pyromanik on June 10, 2012, 11:18:14 am
No one gives a fuck what you think. Mostly because it's always retarded drivel, but also because you can't even muster an average command over the English language.
Title: Audio Switcher
Post by: O-L-W-A-G on June 10, 2012, 11:39:41 am
This is a public forum where people post their opinions and so forth. If you can't grasp that fact go to another such as GP or adjust your profiles settings to ignore my posts instead of spamming the forums.
Title: Audio Switcher
Post by: Pyromanik on June 10, 2012, 12:24:46 pm
This is a public forum where people post their opinions and so forth. When will you grasp that fact that my opinion of you being a retard is pretty much unanimous go to another such as GP where the amount of derp in your posts is tolerated instead of spamming these forums.
Title: Audio Switcher
Post by: Zarkov on June 10, 2012, 03:52:11 pm
Shhh.
Title: Audio Switcher
Post by: Xenolightning on June 10, 2012, 05:40:04 pm
v15

Removed duplicate process check.

Have left v14 up there for the people that want the duplicate check.
Title: Audio Switcher
Post by: Xenolightning on June 19, 2012, 12:09:29 am
Going through a slight rebuild of the architecture and the packaging system to create an API/Sound Function Library.

Have uploaded an RC build for the people that want to use it.

I think its stable (works on my PC)

Fixed a bug in the hotkeys where it didn't list the microphone devices too.

Logitech LCD Applet to come eventually.

Also installer with a system service to fully support multiple user accounts is to follow in the near future. Service will support any application and can act as an "Live" API also.
Title: Audio Switcher
Post by: Pyromanik on June 19, 2012, 05:38:46 pm
What kind of things is the API for?
What kind of sound functions does it do?
Title: Audio Switcher
Post by: Xenolightning on June 19, 2012, 06:36:08 pm
All I am using the API for is to retrieve the devices and then set them as default devices. Nothing amazing.

At the moment, it has an in built wrapper for the low level sound devices.  Including accessors for easily retrieving available playback and recording devices.

The AudioDevice wrapper currently supports:

- Setting the default device to "this"
- Mute/Unmute/Mute toggle
- Setting the volume level of "this"
- Name/HWID/Device Type etc..

All functions work for playback and recording devices through the same "interfacing".

Currently looking into building upon the AudioMeter to return current levels being played through any/all channels on an audio device. Might look at building this as an eventing model.


There are a whole bunch of features that are possible, I've only really started to scratch the surface.
Title: Audio Switcher
Post by: Xenolightning on June 21, 2012, 10:49:23 pm
I'm bored lately, hence:

New version

1.0.7.9 RC1

Refreshed GUI, added bits n pieces

Full Changelog + Download in OP
Title: Audio Switcher
Post by: Xenolightning on July 06, 2012, 08:23:19 pm
Bitches

Changelog in OP

http://services.fortyone.net.nz/AudioSwitcher/Versions/1.1.0.7/AudioSwitcher.zip

Download link there

also download in OP

Shit just got real son.
Title: Audio Switcher
Post by: Emrico1 on July 06, 2012, 09:43:44 pm
Donated :D
Title: Audio Switcher
Post by: Xenolightning on July 06, 2012, 11:31:37 pm
Quote from: Emrico1;1493030
Donated :D

Cheers boss!

Believe it or not you aren't the first to do so... You are the second :P Got some guy based in Sweden send me a donation.

So there's a new version out

Do an update


http://services.fortyone.net.nz/AudioSwitcher/Versions/1.2.1.6/AudioSwitcher.zip


Thats the last version I will link unless requested :)
Title: Audio Switcher
Post by: Xenolightning on August 16, 2012, 08:04:14 am
Issue was embedded in the last update 1.2.3.2. It has been resolved, but the issue stops automatic updating so I can't push out the fix.

To get the latest version, 1.2.3.3, visit the URL below.

http://services.fortyone.net.nz/AudioSwitcher/Versions/1.2.3.3/

The buggy version has since been removed from the deploy list.
Title: Audio Switcher
Post by: Codex on November 14, 2012, 02:23:17 am
Make an auto update :P
Title: Audio Switcher
Post by: Xenolightning on November 14, 2012, 09:44:05 am
That just updates the app in the background?

There's update polling shit already, with prompts/balloon messages when there is an update.

Getting around to re-doing the UI, so will add a few bits 'n' pieces when that starts.

v2 Planned features:
- Macro's
- Volume control (mainly for Macro's, so you can switch device and alter the output volume in one swift wrist action)
- DX/OpenGL overlay
Title: Audio Switcher
Post by: Emrico1 on December 30, 2012, 02:35:00 pm
Would it be possible to show/hide devices? I have a tiny brain so when selecting speakers I have to pick the two out of four, I'd really like to hide the circled ones.
Love this app so much btw

(http://iforce.co.nz/i/jahpqntw.lzf.png)
Title: Audio Switcher
Post by: Codex on December 30, 2012, 02:45:43 pm
I like how you drew a penis
Title: Audio Switcher
Post by: trololololo on December 30, 2012, 03:23:38 pm
Quote from: Emrico1;1513071
Would it be possible to show/hide devices? I have a tiny brain so when selecting speakers I have to pick the two out of four, I'd really like to hide the circled ones.
Love this app so much btw

([url]http://iforce.co.nz/i/jahpqntw.lzf.png[/url])


you can right click in the sound control panel (the control panel that looks very similiar to this) on the unused devices and disable, the disabled devices will show as grey blobs
Title: Audio Switcher
Post by: Emrico1 on December 30, 2012, 03:33:29 pm
Quote from: trololololo;1513077
you can right click in the sound control panel (the control panel that looks very similiar to this) on the unused devices and disable, the disabled devices will show as grey blobs

Sweet, I'll try that. Thanks.
Title: Audio Switcher
Post by: Pyromanik on December 30, 2012, 09:54:30 pm
Nice :D there Emrico
Title: Audio Switcher
Post by: Emrico1 on December 30, 2012, 11:22:16 pm
Sort of works... They are still there but a little grey.

(http://iforce.co.nz/i/dpn3c2yp.b4w.png)
Title: Audio Switcher
Post by: Hugo Stiglitz on December 31, 2012, 12:27:16 am
You can also rename each device in the Windows control panel so it's easier to tell which is which.
(http://iforce.co.nz/i/zko4owit.epg.png) (http://www.iforce.co.nz/View.aspx?i=zko4owit.epg.png)
Title: Audio Switcher
Post by: Xenolightning on December 31, 2012, 12:48:16 pm
I have plans to re-do the UI. So there is a window of time I'll be taking more suggestions.

I'm on holiday atm <3

But if I get bored, I'll see how far behind the code in the repository is. If it's not too far behind, I'll add a feature to rename and hide/show devices with a little check-box to show all devices etc..
Title: Audio Switcher
Post by: Speakman on January 05, 2013, 03:33:57 pm
New flat = new set up design, which means I can now use your app!


Previously, had both headphones and speakers on my Asus soundcard (had to use the device software to switch between the two), now I only have headphones on the soundcard and speakers on HDMI.


This works perfect, good job dude!
Title: default Audio device on Startup?
Post by: ednax on March 15, 2013, 06:12:03 am
Hello,

hey, I really like this tool, but I have a question:
Is it possible to set a default Audio device on windows-Startup?
Or maybe to use a shotcut (e.g. "AudioSwitcher.exe headset") which could be used at windows Startup?

greetings
Ednax
Title: Audio Switcher
Post by: Xenolightning on March 15, 2013, 08:31:39 am
Quote from: ednax;1520755
Hello,

hey, I really like this tool, but I have a question:
Is it possible to set a default Audio device on windows-Startup?
Or maybe to use a shotcut (e.g. "AudioSwitcher.exe headset") which could be used at windows Startup?

greetings
Ednax
Welcome!

I have released a new version. If you check for updates, or restart the application you should get it.

1.3.5.12

This adds support for setting a startup device for playback and recording.

It hasn't been tested because I'm not in my normal development environment, but it looks as though it works :P


Also, BOOM, 2 hour turn around on a feature request
Title: Audio Switcher
Post by: Emrico1 on March 15, 2013, 02:05:02 pm
GC
Title: Audio Switcher
Post by: Pyromanik on March 15, 2013, 07:29:25 pm
Also, random guys turning up from google (who may or may not be a bot).
Nice work bro!
Title: Audio Switcher
Post by: ednax on March 15, 2013, 08:50:56 pm
Quote from: Xenolightning;1520773

I have released a new version. If you check for updates, or restart the application you should get it.
...
It hasn't been tested because I'm not in my normal development environment, but it looks as though it works :P
...
Also, BOOM, 2 hour turn around on a feature request


I just updated to the new version and it seems to be working.
thank you very much for adding this Feature :encouragement:
Title: Audio Switcher
Post by: Pyromanik on March 15, 2013, 11:40:35 pm
Not a bot, amazing.
Where are you from ednax?
Title: Audio Switcher
Post by: ednax on March 16, 2013, 01:21:16 am
Quote from: Pyromanik;1520901
Not a bot, amazing.
Why should I be a bot? And what would a bot want to do with AudioSwitcher? :suspicion:
And I guess a bot would have problems to solve the captchas (I realy don't like captschas).

Quote from: Pyromanik;1520901
Where are you from ednax?
I'm from Germany and frankly I'm only here because I was looking (with google) for such a tool.
Maybe I find more interesting Tools and Threads here.
Title: Audio Switcher
Post by: Pyromanik on March 16, 2013, 09:59:46 am
Quote from: ednax;1520905
I'm from Germany and frankly I'm only here because I was looking (with google) for such a tool.

That is so awesome. Welcome.
(and kudos to Xeno!)



Also the bot thing; we get quite a few breaking through the captcha often, and some are 'content aware' to an extent. Eg. post some sort of almost relevant comment in line with the topic, but without actually mentioning the topic at all (in order to try an trick people before posting subtle spam links so people will think they're legitimate I guess).
Your first post was quite specific, but it's a bit of a rolling joke around here for new members who just pop up out of nowhere. Sorry if it caused any offence :)
Title: Audio Switcher
Post by: Xenolightning on March 17, 2013, 12:35:08 pm
You'll have to excuse Pyro. He is very protective of his internet space :)

We do get a lot of bots here though so I can understand is enquiry.

Glad to hear its working.

Weird and cool that google found this page for this tool.
Title: Audio Switcher
Post by: Xsannz on March 17, 2013, 01:03:54 pm
next release needs paypal donate button Xeno....
Title: Audio Switcher
Post by: Xenolightning on March 17, 2013, 01:16:27 pm
It has one.
Title: Audio Switcher
Post by: Pyromanik on March 17, 2013, 06:57:40 pm
rofl xsannz.
Title: Audio Switcher
Post by: Xenolightning on March 18, 2013, 07:52:50 am
Hayyyyyy!

Emrico One;

Do you still want show/hide devices? If so, I will do that at some point, also introduce custom names for the devices (separate from CPL)
Title: Audio Switcher
Post by: Emrico1 on March 18, 2013, 03:24:41 pm
Quote from: Xenolightning;1521039
Hayyyyyy!

Emrico One;

Do you still want show/hide devices? If so, I will do that at some point, also introduce custom names for the devices (separate from CPL)

Yeah man, that would be good.
Title: Audio Switcher
Post by: Codex on March 18, 2013, 03:44:53 pm
Make a build from emrico using various coloured vaginas and penis', it will make things easier for him. Somehow.
Title: Audio Switcher
Post by: Xenolightning on March 18, 2013, 03:50:08 pm
No problem Emrico Juan.

You know I shall let when this is complete. Herh herh herh.
Title: Audio Switcher
Post by: ednax on March 19, 2013, 04:46:47 am
How about using the icon from the activated/default sound device as program-icon in systray?
Title: Audio Switcher
Post by: Xenolightning on March 19, 2013, 01:35:17 pm
Quote from: ednax;1521152
How about using the icon from the activated/default sound device as program-icon in systray?
I made that change on my local PC.

But I'm not so sure if its a good one or not. Will mean you will be looking for a changing icon to switch the devices.

Will submit it for "approval" before releasing.



By the way everyone:

I am refreshing the whole UI. If you would like to have some input into the layout just drop you suggestions here.

I don't mind the current layout, but I will touching up the lists, buttons and menus mostly.
Title: Audio Switcher
Post by: Pyromanik on March 19, 2013, 06:20:41 pm
Quote from: Xenolightning;1521212
I made that change on my local PC.

But I'm not so sure if its a good one or not. Will mean you will be looking for a changing icon to switch the devices.

Will submit it for "approval" before releasing.

Why not just make it an option in some settings menu somewhere?
Title: Audio Switcher
Post by: Xenolightning on March 19, 2013, 07:42:33 pm
Quote from: Pyromanik;1521219
Why not just make it an option in some settings menu somewhere?
I was thinking that, but the settings were supposed to be a simple thing, and with all the new settings it's getting to be a beast.

I will have to rethink how the settings work, and generate XML for settings.

Can go out with UIv2
Title: Audio Switcher
Post by: Pyromanik on March 19, 2013, 10:08:35 pm
Just lay it out nice and it'll be still simple. It's amazing the difference a nice design makes.
Title: Audio Switcher
Post by: Mayhem_Lee on March 19, 2013, 11:00:43 pm
Using this to grab mic from USB headset and sound via speakers. Cheers bud works a treat
Title: Audio Switcher
Post by: ednax on March 19, 2013, 11:15:55 pm
Quote from: Xenolightning;1521212
I made that change on my local PC.
But I'm not so sure if its a good one or not. Will mean you will be looking for a changing icon to switch the devices.

 
hmm, I guess you are right. Probably not a good Idea...

Another thing: The "Startup Device" is selected when starting the program - that works great.
But the Systray-Popup and Tooltip are showing the wrong device (if the device changes at startup).
Title: Audio Switcher
Post by: Xenolightning on March 20, 2013, 09:04:29 am
Quote from: Mayhem_Lee;1521243
Using this to grab mic from USB headset and sound via speakers. Cheers bud works a treat
Shweet, good to hear.
Quote from: ednax;1521246
hmm, I guess you are right. Probably not a good Idea...

Another thing: The "Startup Device" is selected when starting the program - that works great.
But the Systray-Popup and Tooltip are showing the wrong device (if the device changes at startup).
Yeah, not to mention the icons are hard to identify when shrunk down to task bar size.
Title: Audio Switcher
Post by: Codex on March 20, 2013, 12:17:37 pm
Colour them for task bar :P
Title: Audio Switcher
Post by: Pyromanik on March 20, 2013, 05:35:35 pm
Make sure colour has a u in it, like a bawss.
Title: Audio Switcher 2.0 Teaser
Post by: Xenolightning on August 13, 2013, 05:32:41 pm
Wooo, with the wind down of a major work project I now have time to improve Audio Switcher.

Version 2 is well in the works!

Major changes:
- Complete overhaul of the GUI. It's now a flatter more consistent look.
- Complete overhaul of the Sound Library. There is now a core eventing model to propagate changes from the kernel to the ui.
- Support for MACROS! Macros will replace the hotkey functionality. As part of this I have implemented a Lua engine, and extended it with a direct access api into the sound library
- New Icon! Thanks Emrico, <3 u

Things still to be added
- Proper updater support
- Better error logging
Title: Audio Switcher
Post by: Speakman on August 13, 2013, 06:47:46 pm
<3
Title: Audio Switcher
Post by: Pyromanik on August 15, 2013, 12:02:52 am
gawd, that "Just make it work" stage of error logging.

"Error: aww fuck, it broke."

Thanks logger, I know exactly where to look!

lol
Title: Audio Switcher
Post by: Xenolightning on August 17, 2013, 05:29:36 pm
Quote from: Pyromanik;1529957
gawd, that "Just make it work" stage of error logging.

"Error: aww fuck, it broke."

Thanks logger, I know exactly where to look!

lol

Nope, don't do that. Either its in dev, or it at least logs a stack trace.
Title: Audio Switcher
Post by: Codex on August 19, 2013, 02:25:40 pm
don't the pro's test in prod
Title: Audio Switcher
Post by: Xenolightning on August 20, 2013, 11:01:19 am
Quote from: Codex;1530128
don't the pro's test in prod
Absolutely. It's the best place to treat. Especially payment testing :B
Title: Audio Switcher
Post by: Pyromanik on August 20, 2013, 11:44:39 pm
*Obligitory bumblebee reference*
Title: Audio Switcher
Post by: Lias on August 22, 2013, 03:20:13 pm
Quote from: Pyromanik;1530209
*Obligitory bum xeno reference*

Fixed
Title: Audio Switcher
Post by: Krekor on August 25, 2013, 01:09:25 pm
Looking forward to this.  USB Headset + 3.5mm Speakers makes this program a life-saver.
Title: Audio Switcher
Post by: Xenolightning on August 25, 2013, 02:15:52 pm
Quote from: Krekor;1530479
Looking forward to this.  USB Headset + 3.5mm Speakers makes this program a life-saver.

:D

Back from holiday now, so can start putting in the final touches.


Sneak preview of the new GUI:
(http://iforce.co.nz/i/fikoi5ho.4kt.png)
Title: Audio Switcher
Post by: Xenolightning on September 03, 2013, 11:34:18 pm
After a lot of fucking around; I've moved the scripting macro language to Javascript. Mainly because there is no solid, lightweight Lua implementation for .NET 3.5. I had Lua working, but it didn't have support for loops and other shit like that.

Now I'm finalising the Javascript API, and plan to write a little documentation around the usage and set up some basic macros for hotkey switching functions. Along with this I am going to compile a command line program that exposes the Audio JS API to directly to Javascript; resulting in the flexibility of:

Code: [Select]

# asc.exe /path/to/somejsfile.js


As an extension I might expose a basic JS UI library to show notifications etc.. too.

Hoping to have a 2.0.0.0 beta1 out in a few weeks.

Considering open sourcing the whole thing, but I'd like to put it on Github, and that'd involve me learning how to git.

One of my testing macros ^_^:
Code: [Select]

var devices = getAudioDevices(1);

var game, speakers;

for (var i = 0; i < devices.length; i++) {
    console.log(devices[i].id + " - " + devices[i].name + " - " + devices[i].flags);
    if (devices[i].name == "GAME")
        game = devices[i];

    if (devices[i].name == "Speakers")
        speakers = devices[i];
}

setDefaultDevice(speakers.id);

sleep(2000);

setDefaultDevice(game.id);


For the people that like to tinker I've attached a command line app. asc.exe
Title: Audio Switcher
Post by: Pyromanik on September 07, 2013, 12:43:51 am
So was that Javascript or JScript? :P
Title: Audio Switcher
Post by: Xenolightning on September 07, 2013, 04:30:36 pm
Scripting Engine: ECMAScript 262 version 1.5 (also known as JavaScript)

So not JScript

:)
Title: Audio Switcher
Post by: Xenolightning on September 07, 2013, 04:32:46 pm
Scripting Engine: ECMAScript 262 version 1.5 (also known as JavaScript)

So not JScript

:)
Title: Re: Audio Switcher
Post by: Xenolightning on May 12, 2014, 12:36:15 pm
DDDDDDDDDDDDDOUBLE POAST.

On a slightly related note.

I created a beta app that redirects the sound from a specific process to an audio device.

https://github.com/xenolightning/AudioSwitcher.AudioApi/releases

It won't work for every application, but it's worth trying if you ever wanted this functionality :P

I've successfully done this with VLC so far :>
Title: Re: Audio Switcher
Post by: Xsannz on May 12, 2014, 02:05:48 pm
sweet, now need a mac version.. with the application specific audio streams :)  the mac has issues with audio and switching devices.

you basically have to stop all audio sources connect then disconnect then try audio again before it will switch headphones and devices.. this tool would be useful, although my understanding of macs is only from a user end point, I've never had to dev for it.
Title: Re: Audio Switcher
Post by: Xenolightning on May 12, 2014, 02:34:59 pm
sweet, now need a mac version.. with the application specific audio streams :)  the mac has issues with audio and switching devices.

you basically have to stop all audio sources connect then disconnect then try audio again before it will switch headphones and devices.. this tool would be useful, although my understanding of macs is only from a user end point, I've never had to dev for it.
I don't have any issues with audio when plugging in headphones whilst using speakers.

OSX has a completely different audio system, and doesn't have the level of Hook support like Windows.

Also, I CBF with C++ and Obj-C can suck a fat one.

In short OSX can die in a hole until they create a decent language and development platform :>

Title: Re: Audio Switcher
Post by: Xsannz on May 12, 2014, 02:40:33 pm
hey hey C++ and OBJ C has it's places..  mostly in a fiery hole..
Title: Re: Audio Switcher
Post by: Xenolightning on May 12, 2014, 02:48:00 pm
hey hey C++ and OBJ C has it's places..  mostly in a fiery hole..
No qualms with C++, just Objective C. I went through an online tutorial and just about vomitted.
Title: Re: Audio Switcher
Post by: Apostrophe Spacemonkey on May 12, 2014, 02:51:36 pm
All this programming talk is giving me a code boner.
Title: Re: Audio Switcher
Post by: Lias on May 12, 2014, 02:53:25 pm
All this programming talk is giving me a code boner.

You need an open socket to probe..
Title: Re: Audio Switcher
Post by: Xenolightning on May 12, 2014, 03:04:21 pm
All this programming talk is giving me a code boner.
Boner++
Title: Re: Audio Switcher
Post by: Xsannz on May 12, 2014, 03:18:14 pm
using GF2.0;
using Durex.Collections.Generic;
using Human.Interaction;

namespace relief_Function
{
   class Boner
   {
      static void Main(string[] args)
      {
         lube a;
         furry_hole b;
         Boner z;
         If( b != moist){ ++a}
         else

         While (z == true)
         { b + z  && b - z}

        if(z !=true){sleep}

   }//END      boner
}//END         relief_Function
Title: Re: Audio Switcher
Post by: Xenolightning on May 12, 2014, 03:38:40 pm
Thread has reached new heights.
Title: Re: Audio Switcher
Post by: nevjmac on May 12, 2014, 05:52:30 pm
Another succesful adventure into the lazy life of nevjmac....

Title: Re: Audio Switcher
Post by: Pyromanik on May 29, 2014, 08:22:44 am
So here I was thinking that objective c and c sharp were the same thing.

Turns out they are (that same thing being 'shit').

OH YES I WENT THERE!
Title: Re: Audio Switcher
Post by: Xenolightning on October 07, 2014, 08:40:14 pm
DDDDDDDDDDDDDOUBLE POAST.

On a slightly related note.

I created a beta app that redirects the sound from a specific process to an audio device.

https://github.com/xenolightning/AudioSwitcher.AudioApi/releases

It won't work for every application, but it's worth trying if you ever wanted this functionality :P

I've successfully done this with VLC so far :>
TFW you try this on Spotify to "sticky" it to DAC + Headphones and it works.

 8) 8) 8) 8)
Title: Re: Audio Switcher
Post by: Xsannz on October 08, 2014, 07:06:11 am
i really want to write something with functionality like this for my MAC, fooking hate having to dive through the system jus to  switch audio devices
Title: Re: Audio Switcher
Post by: Xenolightning on October 08, 2014, 08:37:35 am
http://lmgtfy.com/?q=audioswitcher+mac (http://lmgtfy.com/?q=audioswitcher+mac)
Title: Re: Audio Switcher
Post by: Xenolightning on October 08, 2014, 12:56:04 pm
Went out looking for stock photography for full page bacground images for new audio switcher website.

Decided it was easier to create my own, so I spent 30 mins taking about 100 photos.

One after PP: http://iforce.co.nz/i/swnrfkzg.qdb.jpg (http://iforce.co.nz/i/swnrfkzg.qdb.jpg)
Title: Re: Audio Switcher
Post by: Codex on October 08, 2014, 01:06:35 pm
Sweeeeet I like
Title: Re: Audio Switcher
Post by: Xenolightning on October 08, 2014, 01:15:07 pm
<3uCodex

The non darkened photos are much better, but yeah BG, etc...

Title: Re: Audio Switcher
Post by: Xsannz on October 09, 2014, 08:08:01 am
i like the darkened one.