Author Topic: What's With The Sound Quality?  (Read 61522 times)

Dromede

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • http://
What's With The Sound Quality?
« on: May 15, 2007, 10:07:03 am »
in the beginning, there was the Sharprom...it's music player was quite good, the sound was crisp and loud...but there was little bass response. and since it doesn't have an equalizer the problem could not be fixed. Then there was the PdaXrom which gave us Xmms... well, im here to discuss about the crappy sounds emanating from my (quality)headphones driven by Xmms. as i said the sound is crappy, apparently unbalanced and there is no way of fixing that since xmms equalizer doesnt work on our Z's. fine, i said to myself...just install some other player that has a working equalizer. So i hit the forums...And end up being seriously dissapointed....

apparently there is no music player with an acceptable working equ AFAIK.
Which is kind of strange 'cos it seems that our Z's sound chips(wolfson WM8750) have basic equ capabilities which can be seen on this link:

http://staging.wolfsonmicro.com/products/WM8750/

I also remember reading somewhere that our Z's have the same DAC as ipod's do, can anyone confirm/negate that?

So what's the problem? is it so hard to make a software interface to existing hardware dsp capabilities? And why doesn't xmms equ work?

Dromede

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #1 on: May 17, 2007, 03:46:57 am »
anyone?
anything?

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
What's With The Sound Quality?
« Reply #2 on: May 17, 2007, 05:05:09 am »
Quote
anyone?
anything?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161512\"][{POST_SNAPBACK}][/a][/div]

Sadly, I thinnk anyone who gives a toss has already dumped their Zs for something a bit more appropriate.  I had a vision, once, that I could use my Z for all manner of tasks from being an MP3 player to reading pdf files to composing emails.  Fairly simple stuff, no?  Well, ever since upgrading from OZ 3.2 (I have a collie), the Z has been nothing but trouble with stupid problems like not being able to suspend properly, through extremely rough sound quality with mp2 files to general instability.  For sure, the hardware is capable of useful things but the software sucks badly - nothing is ever stable.  Even playing with the Qtopia ROM I now find that it ignores the SD card I have.  So now it sits in my rucksack waiting for the day when a useable OS is available.  Until that time, a real MP3 player and outboard Creative Dolby encoder takes care of my musical needs and good old fashioned paper books do the rest...

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #3 on: July 03, 2007, 02:05:38 pm »
Actually, I'm currently hacking the 2.4 driver for the WM8750 audio chip.
The headphone jack on my Zaurus is broken. It won't recognize when I'm pulling out the headphone plug and thus won't switch back to the internal speaker. I've already added functionality for manually overriding that.
Anyway, while I was at it I also extended the driver to support bass and treble regulation. This is currently only working in my userspace testcode, however it will make it into the driver ASAP.
I think I have the patches ready by the weekend.
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

Dromede

  • Full Member
  • ***
  • Posts: 155
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #4 on: July 03, 2007, 02:36:25 pm »
you just made me really happy... :-D

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #5 on: July 06, 2007, 05:49:32 am »
Quote
Actually, I'm currently hacking the 2.4 driver for the WM8750 audio chip.
The headphone jack on my Zaurus is broken. It won't recognize when I'm pulling out the headphone plug and thus won't switch back to the internal speaker. I've already added functionality for manually overriding that.
Anyway, while I was at it I also extended the driver to support bass and treble regulation. This is currently only working in my userspace testcode, however it will make it into the driver ASAP.
I think I have the patches ready by the weekend.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164234\"][{POST_SNAPBACK}][/a][/div]

Wow! Thats great news!

I hope to see this code integrated into the kernel of the next pdaXii13 release

Thanks for improving the Z experience eviLjazz!
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #6 on: July 07, 2007, 12:26:57 am »
Quote
Quote
Actually, I'm currently hacking the 2.4 driver for the WM8750 audio chip.
The headphone jack on my Zaurus is broken. It won't recognize when I'm pulling out the headphone plug and thus won't switch back to the internal speaker. I've already added functionality for manually overriding that.
Anyway, while I was at it I also extended the driver to support bass and treble regulation. This is currently only working in my userspace testcode, however it will make it into the driver ASAP.
I think I have the patches ready by the weekend.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164234\"][{POST_SNAPBACK}][/a][/div]

Wow! Thats great news!

I hope to see this code integrated into the kernel of the next pdaXii13 release

