All of lore.kernel.org
 help / color / mirror / Atom feed
* Equalizer for emu10k1
@ 2005-12-02 19:19 Piotr Tajduś
  2005-12-05 19:05 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Tajduś @ 2005-12-02 19:19 UTC (permalink / raw)
  To: alsa-devel

I have written equalizer for emu10k1, maybe it will be usefull for somebody.
http://gadrael.w.interia.pl/eq10.asm
I tested this only on Audigy...

Piotr Tajduś




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Equalizer for emu10k1
  2005-12-02 19:19 Equalizer for emu10k1 Piotr Tajduś
@ 2005-12-05 19:05 ` Takashi Iwai
  2005-12-07 20:26   ` Piotr Tajduś
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2005-12-05 19:05 UTC (permalink / raw)
  To: Piotr Tajduś; +Cc: alsa-devel

At Fri, 02 Dec 2005 20:19:48 +0100,
Piotr Tajduś wrote:
> 
> I have written equalizer for emu10k1, maybe it will be usefull for somebody.
> http://gadrael.w.interia.pl/eq10.asm
> I tested this only on Audigy...

Any example to load this with ld10k1?

Also, could you make a patch for inclusion to alsa-tools/ld10k1 CVS
tree?  Such a thing is nice to share in the public tree.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Equalizer for emu10k1
  2005-12-05 19:05 ` Takashi Iwai
@ 2005-12-07 20:26   ` Piotr Tajduś
  2005-12-08 16:33     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Tajduś @ 2005-12-07 20:26 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai wrote:

> Any example to load this with ld10k1?

I have inserted this between tone and vol_master:

#Tone
$LO10K1 -n --ctrl c-bass0,bass1,bass2,bass3,bass4:Tone\ Control\ -\ Bass,t-Tone\ Control\ -\ Bass:2,v-Tone\ Control\ -\ Bass:1,c-treble0,treble1,treble2,treble3,treble4:Tone\ Control\ -\ Treble,t-Tone\ Control\ -\ Treble:3,v-Tone\ Control\ -\ Treble:1,c-toneonoff:Tone\ Control\ -\ Switch,t-Tone\ Control\ -\ Switch:4 --patch_name Tone\ Controls -a tone.emu10k1
#Input
$LO10K1 --conadd "POUT(PCM Multi Volume)=PIN(Tone Controls)"
$LO10K1 --conadd "POUT(Stereo To 51)>PIN(Tone Controls)"

#Equalizer
$LO10K1 -n --patch_name EQ10 -a eq10.emu10k1
#Input
$LO10K1 --conadd "POUT(Tone Controls)>PIN(EQ10)"

#Master
$LO10K1 -n --ctrl c-VolM:Master\ Playback\ Volume,t-Master\ Playback\ Volume:1 --patch_name Master\ Volume -a vol_master.emu10k1
#Inputs
$LO10K1 --conadd "POUT(EQ10)>PIN(Master Volume)"

Here is init script for audigy:
http://gadrael.w.interia.pl/init_audigy_eq10

>Also, could you make a patch for inclusion to alsa-tools/ld10k1 CVS
>tree?  Such a thing is nice to share in the public tree.
>  
>
Here is a patch:
http://gadrael.w.interia.pl/eq10.patch


Piotr Tajduś




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Equalizer for emu10k1
  2005-12-07 20:26   ` Piotr Tajduś
@ 2005-12-08 16:33     ` Takashi Iwai
  2005-12-31 17:23       ` ld10k1 equalizer patch Piotr Tajduś
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2005-12-08 16:33 UTC (permalink / raw)
  To: Piotr Tajduś; +Cc: alsa-devel

At Wed, 07 Dec 2005 21:26:49 +0100,
Piotr Tajduś wrote:
> 
> Takashi Iwai wrote:
> 
> > Any example to load this with ld10k1?
> 
> I have inserted this between tone and vol_master:
> 
> #Tone
> $LO10K1 -n --ctrl c-bass0,bass1,bass2,bass3,bass4:Tone\ Control\ -\ Bass,t-Tone\ Control\ -\ Bass:2,v-Tone\ Control\ -\ Bass:1,c-treble0,treble1,treble2,treble3,treble4:Tone\ Control\ -\ Treble,t-Tone\ Control\ -\ Treble:3,v-Tone\ Control\ -\ Treble:1,c-toneonoff:Tone\ Control\ -\ Switch,t-Tone\ Control\ -\ Switch:4 --patch_name Tone\ Controls -a tone.emu10k1
> #Input
> $LO10K1 --conadd "POUT(PCM Multi Volume)=PIN(Tone Controls)"
> $LO10K1 --conadd "POUT(Stereo To 51)>PIN(Tone Controls)"
> 
> #Equalizer
> $LO10K1 -n --patch_name EQ10 -a eq10.emu10k1
> #Input
> $LO10K1 --conadd "POUT(Tone Controls)>PIN(EQ10)"
> 
> #Master
> $LO10K1 -n --ctrl c-VolM:Master\ Playback\ Volume,t-Master\ Playback\ Volume:1 --patch_name Master\ Volume -a vol_master.emu10k1
> #Inputs
> $LO10K1 --conadd "POUT(EQ10)>PIN(Master Volume)"
> 
> Here is init script for audigy:
> http://gadrael.w.interia.pl/init_audigy_eq10
> 
> >Also, could you make a patch for inclusion to alsa-tools/ld10k1 CVS
> >tree?  Such a thing is nice to share in the public tree.
> >  
> >
> Here is a patch:
> http://gadrael.w.interia.pl/eq10.patch

Thanks.  It would be nicer to include the example scripts like above
in the patch.  Could you add them?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

* ld10k1 equalizer patch
  2005-12-08 16:33     ` Takashi Iwai
