HardwareHeaven.com
Looking for the skin chooser?
 
 
  • Home

  • Reviews

  • Articles

  • News

  • Tools

  • GamingHeaven

  • Forums

  • Network

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP


Reply
 
Thread Tools
Old Jan 4, 2003, 05:40 AM   #1
DriverHeaven Newbie
 
Join Date: Jan 2003
Posts: 9
Rep Power: 0
PenguiN42 is on a distinguished road

Balanced audio "Decoder"

Alright this is really simple, but can be useful. (My first emu10k program ever too )

All it does is invert one input, and add it to the other (both halved) -- but you can use it to decode any balanced inputs you may have coming in (like from your mixer or something) into mono channels for recording. Also can be used as a very simple "vocal cut" or dolby surround rear channel decoder (heh).

Forgive me if this kind of module already exists... I threw it together because I was already recording balanced audio and manually recombined the channels... this made it a lot simpler (hooray for kx!).

----
; New microcode
name "Unbalance";
copyright "Copyright Ken Taylor (c) 2002.";
created "01/03/2003";
engine "kX";
; comment "";
guid "fdcb59bd-f84d-41dc-9fe6-18d1d9e59608";
; -- generated GUID

input hot, cold;
output monoOut;
temp tmp;

macs tmp, 0, hot, 0x40000000;
macsn monoOut, tmp, cold, 0x40000000;

;

end
PenguiN42 is offline   Reply With Quote


Old Jan 4, 2003, 05:43 AM Threadstarter Thread Starter   #2
DriverHeaven Newbie
 
Join Date: Jan 2003
Posts: 9
Rep Power: 0
PenguiN42 is on a distinguished road

oh geez I just realised I could remove the temp variable...

input hot, cold;
output monoOut;

macs monoOut, 0, hot, 0x40000000;
macsn monoOut, monoOut, cold, 0x40000000;

yeah it is really simple ^_^
PenguiN42 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools