yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] rafalense:
As promised for recording improvements (I don't use headphones or fm radio at all), donation sent :)

Confirmation number: 6TU204795F5852455

Thanks a lot for your work Supercurio!

By the way, what about to increase final recording level?

Final average output is around -5db (talking about loud environments), at least for all my tests

Would be nice to see a more 'normalized' final wave ;)

Is it possible to code for voodoo app a gain slider control as well for recording?
[Galaxy S I9000 Android Development] zurchpet:
Yes that is normal until supercurio built in that feature.
[Galaxy S I9000 Android Development] benny.evangelista:
....I'll wait patiently

thanks
[Galaxy S I9000 Android Development] adhikarb:
@SuperCurio

FM playback volume is too low! Can u bring it at par or atleast comparable to the media playback volume. :-)
[Galaxy S I9000 Android Development] fauzone:
@supercurio

i hope you can help me

i will istall kernel (first time) with

Voodoo-stable-5.2-Froyo-2.2.1-GT-I9000-odin-pda.tar

i have this specifications

versione firmware 2.2

Versione banda base I9000NEJP2

Versione kernel 2.6.32.9 root@SE-S608 #1

Numero Build FROYO.NEJP5

PDA I9000NEJP5

PHONE I9000NEJP2

CSC I9000HUIJP5

Build info 2010.11

BRAND H3G ITALY

it will work correctly?

thanks!!:D
[Galaxy S I9000 Android Development] Bajo76:
Would donate 30 euro for mic fix during phone call, at the moment its horrible under loud envirement.

I think it should be fixable the same way you did with video recording. Are you working on it or did you even plan this fix?
[Galaxy S I9000 Android Development] supercurio:
5.3 released !

- New Anti-jitter tuned audio clocks option: really need feedback on this :)

- Mono downmix option

+ in this kernel CIFS and Tun kernel modules added.

There is a lot to do and almost ready but I pushed this new version in emergency to get feedback on the Anti-jitter as soon as possible ;)
[Galaxy S I9000 Android Development] AceSGS:
Im a bit confused about all this lol Is voodoo kernel updated to 5.3 or just the voodoo app? I ask because im looking to update the kernel on my phone because im having problems with the output to my headphones. getting music to my headphones is fine but when i get a phone call i can`t hear the caller through the headphones. Im on darky 9.0.2 as well by the way
[Galaxy S I9000 Android Development] supercurio:
Hi!

It's an issue nobody reported before.

Do you used a kernel named experimental broken pda-only i didn't published for everyone ? Because this kernel don't produce sound during call.

I recommend you flash the latest, it should work.
[Galaxy S I9000 Android Development] JaGuR:
Running 5.2 Sound and about to flash 5.3 sound kernel, but, I am not sure what jitter is, and or how to see if it is fixed as i have never experienced it, or never knew what I should be listening for :(
[Galaxy S I9000 Android Development] AceSGS:
No im using kernal 5.2 that comes with darky`s 9.0.2 rom.

Is there a 5.3 of your kernel?
[Galaxy S I9000 Android Development] supercurio:
Yes, check the first post.

If you still have such an issue, I'll need to investigate on your phone ^^

PS: Android counts a lot of volume settings, be sure none is too low or mute in your standard Android sound settings.
[Galaxy S I9000 Android Development] AceSGS:
Cool, i`ll give it a go. I asked because i don`t see it on your website yet. I`ll report back here when i have flashed
[Galaxy S I9000 Android Development] JaviLoL:
First of all, thanks a lot for your great job, Supercurio. Devs like you make me happy of having a galaxy s. :D

I've tested the video recording and the sound quality is awesome, but the samsung sound recorder is still horrendous, why is that?

Cheers.
[Galaxy S I9000 Android Development] supercurio:
Okay noted this one, I didn't saw it before, thanks!

>> TODO
[Galaxy S I9000 Android Development] supercurio:
It's an app for voice taking. Recording at very low settings (samplerate, bitrate) to reduce disk usage.

There are plenty of alternatives on market ;)
[Galaxy S I9000 Android Development] JaviLoL:
Just as I imagined. I will wipe it from my system.

Thanks for the fast reply!
[Galaxy S I9000 Android Development] AceSGS:
Nope still did not work :( Music plays and i can hear the click my phone makes when going through menus and when you select stuff but no audio in headphones when i make a call
[Galaxy S I9000 Android Development] ouatitw:
Hi Supercurio

Just updated to 5.3 -I think you are definitely now pushing the envelope into the esoteric area of hi-fidelity ! I never expected a phone could sound so good, there is an improvement but i cannot put my finger on the exact reason - it just sounds great?

can you elaborate on CIFS and tun option ?
[Galaxy S I9000 Android Development] mike.sw:
5CL24138VJ629133A as promised for the audio recording fix.

thank you!

btw, i will be really grateful for the person who will explain me the whole jitter thing. i don't notice any difference with this option on or off.

maybe because i don't use my phone as mp3 player at all..
[Galaxy S I9000 Android Development] studiominal:
Waiting for kernels for M110S

First of all, great work and thanks again supercurio.

I'd really enjoy to test your anti-jitter solution, but the thing is, how to check it out whether it has improved the sound or not? Maybe RMAA test? :)
[Galaxy S I9000 Android Development] supercurio:
Lol maybe.

First, about the anti-jitter option.

It affects several things:

- general listening fatigue (you cannot hear it directly) because much less >20kHz artifacts are present in the signal.

- distortions levels, details resolution, sound clarity, sound stage (depends on you and a little about your headphones)

If you want to hear the difference easily, here is how to do it.

Listen to udial: http://bit.ly/gM60HR

With the anti-jitter, and without.

Play this file lound enough, and be sure the headphones you use can render high frequencies.

Warning, I say loud but don't set every level to the maximums ;) This file contains a high level of very high frequencies and can be painful if played really too loud.

And report if you hear a difference ;)

CIFS module is for allowing mounting windows shares (requires a dedicated app)

Tun module is required for some VPNs
[Galaxy S I9000 Android Development] thunderknob:
2 Answers

G'day Supercurio,

Thanks for the new Driver and App.

1) Jitter

Using Latest Build with PowerAMP and some Ultimate Ears Triple Fi 10 Pros

The Jitter option has made a definite improvement when ticked. I Have 128x Oversampling and 1.5db SNR selected too. The sound is more detailed when things get busy for me.

Good Work. Thanks for the update.

Also a suggestion for Volume management option. Is it possible to have the volume keys mapped to analogue gain regardless of the App running. I'm more than happy to live with volume on max for everything when on internal speaker.

2) Headphones for phone calls.

This has never worked with standard TRS (Tip, Ring, Sleeve) jack headphones on any ROM that I know of. If you have the original Samsung headphones that have a specially wired TRRS jack is the only time this will operate for phone calls. Seems the OS needs to detect a mic to send sound for calls through Headphones. Just pull out one earpiece and hold the phone to your ear.
[Galaxy S I9000 Android Development] tomasitoc:
Hello Supercurio,

Do you plans to add the Bluetooth capability.

This will be awesome!
[Galaxy S I9000 Android Development] supercurio:
Yep.

Any recommendations about a cheap bluetooth headset (a problematic one!)
[Galaxy S I9000 Android Development] tomasitoc:
Hello Supercurio,

I have a spare bluetooth stereo headset. It still works. I can send it to you.

So that you can start developing.

PM me your address. I will mail it to you this weekend.
[Galaxy S I9000 Android Development] supercurio:
Oh that's very kind. But you know I'm in France, shipping would maybe cost higher than the device itself ;)
[Galaxy S I9000 Android Development] tomasitoc:
I will check the post office tomorrow. I will let you know if it is too expensive.
[Galaxy S I9000 Android Development] geokilla:
Why would you want a problematic BT?

A good brand for BT is Motorola. Not sure what the prices are like in France, but some of them can be had for as little as $30.
[Galaxy S I9000 Android Development] supercurio:
I mean a problematic one, I the way of if I can her the problem, I can fix it ;)

Maybe the issue is present with every device! I don't know yet as I didn't studied it so far.
[Galaxy S I9000 Android Development] jimmy-bish:
It's a great thing when your iPhone4 fanboy workmate has a listen to a track using Voodoo sound and says, "Yep, that's pretty damn clear. I'm not a fan of Android, but I wouldn't mind a Galaxy S just for the music playback now".

I just sent you AU$10. That gets you 2 beers in Australia, hopefully the same in France. :D

In relation to Bluetooth, I have the Motorola s305 Stereo headset. Sound quality is better than non-voodoo wired headphones, but still not great. Biggest problem is brief pauses in the music and the MP3 actually speeding up and slowing down very slightly, changing pitch as it does (faster, higher pitch; slower, lower pitch). It's very slight, but once you notice it, it's annoying.

I'm back on wired headphones now.

I think I paid $33 from Amazon USA + shipping for the s305, from memory.
[Galaxy S I9000 Android Development] songyop:
Already updated to your latest kernel and installed the updated VooDoo Control App to test your new stuff. So far, all my music sound really good. Maybe I don't have discerning enough music ear, though. I'll let my son try it out. He has very good ears for these things. ^^
[Galaxy S I9000 Android Development] supercurio:
Hahah thanks for the message, that's excellent.

And everyone of us know how it's hard to convince iPhone or Apple fanboys to change anything in their mind :D

That's the ultimate proof :eek:

PS: this bluetooth audio issue like you describe it is really really terrible!
[Galaxy S I9000 Android Development] studiominal:
Quick test conducted

New V3 surely has a positive effect on playback performance. Though I couldn't notice as many differences as I expected, RMAA results prove that IMD+noise performance has improved by activating 'Anti-Jitter' option. :)

V2 here means '+1.5dB SNR booster' and 'x128 Oversampling' both enabled and V1 is just for headphone amp analog controller. Anti Jitter option is a new feature implemented in V3 you know.

I'm not an expert in this area, but supercurio surely will tell what it means :D As far as I know, IMD means interference between two frequencies when they meet each other at the same time.
[Galaxy S I9000 Android Development] geokilla:
Um... so what is that pic and graph supposed to tell us? It looks like the graphs I see on GSM Arena...

Also I don't see V3 on there. Only V2 and what I assume to be V1?
[Galaxy S I9000 Android Development] s44:
Look more carefully. The graph is showing that the anti-jitter setting is keeping frequency response noticably closer to flat over high frequencies, both with and without the oversampling/1.5db boost settings.

Pretty good evidence to me. Fascinate V3 please! ;)
[Galaxy S I9000 Android Development] Rixsta:
Testing version 3...will report back...
[Galaxy S I9000 Android Development] _JKay_:
Tested version 3. But I could not get my SGS to play jitter. Not even the udial.flac file. No difference with or without fix. But I had jitter once with an older kernel. Maybe it depends on what other apps are running at the same time.
[Galaxy S I9000 Android Development] avaxis:
gotta vote for these 2 features... nice sound quality but we've got to fumble when there's an incoming call. doesn't make sense.
[Galaxy S I9000 Android Development] jimmy-bish:
Heh. He's both an Apple fanboy and a bit of a self-confessed audiophile (and knows there are better players than the iPod/iPhone, he's not that one-eyed), so I don't think he had much choice but to admit the superior quality! :D

In relation to the Bluetooth experience, unfortunately I don't have any other BT headsets to compare to, so I can't say whether the issue is with the phone, or the headset's ability to receive and process the streaming audio at a steady pace. The model is a few years old now, so I can't rule that out.

If I do get my hands on a different (newer/better) model headset before you work it all out, I'll be sure to update you with my findings.
[Galaxy S I9000 Android Development] Moosehunter:
So where is the option to set the mono downmix? I didn't see it in the control app.
[Galaxy S I9000 Android Development] Qukel:
Download and install the new voodoo control app from the market.
[Galaxy S I9000 Android Development] mohanindia:
is it possible to get the drivers alone flashable via CWM, rather than the kernel?
[Galaxy S I9000 Android Development] Moosehunter:
I did. It doesn't show up.

Edit: Apparently there sere some issues when I restored the app with TiBu. When I updated, it showed the app as being updated when it wasn't. An uninstall and reinstall did the trick.
[Galaxy S I9000 Android Development] hardcore:
Hi supercurio,

Just wanted to ask you some questions about voodoo sound v3, the fll tuning part.

unsigned short tune_fll_value(unsigned short val)

{

val = (val >> WM8994_FLL1_GAIN_WIDTH << WM8994_FLL1_GAIN_WIDTH);

if (fll_tuning == 1)

val |= 5;

return val;

}

It seems like the "anti-jitter" option will set the FLL1_GAIN to 5. From what I see in the source code this value can range from 0-15 (0x00 to 0x0F).

The question is: Why 5? And what was the original value?

Ah, I found this document about the FLL:

http://www.wolfsonmicro.com/documents/uploads/misc/en/WAN0209.pdf

It seems lowering the gain/bandwidth means that the FLL does more filtering of the original clock, which is good if the reference clock is less accurate.

Increasing the gain/bandwidth does less filtering, which is good if the reference clock is more accurate.
[Galaxy S I9000 Android Development] fauzone:
No one can help me?

tnks
[Galaxy S I9000 Android Development] sharky34:
voodoo kernel is stated for 2.2.1. In my opinion, you shouldn't try to install it on a 2.2 ROM. My advice: Upgrade to 2.2.1 before.
[Galaxy S I9000 Android Development] fauzone:
ok tanks

do you know where i can find last voodoo version for 2.2? :rolleyes:
[Galaxy S I9000 Android Development] CraigWatt:
Thanks SC, for a fantastic bit of code. I am using it in HardCore's speed mod Kernel. Have a beer: 72H09279DV1188505 :D
[Galaxy S I9000 Android Development] SAEVARM3:
is Voodoo 5.3 only related to sound fixes?

Thanx
[Galaxy S I9000 Android Development] st4rk:
Lagfix, bln, sound, colour.. and now tun/cifs support.
[Galaxy S I9000 Android Development] st4rk:
SC still getting occasional crackles and pops with v3, playing flac files with sennheiser px200ii.

Turned wifi and data off because they seem to increase them but the are still present with them deactivated.

Other than that music experience is very nice, using poweramp bass preset with hiphop to get some extra but generally flat is good with most music.

Ps.. +1.5db SNR makes the sound fuller.. best way i can describe it, definetly an improvement with it activated. 128x doesn't seem to make a difference.. or at least ones my ears can hear :-) Same goes for anti-jitter can't hear a diff.. But not sure what jitter is so can't listenen out for it? :-P
[Galaxy S I9000 Android Development] CSCicus:
Voodoo sound v2 vs Samsung original preset Original http://goo.gl/EJ8RF Balanced http://goo.gl/g1ErL Loud http://goo.gl/ncwiy
[Galaxy S I9000 Android Development] ego42:
Nokia BH-214 is pretty decent and quite cheap. It works very well with Nokia phones (had been using it for two years) but produces the infamous "low bitpool" artifacts on my SGS (all music sounds like 112 or maybe even 96 kbps MP3s).

Generally the same goes for Sony Ericsson HBH-DS200 (220) headsets. Very good audio quality when hooked to a Nokia (actually less hissy than the Nokia branded headset) and I haven't been using it for quite a while and I'll be happy to send it to you for testing. They are a bit pricier though (in Czech Republic anyway).

Alternatively you can find some very cheap A2DP headsets on dealextreme.com. I own SKU 8422 (sorry, can't post links) but the audio quality is pretty bad even on a Nokia. They also sell a clone of the Nokia BH-214 (SKU 30406) but I'm pretty sure they're not the real thing and I have my doubts about their quality (they passed through my hands once but I don't have them anymore). But DX has awful shipping times anyway.

All in all I suggest the genuine Nokia BH-214 for testing which is quite cheap or I can send you the Sony Ericsson headset if you will.

Petr
[Galaxy S I9000 Android Development] tkienzle:
So this is how you wrote it you came up with software that interface's with this chip and then compiled it into the kernel huh sweet...
[Galaxy S I9000 Android Development] Under Control:
The sound of mij SGS blew me away after I installed the newest Voodoo kernel.

Just amazing how clear it sounds!!! This kernel is a absolutely a must for every audiophile.

Big thanks to you Supercurio :D!!!
[Galaxy S I9000 Android Development] fylim:
Check out the Samsung Wep870. Great reviews and price. Usd32 only on amazon. Search for the seller that comes with the music adaptors that will allow you to use with your stereo.
[Galaxy S I9000 Android Development] Nismo:
Now put this in Voodoo 666 and we are done... :)
[Galaxy S I9000 Android Development] SamHaLeKe:
Now put this in SpeedMod kernel and we can continu... :)
[Galaxy S I9000 Android Development] manjee:
You can install last speedmod kernel on froyo 2.2, it includes voodoo sound. Of course, make sure to install the latest version of the app. :)
[Galaxy S I9000 Android Development] jebise101:
I can F**IN BELIEVE IT. It actually routes the call through the headphone and the internal mic works. I missed this so much you have no idea. It not prefect through and i have a few suggestions with scenarios.

Problem A:

Your on the the train listing to music and you get a call you answer the call and everything is prefect or you make a call and everything is prefect. Perfect world.

Problem B:

You have no headphones plugged in you get a call and then plug you headphones in. The sound is still on earpearce so you hit "speaker" and the voice goes to the external speaker so now everyone can hear the other side then you hit "speaker" one more time and the call goes to the headphones.

Problem C:

You have the headphones plugged in and you get a call or make a call then after for whatever reason you unplug the headphone and the sound is gone and you cant hear anything out of anywhere, then you hit "speaker" and sound comes from external speakers (again everyone can hear the other side) and then you hit "speaker" again and the sound comes from the earpeace.

As you can see B and C have afew extra steps the easiest way i see to fix this is to put them in order. You get a call nothing plugged in everything is fine or headphones already plugged in everything is fine.

Solution B:

Putting the headphones in after you make/receive a call hitting the speaker button should go to the headphones then hitting it again should go to earpeace hitting it a third time should go to the actual loud speaker. The other way i can see is if there is a way to double tap/hold within x seconds and it toggles between headphones and earpeace.

Solution C:

You unplug the headphones after you receive/make a call. It should automatically go to the earpeace (if possible) and hitting speaker goes to speaker. Or if automatic is not possible hitting speaker should take the sound to the earpeace and then hitting speaker again should take the sound to the loud speaker or the double tap/hold Toggle. Plugging the headphones back in and your back at Problem/Solution B.

The loud external speaker should be the last choice not the second. I know it is suppose to be the second and final choice with regular headphones according to samsung. But now that we have non mic'd headphones working the loud speaker needs to be set to the third and final choice. This way you will not disturb people around you or break the conversation for a few seconds. Plus what if you forget that you have to hit "speaker twice in order for the sound to go to the correct spot whether its earpeace or headphones.
[Galaxy S I9000 Android Development] supercurio:
Thanks for the analysis / report of how the incomplete xcaliburhand call through headphone feature is actually in hardcore's kernel.

I'll implement it in Voodoo driver so you can choose how it behaves (with the Android app, as usual), stay portable and will work also for the future distribution modes for Voodoo.

In future, the goal is not to require anymore custom kernel but work just from the app ;)

ps: lol too late i read it ;P
[Galaxy S I9000 Android Development] jebise101:
well since you read it i'm post it again :P, that way if hardcore misses my post at least you got it.

That would be sick if you are able to control the device order of the output for sound via your app. This way it will give people a choice of how they want it and not force them to go one way.

The other way is if we can use both headset/speaker button in some sort of combo. I'll let you figure how you want to implement it. I gave you the 3 possible cases and there outcomes your the dev you decide how to fix it or make it work. :)

What about iphone/skullcandy mic'd headphone have looked into that?

In a few days i'm going to order a adapter that converts the mic/ground outputs so all iphone compatible wired headsets will work on the SGS. I would rather give that money to you rather than have a extra dicky 2" adapter attached between my phone and my skullcandy wired headset.

NOW get coding hehehe
[Galaxy S I9000 Android Development] hardcore:
Hi supercurio,

I've actually fixed xcaliburinhand's patch - some other part of the driver needed to be modified to get the correct microphone path working. The function in the driver for 3-pole calling actually has the wrong mic path.

The function source code I fixed is here:

http://xdaforums.com/showpost.php?p=10938471&postcount=11590

Unfortunately there is still a problem with toggling the output if the headphones are plugged in / removed after a call has started, because the phone app doesn't have a good way to toggle the output to the headphones yet.