@ 2005-12-31 17:23       ` Piotr Tajduś
  2006-01-02 14:33         ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Piotr Tajduś @ 2005-12-31 17:23 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

There were problems with EQ10 on Sound Blaster (caused by ACCUM or macmv 
instruction, i am not sure), so i made some changes. Now equalizer 
should work also with SB Live.

Piotr Tajduś



[-- Attachment #2: eq10.patch --]
[-- Type: text/x-patch, Size: 1081 bytes --]

diff -N -u -r ld10k1.orig/setup/effects/eq10.asm ld10k1/setup/effects/eq10.asm
--- ld10k1.orig/setup/effects/eq10.asm	2005-12-31 18:00:13.000000000 +0100
+++ ld10k1/setup/effects/eq10.asm	2005-12-31 18:16:24.000000000 +0100
@@ -42,7 +42,7 @@
 inlfe	io
 toutlfe	equ inlfe
 
-Equalizer control 0,0,#1
+Equalizer control #0,0,#1
 F0_31Hz control #0.5,0,#1
 F1_62Hz control #0.5,0,#1	
 F2_125Hz control #0.5,0,#1	
@@ -75,12 +75,12 @@
 
 ;;; Band Pass Filter Macro:
 BPF	macro   OUT , IN , DELAY , DLXCB , COEF , GAIN
-		macs1	ACCUM,C_0,COEF+1,DLXCB+1
-    		macs	ACCUM,ACCUM,COEF+1,IN
-		macs	ACCUM,ACCUM,COEF+2,DELAY
-		macs1	ACCUM,ACCUM,COEF,DELAY+1
-		macmv	DELAY+1,DELAY,C_0,C_0
-		macints	DELAY,C_0,ACCUM,sco
+		macs1	tmp2,C_0,COEF+1,DLXCB+1
+    		macs	tmp2,tmp2,COEF+1,IN
+		macs	tmp2,tmp2,COEF+2,DELAY
+		macs1	tmp2,tmp2,COEF,DELAY+1
+		macs	DELAY+1,DELAY,C_0,C_0
+		macints	DELAY,C_0,tmp2,sco
 		macs	OUT,OUT,DELAY,GAIN
 	endm
 
@@ -109,8 +109,5 @@
 	IIR	toutrr,inrr,dlx3,dly3
 	IIR	toutc,inc,dlx4,dly4
 	IIR	toutlfe,inlfe,dlx5,dly5
-;	macmv	toutlfe,inlfe,C_0,C_0
 
 	end
-
-

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ld10k1 equalizer patch
  2005-12-31 17:23       ` ld10k1 equalizer patch Piotr Tajduś
@ 2006-01-02 14:33         ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2006-01-02 14:33 UTC (permalink / raw)
  To: Piotr Tajduś; +Cc: alsa-devel

At Sat, 31 Dec 2005 18:23:29 +0100,
Piotr Tajduś wrote:
> 
> There were problems with EQ10 on Sound Blaster (caused by ACCUM or macmv 
> instruction, i am not sure), so i made some changes. Now equalizer 
> should work also with SB Live.
> 
> Piotr Tajduś

Applied to CVS now.  Thanks.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-02 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 19:19 Equalizer for emu10k1 Piotr Tajduś
2005-12-05 19:05 ` Takashi Iwai
2005-12-07 20:26   ` Piotr Tajduś
2005-12-08 16:33     ` Takashi Iwai
2005-12-31 17:23       ` ld10k1 equalizer patch Piotr Tajduś
2006-01-02 14:33         ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.