yashsingh1/xdaforums huggingface dataset:
[Spirit FM] pupa57:
Recorder function?

Fantastic application but it lacks a FM recorder function to record and save the program tuned too????????

Want to use it to listen to specific programs to be reviewed later. Obviously an auto scheduled recording function as per time and date settings (single or repeatable) so no transmitted program can be missed would be great.

PS: I see there are some experimental record versions. More info would be nice.

Any support for:

Samsung Galaxy Y GT-S5360 Android 2.3.5

or

HTC Desire HD Android 2.3.5

Ok: I found the free version for testing and it works on both phones. On the Galaxy Y the program sometimes on startup crash but a reopen works fine.

On both phones the recorded files have no sound on playback. Any way to resolve this. I so need this program. Eevrything else seems to work at this stage.
[Spirit FM] mikereidis:
Not entirely directed at you, but...

Ya know, it doesn't matter how many phones I support or features I add, people are ALWAYS asking for more, LOL.

I KNEW that as soon as I added "experimental" record support, somebody would ask for PVR like scheduling. The lists are endless.

Despite all the intensive work I've done in the last few months, almost nobody has said: "Cool ! Thanks for adding:

- Lockscreen support.

- RDS for WCN3600 devices.

- Digital audio to Bluetooth devices, and for visualizations and recording, for GS/2/3/Notex.

- Record in analog modes for GS/2/3/Notex.

I could go on, but these are the major achievements in the last 30 days or so.

And I understand that someone such as I who is selling something gets much of his thanks from sales, and not so much from words. That said, there are people who bought a year and a half ago, and/or at low experimental prices, and are now on their 3rd or 4th phone who have seen a LOT of improvements over that time for which they've never had to pay again, and which were never explicitly promised at that time.

So please moderate your expectations. I've got a ton of personal/home issues to deal with this month, and I need at least 2-3 months to get going on Spirit2, and these will be in addition to the 20-30+ emails and thread posts I deal with every day.

Galaxy Y is a pain to deal with. I don't have one, don't expect to get one, and can't support it properly. It's disabled on Play. And most of the people using Spirit on this device are pirates anyway, not unlike the Chinese phones.

Desire HD is completely unable to record or digitize FM, AFAICT anyway. Pretty hard to tell when Qualcomm keeps it's docs so secret and hides so much audio functionality in their baseband processors. Samsungs flagships at least are much easier to work with.
[Spirit FM] Captain_Throwback:
FYI - This shows as unlocked version . . . is that intentional?
[Spirit FM] mikereidis:
No it isn't. Thanks for noticing. Uploaded when I was half asleep as usual, LOL. :)

That Unlocked link is now deleted and the real Jan 11 Free version is here: http://d-h.st/c2R

If you've among the 48 who have already downloaded, feel free to use, and I can't/won't call you a pirate, but please don't redistribute.

All that said, I know it's easy to find Unlocked out there anyway. My customers (or donors/supporters if you prefer such names) are customers of good-will and support.

Maybe I should say donors/supporters more... ; I use the term "customer" way too much for someone as anti-big-evil-business as I.
[Spirit FM] rucxy:
Thank You for this great app :good::good:, I own SpiritFM Light and just recently purchased SpiritFM UL as a donation and thanks for your efforts.

:good:

Here is some feedback for you, mate.

Phone Specs in sig

SpiritFM Free Jan8

Settings: Default Settings ... Works great, Outputs Audio through Phone Speaker and Wired Headphones

Settings: Audio Method -->Digital GS2/Note: Outputs Audio through Phone Speaker and Wired Headphones, BT Hands Free CarKit(A2DP) works, however there is a catch.

SpiritFM Light Jan10

Settings: Default Settings ... Works great, Outputs Audio through Phone Speaker and Wired Headphones

Settings: Audio Method -->Digital GS2/Note: Outputs Audio through Phone Speaker and Wired Headphones, BT Hands Free CarKit(A2DP) works, however there is a catch.

SpiritFM UL Jan10

Settings: Default Settings ... Works great, Outputs Audio through Phone Speaker and Wired Headphones

Settings: Audio Method -->Digital GS2/Note: Outputs Audio through Phone Speaker and Wired Headphones, BT Hands Free CarKit(A2DP) works, however there is a catch.

[Catch] To get audio through the A2DP BT HF kit, i need to start the SpiritFM's without headphone jack inserted, wait for the static to to be audible through BT HF kit, then gingerly place headphone jack plug in, just resting on the phone part of the jack point. As soon as the phone jack thinks there is a plug in it, BT audio stops, not sure whether this is App/ROM or Kernel related.[/CATCH]