Thanks for improving the Z experience eviLjazz!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164417\"][{POST_SNAPBACK}][/a][/div]
I agree. That will be a really nice addition to my Z. Looking forward to it, thanks
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #7 on: July 07, 2007, 08:40:14 am »
It's almost finished. I just need to debug a problem with enabling the 3D mode. For some reason the register is switching back right after the mode was enabled for the first time and the audio device is closed.
Also the OSS /dev/mixer stuff needs to be implemented. The options look pretty slim for treble, bass and 3D sound adjustments. AFAIK, OSS does only allow values in range of 0 to 100 for these three settings and the WM8750 offers way more options here.
Attached is a preliminary screenshot of the control app. This application will control all advanced parameters in /proc/driver/wm8750/.
« Last Edit: July 07, 2007, 08:45:49 am by eviLjazz »
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
What's With The Sound Quality?
« Reply #8 on: July 14, 2007, 04:59:50 am »
Quote
It's almost finished. I just need to debug a problem with enabling the 3D mode. For some reason the register is switching back right after the mode was enabled for the first time and the audio device is closed.
Also the OSS /dev/mixer stuff needs to be implemented. The options look pretty slim for treble, bass and 3D sound adjustments. AFAIK, OSS does only allow values in range of 0 to 100 for these three settings and the WM8750 offers way more options here.
Attached is a preliminary screenshot of the control app. This application will control all advanced parameters in /proc/driver/wm8750/.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164501\"][{POST_SNAPBACK}][/a][/div]

Wow - nice work.  Will this end up running OK on pdaxrom, or is it dependent on running opie (probably yes, by the looks of the screenshot)
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #9 on: July 14, 2007, 04:34:03 pm »
If a basic commandline-based solution for pdaXrom would be available, that would already be great!
This could be used in conjunction with Xdialog as a GUI.
Please keep us informed!

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #10 on: July 14, 2007, 05:02:54 pm »
I'm now getting the necessary kernel patches and packages ready. It should be available pretty soon.
The mixer application should be compilable with Qt 2 or 3 since it's pretty simple.
I need to check out pdaXii13. Are there any dual-boot options available?
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #11 on: July 14, 2007, 08:18:34 pm »
Alright, here is the first test release:
http://www.katastrophos.net/zaurus/sources/wm8750mixer/

The control app is also available via my feed:
http://www.katastrophos.net/zaurus/packages/

I can provide compiled kernel images if required. Let me know. I can only test on my C3200 though...
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
What's With The Sound Quality?
« Reply #12 on: July 15, 2007, 04:00:32 pm »
hmm - kernel image? Isn't this simply a driver module which has to be replaced? Otherwise it might get quite complicated to add this to an existing setup.

Would such a Sharp ROM module work as well under pdaXrom? I hope so.
Please explain a bit how to set it up.

I am able to compile applications, but not modules or even an entire kernel currently.

Thanks a lot
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

eviLjazz

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://katastrophos.net/andre/blog
What's With The Sound Quality?
« Reply #13 on: July 15, 2007, 04:59:24 pm »
The audio driver for the WM8750 is linked into the kernel. It's not a module. That's the case in almost all 2.4.20 kernels I know of. If it was a module, things would be a lot easier...
My patch extends the existing driver with the new features. I was contemplating to move my code into a separate module. However, some of the features require a register setup quite early in the initialization process of the chip (e.g. for 3D sound). I can't do that in a separate module - at least not with conventional methods...
I can provide compiled kernels for Cacko and Sharp ROM only.
I think pdaXrom beta 3 has special kernel patches applied for the X11 gfx acceleration et al. Where can I find the kernel sources?

Meanie mentions on http://www.users.on.net/~hluc/myZaurus/pdaxii13.html:

Quote
zImage.bin

This is a kernel image. I just renamed the kernel from the C3000 beta2 to zImage-2.4.20.bin. This way, I can use almost any 2.4.20 kernel image for the C3000, by simply renaming the kernel image to zImage-2.4.20.bin and flashing it. I have found that the C3000 beta2 kernel works best and is most stable. I have tried using the Tetsu special kernel image as well and it mostly works, but since the C3000 beta2 kernel works great, there is no point in using the Tetsu kernel.
I still haven't tested pdaXrom beta 3/pdaXii13, so I can't comment here. I don't want to endanger my currently working productive setup.
But it seems pdaXrom beta 3 might as well work with any 2.4.20 kernel. Tetsu's kernel isn't very different from the original Sharp kernel except for several performance optimizations. The kernel that comes with Cacko 1.23 includes most of the Tetsu patches except for the new reliable FastFPE code.
I'm currently in the process of setting up a SVN repository for the 2.4.20 kernel on my site. My current kernel merges the latest Tetsu with the latest Cacko patches and adds some additional features. So perhaps this would be useable with pdaXii13 too? I'll let you know once I have it set up.
« Last Edit: July 15, 2007, 05:24:03 pm by eviLjazz »
Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu LifeBook U2010/64GB SSD running Win7 : Nokia N900 (yes, flame me.) Blog : Twitter : Trac
Quasar Media Player : QScrobbler : Enhanced audio driver and mixer for C1000/C3x00 : Unified Sharp/Tetsu/Cacko/pdaXrom Kernel 2.4.20 branch : My packages : Sources

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
What's With The Sound Quality?
« Reply #14 on: July 15, 2007, 11:21:53 pm »
I think the best idea for getting it to work with pdaXrom would be to submit your work to a pdaXrom dev -- if users have to flash their own unofficial pdaXrom kernel and then try to get pdaXrom to work with it, it might get a little difficult. That's just my idea though -- if you can come up with something different/better go for it.
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!