Ok, I really want this app to work with my setup. Has anyone been able to get Centrafuse 3.1's volume controls to play nice with this driver?
Infiniti QX4 2002 project (done!... for now)
I recently bought one of the Craig Brass DAB/FM Radio Modules and have its audio feeding into my sound cards line-in jack. It's sound quality is pretty good as is, but I always wanted to make it better by passing it through Breakway.
I found out that the Breakway Audio Enhancer version doesn't support processing of line-in audio, whereas the Breakway Live version does but costs more - bumma. Alas, I then thought: what if I could do some sort of simultaneous recording and playback of the line-in, forcing the line-in audio to go through the standard wave out i.e. Breakway, which lead me to this nice C# code.
All this code does is record the line-in audio to a memory buffer and play it back (almost) instantly via the wave out of a sound device. By making it play it back through the Breakaway Sound Device, it means the line-in audio can be processed by Breakaway!
As expected, after some initial tests using the code's demo app, the quality of the Radio's audio improved dramatically after going through Breakaway. Also, you'll need to mute the line-in playback (not the line-in recording) for your sound card to prevent hearing the line-in audio twice.
This trick could also be used for those who still use their Head Unit for their radio, CD, DVD etc or use their IPod/IPhone, by connecting its output to the line-in jack of your carpc. This way you can enhance their audio through Breakaway.
konbaasiang, any chance of having this feature (or something similar) included in the up & coming carpc version?
Anyone have any problems using this with CentraFuse?
Unfortunately there are plenty of us with the same problem…..unable to adjust the volume but, apart from that, Breakaway really improved the sound quality on my car’s setup.
You can always try a plug-in request on the CF forum!
Hmm, is the lack of volume adjust the only thing? I use my head unit for volume control, so if that is the only problem, it is not a problem for me.
I dont use CF and never have before this (since I use my own custom frontend) but thought I'd have a crack at starting some sort of solution to getting it controlling breakaway's volume so all you CF guys can use it as well. Although I managed to prove its possible I ran out of steam/interest and didn't complete it - weak, i know. But, if anyone wants to continue developing what i've started, i've attached the code below.
Anyway, here's what I did: Started by downloading the CF3 trial and SDK to see how it controls the volume, and noticed that CF has a CFMixer.dll in its Mixer Plugins folder. Then I noticed the SDK contains the code for this plugin, thus allowing anyone to change it.
So, I had a play around with this CFMixer code to see if I could simply prove it was possible to get it controlling Breakways volume. I was able to butcher it to force it so CF can see a 'virtual' (for lack of a better word) mixer line for the breakaway volume and treat it as the default Master Volume Line i.e. CF see's Breakway as just another audio mixer line. This allowed CF to change Breakways volume (via the windows msg's mentioned previously in this thread) using CF's standard volume controls.
I doubt anyone would want to use what I've done as it is since it doesn't work very well but its a start. Some of its problems are: The CF volume slider thingy in the bottom left of the screen doesn't work with it (i think cos it uses a different method for setting the volume, but it should be possible to trace & fix easy enough), its forced into WinXP mixer API mode since I dont understand the new & weird Vista/Win7 Mixer API at all yet, and its all pretty clunky.
So, should anyone want to develop it further, here's the code:
It's in VS2010 format, so you'll need this to open it.
Just read your post, only after sending you the last message!
Now on the way to post a request on Centrafuse forum see if they want to get involved, I think its better for me to leave code for those who understand it.
Nice one SpaceMonkey.
Just out of curiosity...and this probably isn't possible due to latencies...but if using low-latency such as ASIO, would it be possible to monitor the MIC input and invert the lower level frequencies as a form of road noise cancellation? Possibly a "learning" feature that can pick up on repetitive noises and cancel those out adaptively (such as the droning of the exhaust, or the blasted sound from the tires - and I realize the sound of the tires would change constantly depending on road surface conditions, speed, etc. but that's the reason for the adaptiveness)
Just a thought...I think that may be of some interest to carpc users which have noisy vehicles despite anti-noise treatments (mine used to be quiet....around 80k miles ago )
Hmm, noise cancellation for your car - cool idea.
I've created a windows service that can capture line-in audio and send it back out through the wave-out in near real-time (allowing line-in/mic audio to pass through breakaway), but there's still a 1/2 second delay. Like you said, the ASIO cards might reduce this delay to make it more feasible. However, I'd have no idea how to process the audio to extract & invert the certain frequencies/noise - sure its more than possible tho.
Also, I'll release the code to my line-in redirector windows service once its debugged...