I downloaded an app called Soundabout that fixed this headphone jack issue. As soon as Sound About was installed and restarted any 1 of the SpiritFM's, waited for hiss through BT HF Kit, plugged in fully the headphone jack plug and sound was still coming from the BT HF Kit.

If you want any more info feel free to ask....
[Spirit FM] mikereidis:
Thanks for reporting. Audio quality seem OK ?

Audio routing is kind of a mess on Android. It would be nice if a simple setting or API could be used to select 1 or more outputs, wired headset, BT, speaker, etc.

The latest APIs for JellyBean actually do have a LOT of audio routing stuff that is "rich" and may be nice, but it remains to be seen how well OEMs will adopt this, and even AOSP based ROMs are certainly lacking too. HAL drivers are often quickly hacked together to work, with few devs going back to upgrade something more or less working.

And these test digital modes are not how things should be. It's awful to audio quality to add another Analog->Digital->Analog conversion pair. And GS/GS3 ADCs at least can do 24 bit, while I'm just using 16 bits for now.

And pushing every buffer of audio data from audio chip, to SOC, back to audio chip and then BT (and on to BT headset) isn't too efficient.

My ATT HTC OneX LTE with Qualcomm SOC and WCN3660 and WDC9310 has a more complex, and integrated system it appears. It looks as if it supports direct routes from one component to another. I think this chip combo was designed with FM over Bluetooth in mind.

The GS2/GS3 etc. WERE designed with FM digitizing and recording in mind. But they weren't designed for pure digital FM, nor for FM over Bluetooth. Both are now possible, in Spirit, but it's not ideal how it works.
[Spirit FM] rucxy:
Audio through the phone speaker & wired headphones seems to be of good quality.

BT HF Kit audio, well it is a HF kit after all and really only designed for voice, audio is of acceptable standard (more the HF kit fault than APP), will check out the BT HF carkit fm transmit quality through to a fm stereo, will report back on this in the next half hour or so...

[EDIT] SpiritFM UL to Jabra Cruiser2 BT HF carkit, works like a dream, FM transmit from HF kit to Car Stereo also works like a dream, audio quality is pretty good.

[/EDIT]

Yes, that sort of API would make it handy to change outputs and also would lend itself to almost limitless configuration, manually or automagically. Output could be to whatever output device ( as long as hardware supports ) that the user has configured for that said event, or even ask everytime.

Homework reading to do. This is out of my skill level.

Yes, i can believe that pushing back and forwards between conversions will reduce audio quality, and is not a desired outcome/workaround.

Good for you, if so i think that it will be easy for you to do on your HTC

Thats good to know.

If you are after a beta tester/bug tester, lemme know.

Will need some guidance in doing so though, little green behind the ears..
[Spirit FM] djpeinado:
Feature Request: Delayed playback

I would like to make a feature request: configurable delayed playback.

I like to listen to fm radio when I watch soccer matches on TV, but sometimes TV signal is delayed from FM signal, so I would like to configure a buffer in radio app to delay signal playback.

I would purchase app if this feature was available.

Thanks
[Spirit FM] madhand1:
Hi.. I m using P990 (optimus 2x) does this work on Stock roms or only other roms.

Also I dont hear any sound when chose these settings LG4 / P990 and Silent Loop and press Pause/Play and Speaker/Headset a few times but not able to get the sound.

But looks like its able to pick up the frequency and play but not able to hear.

Please help...

Also are you planning to include p990 in SPIRIT FM 2 ?
[Spirit FM] rucxy:
More results from testing... Same versions of SpiritFM Apps as above.

NO

Sound About App installed

SpiritFM Free, SpiritFM Light & SpiritFM UL, when audio method --> Digital GS2/Note, (NO BT Headset paired) as soon as headphone jack is inserted all audio output is suppressed, eg NO Headphone jack inserted - hiss is audible from phone speaker.

(BT Headset paired) as soon as headphone jack is inserted all audio output is suppressed, eg NO Headphone jack inserted - hiss is audible from BT Headset speaker.

How will i be able to find out what is affecting the mapping of the headphone jack, is it controlled via Kernel, ROM or App

Lockscreen Widgit works occasionally, still testing this.

Widgit shows up on Lock Sceen if the Phone locks itself normally as per user setting, if phone is locked manually by turning screen off the widgit does not show up on lockscreen.

