mainThe OpenVortex Project - Support: sr #103017, vortexcontrol

 
 

sr #103017: vortexcontrol

Submitter:  None
Submitted:  Sun 18 Apr 2004 06:10:11 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 14 Feb 2005 02:01:32 PM UTC, comment #11: 

Vortex Control Panel 0.1.0

IEC958 - SPDIF

aclocal
autoconf
autoheader
automake -a
./configure
make

Anonymous
Wed 07 Jul 2004 05:49:29 PM UTC, comment #10: 

Vortex Control Panel

  0.0.6
         Wavetable
            - ARL parser.
            - DLS parser.
            - midi parser.          
3D Sound
            - openal (using software renderer - attuentation by distance, doppler effect)

Anonymous
Tue 01 Jun 2004 03:46:19 AM UTC, comment #9: 

vortexcontrol 0.0.5

10 bands Graphical Hardware Equalizer
AC97 mixer
Hardware mixing with scope
Speaker Test
3D Sound ( Not function yet )

Anonymous
Fri 07 May 2004 08:44:20 AM UTC, comment #8: 

vortexcontrol.c 0.0.4

10-bands Equalizer with graphical EQ peak
AC97 Mixer
Speaker Test

GUI of 3D Sound and SPDIF

Anonymous
Thu 29 Apr 2004 03:22:45 AM UTC, comment #7: 

vortexcontrol 0.0.3

Hardware Equalizer (dynamic EQ peak)
GUI of AC97 Mixer

Anonymous
Mon 26 Apr 2004 03:57:32 AM UTC, comment #6: 

au8820 should not call 

gtk_timeout_add(40, equalizer_update_eqpeak_callback, NULL);

Anonymous
Sun 25 Apr 2004 04:50:26 PM UTC, comment #5: 

gcc -Wall vortexcontrol.c -o vortexcontrol `pkg-config --cflags gtk+-2.0` -lasound `pkg-config --libs gtk+-2.0`

Anonymous
Sun 25 Apr 2004 02:40:44 AM UTC, comment #4: 

The EQ Peak Meters will have a more dynamic display if you replace

eqpeak_max=snd_ctl_elem_info_get_max(info);

by

eqpeak_max=eqpeak_min+64;


   

Anonymous
Sat 24 Apr 2004 05:46:07 PM UTC, comment #3: 

Vortex Control Panel Version 0.0.2

Graphical EQ Peak and Equalizer

Anonymous
Sat 24 Apr 2004 09:17:06 AM UTC, comment #2: 

static int
snd_vortex_peaks_info(snd_kcontrol_t kcontrol, snd_ctl_elem_info_t uinfo)
{
uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
uinfo->count = 20;
uinfo->value.integer.min = 0x0000;
uinfo->value.integer.max = 0x7fff;
return 0;
}

snd_ctl_elem_value_get_integer = 0 167713136 12970489
snd_ctl_elem_value_get_integer = 1 1 167758360
snd_ctl_elem_value_get_integer = 2 -536870890 80
snd_ctl_elem_value_get_integer = 3 0 0
snd_ctl_elem_value_get_integer = 4 1 13121220
snd_ctl_elem_value_get_integer = 5 167598340 0
snd_ctl_elem_value_get_integer = 6 13121220 0
snd_ctl_elem_value_get_integer = 7 167758360 4
snd_ctl_elem_value_get_integer = 8 12972384 13121220
snd_ctl_elem_value_get_integer = 9 -1075173944 13121220

Why do I get negative peak value when

long snd_ctl_elem_info_get_min (const snd_ctl_elem_info_t *obj) return 0

long snd_ctl_elem_info_get_min (const snd_ctl_elem_info_t *obj) return 32767 ?

Is there any sample code to obtain 20 EQ Peak values using alsa-lib ?

Anonymous
Sat 24 Apr 2004 08:49:32 AM UTC, comment #1: 

Are EQ Peaks 16-bit or 32-bit ?

>amixer contents

numid=12,iface=MIXER,name='EQ Peaks'
  ; type=INTEGER,access=r----,values=20,min=0,max=32767,step=0
  : values=1,1,0,1,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,0


long snd_ctl_elem_value_get_integer (const snd_ctl_elem_value_t *obj, unsigned int idx)


#define hwread(x,y) readl((x)+((y)>>2))

static void vortex_EqHw_GetTenBandLevels(vortex_t * vortex, u16 peaks[])
{
eqhw_t *eqhw = &(vortex->eq.this04);
int i;

if (eqhw->this04 <= 0)
return;

for (i = 0; i < eqhw->this04; i++)
peaks[i] = hwread(vortex->mmio, 0x2B024 + i * 0x30);
for (i = 0; i < eqhw->this04; i++)
peaks[i + eqhw->this04] =
    hwread(vortex->mmio, 0x2B204 + i * 0x30);
}

static int vortex_Eqlzr_GetAllPeaks(vortex_t vortex, u16 peaks, int *count)
{
eqlzr_t *eq = &(vortex->eq);

if (eq->this10 == 0)
return 1;
count = eq->this10 2;
vortex_EqHw_GetTenBandLevels(vortex, peaks);
return 0;
}

static int
snd_vortex_peaks_get(snd_kcontrol_t kcontrol, snd_ctl_elem_value_t ucontrol)
{
vortex_t *vortex = snd_kcontrol_chip(kcontrol);
int i, count;
u16 peaks[20];

vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);
if (count != 20) {
printk("vortex: peak count error 20 != %d \n", count);
return -1;
}
for (i = 0; i < 20; i++)
ucontrol->value.integer.value[i] = peaks[i];

return 0;
}

Anonymous
Sun 18 Apr 2004 06:10:11 PM UTC, original submission:  

Proposed function of Vortex Control

1) Mixer (Volume Control)
2) Equalizer with EQ Peak Meter
3) Midi (Download SoundFont,Reverb and Chrous Effect)
4) Headphone,Stereo Speakers,Quad Speakers Selection
5) Digital In/Out (SPDIF Sample Rate)
6) HTRF

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #3959:  vortexcontrol-0.1.0.tar.bz2 added by None (64KiB - application/x-bzip - Vortex Control Panel 0.1.0)
file #3865:  vortexcontrol.c added by None (388KiB - text/x-csrc - Vortex Control Panel 0.0.6)
file #3854:  vortexcontrol.c added by None (248KiB - text/x-csrc - vortex control panel 0.0.5)
file #3849:  vortexcontrol.c added by None (122KiB - text/x-csrc - version 0.0.4)
file #3846:  vortexcontrol.c added by None (46KiB - text/x-csrc - version 0.0.3)
file #3845:  vortexcontrol.c added by None (21KiB - text/x-csrc - Version 0.0.2)
file #3843:  vortexcontrol.c added by None (7KiB - text/x-csrc - Vortexcontrol.c)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-14 None Attached File- Added vortexcontrol-0.1.0.tar.bz2, #115
2004-07-07 None Attached File- Added vortexcontrol.c, #55
2004-06-01 None Attached File- Added vortexcontrol.c, #47
2004-05-07 None Attached File- Added vortexcontrol.c, #41
2004-04-29 None Attached File- Added vortexcontrol.c, #38
2004-04-24 None Attached File- Added vortexcontrol.c, #37
2004-04-18 None Attached File- Added vortexcontrol.c, #35

Back to the top

Powered by Savane 3.14-f13d.
Corresponding source code