Using Widgit on the Lockscreen there is a noticeable lag.Adjustments take an age to take effect, sometimes no effect, sometimes you need to leave the lockscreen and enter the app to make changes.

On the whole ... Very very good app and i highly recommend it..

It is a Work in progress and i would like to help anyway i can...

Keep up the good work Mike.... :D
[Spirit FM] mikereidis:
Spirit/broadcast FM to BT to FM transmitter to car stereo ? LOL.

I'd presume your ears aren't audiophile tuned..., like mine. I usually find it hard to see any advantage when spending over $100 on speakers and haven't been able to hear as high as 15 KHz in a long time.

Automagic is part of the problem. Android speaker output is default. Plug in wired headset and audio goes to headset. Pair and connect Bluetooth and audio goes to BT.

Simple, without the need for software adjustment, but starts creating trouble when wired headset is for FM antenna and user desires speaker or BT output. Or worse, when user wants BT + speaker, or BT + headset or headset + speaker or all 3 at once.

Start throwing in use cases where FM records while the phone is in use, or where BT is for phone and can't be used for FM and it gets even messier.

Don't bother reading unless you're really interested, but the Android MediaRouter class for JB 4.1+ is documented here, and so far, it's rather difficult for me to figure out without looking at sample code at least: http://developer.android.com/reference/android/media/MediaRouter.html
[Spirit FM] mikereidis:
If I only had a dollar anytime someone said "I'd buy if...". LOL. :)

Tivo / PVR like live pause would work, though you'd have to hit the play button at just the right interval after pause to simulate having a delay control.

I don't think I've EVER heard of an FM radio (app or hardware) with this feature, but I'd be happy to create the first if there was sufficient demand. I expect to at least prototype live pause.

This will require fully digital audio, and will only be supportable on Spirit2 running on Spirit2 full digital supported devices like perhaps GS2, GS3, GS4 and the 5.x" Note's, and likely Qualcomm S4+ devices.

My rough estimate would be by August/September 2013.
[Spirit FM] mikereidis:
No. I can't even get Spirit1 to work on P990 ICS & JB ROMs through all of 2012. AFAICT, Spirit still works fine on P990 GB stock and custom ROMs though.
[Spirit FM] mikereidis:
After reading countless posts & blogs, and a million+ lines of Android code over the last 2 years, my answer is "I don't know". LOL.

Google provides some good docs for app devs, but they don't seem to publicly release docs for the guts of Android and how to get it working on a phone. People like me have to piece together lots of pieces and info from code from here and there to try to get the picture.

But, part of the audio HALs is the audio policy manager which I think is supposed to handle audio routing decisions. The phone/chip OEMs create a customised HAL (hardware adaptation layer) for their hardware.

One OEM can create a very simple HAL that speaks to their hardware in one way, and another can create complex HALs that deals with audio chips, SOCs, headset jacks, BT chips, FM chips, etc.

I've found at least one case where lock-screen controls worked very badly (crashing), because the code has to do a SU (SuperUser) function. In that case, I made mute from the lockscreen do only a partial mute to avoid the problem.

There are certain to be other such cases, and I think problems will depend on the ROM's implementation of lock-screens. I think several stock ROMs have their own incompatible lock-screen APIs.

Anyway, just as a reminder, Spirit1 has become a BIG mess of code, in order to get features working quickly over the last 1 years in a "one man development shop". And adding all the hacks I've mentioned, and the MANY I've never mentioned, have just made the mess bigger.

That's why Spirit2 is the way forward, though it will surely suffer from bloat and messiness after a few years too.

My point is, the new stuff like digital audio is just experimental on Spirit1. Don't expect me to polish these features in Spirit1 within a few months. Instead, expect a relatively minimal and experimental Spirit2 prototype within the next few months, and Spirit2 to be more polished by the summer.

I COULD take some short-cuts like just re-using the existing Spirit1 UI. I've expected to do that initially at least. OTOH, many people now want the newer UI conventions, like action bars instead of Menu buttons...

Doing User Interface stuff "right", following the Google guidelines, even as they continue to develop and change, could take a LONG time.

So I'll be interested to know what customers / donors / supporters think is important. A quicker time to release, or doing the UI the "right & recommended way" ? Don't think I have resources for UI focus groups and hiring UI experts though...

But that also leads me back to the idea of supporting the open FM API and hoping / encouraging more UI oriented devs to build on top of it.
[Spirit FM] rucxy:
My point of view is ' why not ' , if it is said to work, make it work, or try to make it work. If all else fails swear at it repeatedly and then try again. Lol

Not sure bout my audio freq range, i do need to get a hearing test done though. Am mainly tone deaf around average peoples voice freq, especially my ' her indoors' voice, she is always complaining about me not hearing her.

Um, that is not light reading. How about i leave the dev work to you :thumbup:

I will try and help anyhow i can if you looking for feedback..

SII GT-I9100T Supercomputer.

Dorimanx kernel 7.38.

CM10.1 JB4.2.1 10-1-13nightly.
[Spirit FM] mikereidis:
Absolutely.

A friend told me he just follows the "buzz" generated by the wife and kids.

My theory is that the voices of both women and children are higher pitched so that men can more easily tune them out. If that fails, that's where earphones and music players come in.

:)
[Spirit FM] Captain_Throwback:
This would be AWESOME.

This would be indispensable for me watching live football games and listening to the local FM broadcast rather than the horrible TV sportscasters. The DVR delay makes it impossible, currently.
[Spirit FM] mikereidis:
Your Jewel / EVO 4G LTE should be capable, but older devices likely aren't, except S2, Note, S3, etc.

I've just now figured out how to do 44.1/48K digital audio on my ATT OneXL. Still some stability issues, but it should be do-able.

So far the OneS/XL/Evo 4g and similar S4 devices are the only ones with a more pure digital architecture. There are ADCs in the FM part, then as usual demodulation is digital, then the whole path is digital to the final DACs for headphones or speakers. No extra D->A->D conversion.

And then a single routing command can send the audio over BT via HW, from the WCN3660 FM, to S4 SOC and I presume back to the WCN3660, though it could be routed internally. I'll check. Anyway, no CPU burning software cycles are needed to simulate what ideally is a hardware function.

The GS3 and Note2 Si4705 FM has digital output, but it's unused. And sadly, though the analog out pins can be made digital and the WM1811 codec can change one pin to digital mic input, the other pin doesn't match for digital. I hope Samsung does full digital FM on the GS4 and Note3.
[Spirit FM] jwhood:
Hey mike i bought this a while back is there a way to raise headphone volume up i have phone volume maxxed and it is still too low im on an htc mytouch 4g cm 10.1 4.2.1 thanks for any info and great app i use all day long 5 days a week!!
[Spirit FM] mikereidis:
Hi,

There's only one thing I know to raise the volume on it and similar audio systems like Desire HD:

Menu-> Test-> Volume-> qdsp5v2 X

where X is 1, 10, or 100.

If any of those changes the volume, we may have a route to increase volume.

But I don't think I've seen this work on Desire HD.

Otherwise, I think if it's possible in hardware, it may be an issue with the audio libraries or kernel drivers.

That generation of hardware doesn't have the dozens of possible gain and volume control registers that the leading 2012 devices have, usually via ALSA controls.

But, then again, now that I recall and look, it might be possible to modify one of these files in /system/etc , but I'm not too familiar with these:

/system/etc:
-rw-r--r-- root root 11490 2008-08-01 08:00 A1026_CFG.csv
-rw-r--r-- root root 35608 2008-08-01 08:00 AdieHWCodec.csv
-rw-r--r-- root root 35614 2008-08-01 08:00 AdieHWCodec_WA.csv
-rw-r--r-- root root 513 2008-08-01 08:00 AudioBTID.csv
[Spirit FM] rucxy:
That would be from Natural Evolution being able to tune women & children out :)

Some more testing for you..

I have reverted back to Dorimanx 7.37 test (Voku's build ( 7.38 has mem issues))

however these 'incidents' happened on Dorimanx 7.38 stable as well

Cyanogenmod 10.1 10-1-13 nightly

SpiritFM UL 10-1-13

Settings --> Test --> SGS2 OEM

HEADSET_PLUG Int out --- crashes Spirit

HEADSET_PLUG Int in --- crashes Spirit

All other Options do not cause crashes only those 2 listed above..

Lockscreen Widgit.

Widgit appears 100% time, when phone auto screens off & 90% time, when manually screen off, widgit is resizable from small to full screen and back again ( no issues there :) ). Continues to play audio through phone spkr :)

Any button on the widgit causes Spirit to crash, reproducable symptom, we have talked about this before..

Settings --> Audio --> GS2/Note Alsa & Digital GS2/Note - When unplugging headphone jack and/or plugging in causes the lockscreen to flicker like a really bad screen refresh rate and then soft resets the GS2.

Although i got once today with Digital GS2/Note audio setting and headphone jack fully plugged in, audio came forth from the phone speaker :) and when manually locked the screen continued to play audio for about 10 seconds :) , then obviously decided that i hadnt sworn at it enough yet, so decided to crash and not work again LOL.

I realise i am running an unusual kernel and cm 10.1 nightlies, both under heavy development still..and Spirit1 is slowly going to be phased out. these are observations of my particular setup at the moment...

Other than that i am extremely happy with the way Spirit works and own 2 versions of it...and look forward to the release of Spirit2
[Spirit FM] jwhood:
Yes i remember reading on a thread somewhere to swap out a codec.csv file but its been so long i forgot where/what phone to grab it from,ill test your way first and get back to you thanks great app for me especially when im not using a sense rom cause u know the sense fm radio app is sense specific!!!: (

---------- Post added at 01:38 AM ---------- Previous post was at 01:16 AM ----------

Negative on the test - volume solution nothing changed when i switched to qs...... V2 all three sidnt do nothing,what the crazy thing is when im on a sense rom the fm radio is so freaking loud i have to turn it down half way cause it is so loud,put it this way i operate loud machines and if i turn it all the way up it drowns the machines noise out when im on sense based rins that is,i need to find what codec.csv file that is so i can get my headset volume back if u can help would be great but if u cant thats all good great app again keep up ur hard work and screw those data draining radio apps!!!; )
[Spirit FM] mikereidis:
Here's a thread for the Desire Z about the AdieHWCodec.csv file in /system/etc: http://xdaforums.com/showthread.php?p=24938864

I'm guessing that there might be some ROM or custom file somewhere with better values and you could use that file on your current ROM.
[Spirit FM] Nitemare_real:
Hi Mike, my Samsung Galaxy S (GT-I9000), after 2 months from Technical Support to Technical Support, it seems is dead :crying:

I have the chance of purchasing a second hand LG P970 Optimus Black.

I have been reading the forum searching for compatibility for this smartphone and it seems to be compatible, so I asked current owner to install free Spirit FM to test compatibility but I couldn't make it work. Spirit FM starts, gets super user rights, but nothing is heard.

This smartphone had stock FM app, and now it is running CyanogenMod 10

What could I try?
[Spirit FM] jwhood:
Hey mike,perfect back like it used to be thats all it was just needed a modified adiehwcodec.csv file,i cant believe the difference between the 2 files its like night and day thanks again for your awesome app,now time to sit back jam out and run some heavy equipment for the rest of the week!!! : )
[Spirit FM] mikereidis:
Spirit hasn't been able to support most LG phones since custom ICS ROMs started coming out about 1 year ago.

I think Samsungs are best supported now, and best for the eventually coming Spirit2: GT-I9100, I9300, N7000, N7100. HTCs aren't too bad either, particularly OneS, OneX LTE and Evo 4G LTE
[Spirit FM] mikereidis:
So you used the file there ? Great, I'll have to check on my Desire HD and Z next time I fire them up.
[Spirit FM] Nitemare_real:
ok, understood :good:
[Spirit FM] dream_catcher79:
Hi Mike,

I was looking for an fm radio..i have an European galaxy note 2 GT-N7105, will your app work in it?

Best Regards,

Keep up the awesome work ;)
[Spirit FM] SimpleBob:
Xperia J

Seems to be a great app! If I could only get it to work on my Xperia J. I have the latest version from google play.

The value in the upper left corner jumps between -6 to +16, mostly above 10. RDS messages is shown but there is no audio. I know there are a lot of posts like this but i couldn't find any regarding Xperia J. Please help :)
[Spirit FM] rhisendark:
İ have a samsung s6500d (mini2). Fm radio is gone in cm10 preview rom by thewhisp. Can you make that working again? :)

Sent from S6500D with CM10 Preview by thewhisp...
[Spirit FM] mikereidis:
Stock ROM or custom and which ?

We may get lucky with the J, since it's recent and I think it uses radio3.apk on stock ROM.

Send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds add some text referencing XDA and press Send.
[Spirit FM] mikereidis:
Have you tried the free version in post 1 ?
[Spirit FM] rhisendark:
i tried free version in play and it is not working :/

Sent from S6500D with CM10 Preview by thewhisp...
[Spirit FM] SimpleBob:
Custom CM10. I've sent you the log :)
[Spirit FM] mikereidis:
The Mini 2 / S6500D uses an older Qualcomm Tavarua FM chip, so the Qualcomm Iris FM chip in Spirit should mostly work.

Audio might be able to work if we can figure out the numbers to use.

If you want, send me a debug log with Menu-> Test-> Email-> Logs and press Send after 20 seconds.