[Q] Ham Radio Nerd Needs All DSP Disabled on Microphone - Nexus 4 Q&A, Help & Troubleshooting

So I'm trying to use APRSdroid in AFSK Speaker/Mic mode to send/receive APRS packets over VHF. I managed to get to where I can send packets from the phone, but the phone is completely incapable of receiving them. I suspect this is because of all of the fancy DSP that is attached to the microphone input (via the headset jack), so I wanted to try to disable these functions.
Oddly if I use the aural microphone it works just fine, but much to the detriment of everyone around (including me) who must listen to 1200 baud AFSK all day long.
Long story short, is there a way to disable any DSP magic that might be going on with the headset microphone input?

Ham Radio Nerd Needs All DSP Disabled on Microphone
ehidle said:
So I'm trying to use APRSdroid in AFSK Speaker/Mic mode to send/receive APRS packets over VHF. I managed to get to where I can send packets from the phone, but the phone is completely incapable of receiving them. I suspect this is because of all of the fancy DSP that is attached to the microphone input (via the headset jack), so I wanted to try to disable these functions.
Oddly if I use the aural microphone it works just fine, but much to the detriment of everyone around (including me) who must listen to 1200 baud AFSK all day long.
Long story short, is there a way to disable any DSP magic that might be going on with the headset microphone input?
Click to expand...
Click to collapse
I have run into that problem. On the audio port there are four leads. Tip, Ring, Ring, Shield. Some units use the second ring for audio ground and some use the shield, I have two phones each the oposite of the other. You may have to build or buy an adaptor.

Related

Is there a program to use BT headset as remote microphone spy?

Hi all....
I was thinking if is there a program for our Windows Mobile device wich can use the microphone of a bluetooth headset and simply listen to it, making it a ambient microphone spy ...
I don't have my bluetooth headset by me to test it out, but maybe you could use it as a microphone and record it to audio notes (or similar software). Or you could hide a 2nd phone that is connected to the bluetooth headset, call it, and listen in (greater range).
<insertwittyusernamehere> said:
I don't have my bluetooth headset by me to test it out, but maybe you could use it as a microphone and record it to audio notes (or similar software). Or you could hide a 2nd phone that is connected to the bluetooth headset, call it, and listen in (greater range).
Click to expand...
Click to collapse
With audio notes I haven't tried... but calling another phone makes it expensive... so I wouldn't use it ...
No one knows?
I'm goung to try with audio notes...
But I was thinking if is there a way to listen in real time... That would be better !
That's hilarious that you want to be all 007. Are you a private investigator? This is an interesting puzzle to solve and I like puzzles.
I would recommend getting a cheap-o BT headset because they suck at cutting out noise anyway. Of course, you'll probably have to be within arms reach of the people you are trying to listen to. Then, use audio notes to capture the audio. Lastly, I would look for some software that will allow you to play around with the different ambient noise levels. I would try Audacity first because it's free and very robust with options.

Microphone stops working when headset connected

Has anyone experienced the following bug: Make or receive a call using a bluetooth headset. A2DP or not, this doesn't matter. Then, use the voice command feature or try to record with Tape Machine, while your headset or car kit is still conencted. The microphone won't activate. This is quite aggravating if I try to use the voice dial or map finding capabilities while in the car... anyone else experience this?
i have the same problem when my phone is plugged into the aux in my car. the mic just stops working :/
I can verify this issue. I most want to be able to use this feature while in the car and using hands free, but I can't.
Try this http://forum.xda-developers.com/showpost.php?p=7986072&postcount=10
dever76 said:
I can verify this issue. I most want to be able to use this feature while in the car and using hands free, but I can't.
Click to expand...
Click to collapse
It's annoying - my EVO didn't do this before I returned it.
I ordered a few inline microphone adapters for $2 each on ebay with free shipping - they're the things that allow you to use any pair of headphones with a cell phone as a headset. That should solve that problem, but it'd be nice to be able to use the phone mic when it's connected to my car stereo, as a speakerphone.
I guess the way Samsung saw it if you plug in a headset with a microphone(like the one included with your phone) you would then have 2 working microphones and get an echo. We all know this ends up being a problem in scenario #2 where you plug it into the AUX port on your car, but I guess Samsung did not consider that the most likely usage.
The best solution would be to have a software toggle to pick if the microphone is turned off or not.
This topic is basically the same thing, might want to continue the discussion there. http://forum.xda-developers.com/showthread.php?p=7986072
I wonder if, on the Epic, this is a hardware thing we're stuck with or if there truly is a software fix.
If the hardware wasn't built to detect when there is/isn't a microphone by checking out the connector, we may be SOL.
While I'm sure the rationale may be the same, please note that this thread, though similar to the 3.5mm headset thread, specifically references bluetooth. The issue happens even if the headset is paired - independently of whether or not it is in use. That's the problem.
just unpair bluetooth when you want to use the speech. only work around so far.

How does MyTouch 4G deal with headphones with no mic and how to favour bluetooth?

Hi,
I've been using the Car Dock Home v3 app launched from HTC's car dock when I'm driving. Yesterday I was also listening to some podcasts form the phone by connecting the headphone jack to my car's aux input. I had a bluetooth headset connected.
Then someone decided to call me and it was disastrous. The car mode causes the phone to read the incoming phone number and let you answer or decline by voice, which is neat, but instead of going through the car's speaker (headphone out) it goes through the built in speaker. I don't know why it would do this, but with the car noise it was impossible to hear it.
Then after answering the call, instead of going through the bluetooth headset, I heard the caller through the car's speakers (sounded great) but they couldn't hear me at all. I can switch to the bluetooth headset manually, but it's too dangerous to try and navigate the tiny buttons and text while driving. With another caller they could hear me, though.
So I can't figure out what the phone is doing when you have something plugged into the headphone jack but no wired mic. It seems like the phone's microphone is active, but not in speakerphone mode, so it's probably too quiet on the other end to clearly hear me unless I talk right into the mic, which I can't do while driving.
So questions:
1. Is there any way to increase the internal mic gain to use the phone connected to the car speakers as a true speakerphone (and can this be done without creating echo/feedback)?
2. Is there any way to have the phone automatically prioritize a connected bluetooth device over the headphone jack?
3. If the answers to 1. and 2. are no, is there any way to have a car mode specific dialer screen with nice big buttons for selecting audio source manually?
4. Can I get the car mode to read incoming call info into the headphone jack rather than the internal speaker?
Thanks!
Key action you must take when your phone rings...
DON'T touch the screen. Click your BT device to answer.
HTC Glacier CM7 #something
jggimi said:
Key action you must take when your phone rings...
DON'T touch the screen. Click your BT device to answer.
HTC Glacier CM7 #something
Click to expand...
Click to collapse
Are you sure that works? I didn't try that, but I used my bluetooth headset to launch genius and dial a contact by voice. Everything worked through the bluetooth headset, but once the call connected, it switched to the car's speakers.
I'm pretty sure that the car mode initiates hands-free mode, which automatically turns on the phones internal speaker when a call comes in. See if there's a setting that prevents hands-free from turning on in the app. That might fix things the way you use them.
Sent from my HTC Glacier
While the phone is ringing, activate the connection via BT. It works for me now, and it worked on the stock ROM. But you don't ned to take my word for it, just try it.
HTC Glacier CM7 #something
I'll give that I try when I get a chance. There is an option to automatically enable speakerphone in the car dock app, so maybe disabling that will also fix the problem. However, so long as the headphone jack isn't in use, it works exactly like I want it to:
If the bluetooth headset is connected, it gets used for answering and making calls. If the bluetooth headset is not connected, when answering or making calls the phone's spakerphone is automatically enabled.
The issue is that with the headphone jack in use, it seems to take precedence over both internal speakerphone and bluetooth headset.
My guess is that if the headphone jack is in use the phone assumes that you're using a wired headphone/headset with its own mic. If that were the case, the behaviour actually makes sense: if you've got a wired headset in your ears, that's where you'd want the audio to go. I suppose if there is no external mic but you're wearing headphones, using the internal mic without speakerphone gain also may make sense: you'd hear through the headphones and hold the mic near your mouth to talk. The problem is it ignores the case of external speakers versus headphones. Especially in car mode it should be smarter about how it deals with these options. Of course, some of the issue may be due to the third party dock app, so maybe I'll have to try with that disabled or contact the developer to see if he can do anything.
It's little usability issues like this that make me want to drop Android, although I have no idea if there's actually anything that really works better.
tmagritte said:
...It's little usability issues like this that make me want to drop Android.....
Click to expand...
Click to collapse
Training yourself to touch the earpiece instead of the phone to answer is not overly difficult. It only took me one or two "oops" experiences to stop touching the phone.
I use the phone and aux input all the time while driving, but the difference is that I don't have a bluetooth headset involved.
Audio comes out of the headphone jack and I speak into the phone's mic and it works fine. Turn the phone volume to max and use the headunit volume to adjust.
So I have had a chance to test it. It's true, if you use the bluetooth headset's button to answer a call it does get properly routed to the headset. If you answer by taping answer on the screen it gets routed the headphone/speaker + internal mic.
It does also seem like the internal mic is used correctly and pretty much sounds as good as the speaker phone mode, so answering a call while wearing headphones or using speakers doesn't seem like it should be a problem (assuming echo isn't an issue with speakers). Don't know why that one caller couldn't hear me, but that could be some other reason.
What doesn't work, though, is initiating a call from the bluetooth headset if the headphone jack is in use. Using the bluetooth headset button to initiate genius voice dialing works as expected until the call is connected, at which pint it then gets routed to the headphone/mic instead of the bluetooth headset. There doesn't seem to be any way around this. Of course, since you are initiating the call, it's probably not too bad to just unplug the headphone jack first...

[Q] Is it possible to have audio through both speaker and headphones?

I know that software can choose between speaker and headset even when the headset is plugged in (since the FM radio can do that). But is it possible to force audio out of both the headset and the phone speaker? I ask because I have an audio docking that I'm going to use in the car, and if this is impossible, I'll have to put up an extra speaker and amp for when I listen to the radio but want TomTom to warn mea bout those pesky speed cameras... So is it possible with a sneaky trick to choose both headset and speaker?
That can only be done over at the kernel's and the framework's side. The best bet is to customize the kernel. Detection of the headset plugging/unplugging is done by kernel’s switch driver and the event is sent to 'HeadsetObserver.java' which broadcasts the intent 'Intent.ACTION_HEADSET_PLUG' with information about state as plugged/unplugged. This is received by 'PhoneApps.java' and the audiomanagerr is informed to turn on/off the speaker which further passes the information to Libaudio.so (AudioHardware.cpp). These information is passed to the kernel to switch between the speakerphone and Headset. This might differ with Android 2.3, but forcing the kernel to play sound to both the headset and the speaker might be the only way. The first few actions are done by the framework itself. You can try or suggest this feature to the CM team. I know this is not what you want, but for the time being, you can perhaps use a dual audio jack splitter and connect your headset and a speaker. Alternatively, there a few apps in the market which enables live streaming on your PC over Wi-Fi. You can try streaming the media so that the audi is played by the PC and the connected speakers. At the same time, you can plug in your headset. This should work, but no guarantees...hope this helps, and i have to say that it will be an awesome feature if the devs can find a way to cook this feature into a stable android build!
Android? Yuck! Good on tablets, totally hopeless on phones! Was going to use my brother's Desire for on day, begged him to give me back something that actually worked efficiently after two hours! No, I'm talking about good old Windows Mobile 6.5 here. Didn't really think I'd have to specify that in a thread about general HD2...
While it might be possible, I doubt anyone will do it.
however, you can get audio through both headphones and external speakers using a special jack. it has a male part on one side and two female parts on the other.
of course. I've used the jack splitter on several things (I do a lot of work with custom installation of computers as whole house media servers). And that's what I meant in the first post when I wrote "if this is impossible, I'll have to put up an extra speaker and amp for when I listen to the radio but want TomTom to warn mea bout those pesky speed cameras."
But I have found sort of a solution: Start the HD2's FM radio, switch that to playback through the speaker (which is why I know this not only might be possible, but is possible with software, since the FM radio can play through the speaker even with a 3.5 mm jack plugged in) and mute the radio. Then all sound will come through the speaker. Kind of a pain in the ass to do it that way. I have found a Mort script that does it, with a few modifications, but I haven't had the time to check that out yet.
that's a weird workaround XD
I'll try it later.
Yeah, weird all right. Actually it's been used before. Found it on Google, with a reference to this thread: http://forum.xda-developers.com/showthread.php?t=444581 Another phone, same method.

[Q] Bluetooth Headset for Phone, and Audio Jack for Music

Hi all,
Basically, I'm trying to figure out if the subject is possible.
What is happening now is that if I have a standard stereo audio cable plugged in (non-mic) with BT connected to a headset and I receive a call, the audio for the call goes through the headset jack instead of the BT, and because of that there is no mic to pick up my voice. This leaves me able to hear the caller, but them not able to hear me.
Any thoughts?
Thanks,
Ben
Fmstrat said:
Hi all,
Basically, I'm trying to figure out if the subject is possible.
What is happening now is that if I have a standard stereo audio cable plugged in (non-mic) with BT connected to a headset and I receive a call, the audio for the call goes through the headset jack instead of the BT, and because of that there is no mic to pick up my voice. This leaves me able to hear the caller, but them not able to hear me.
Any thoughts?
Thanks,
Ben
Click to expand...
Click to collapse
Had sort of the same thing happen to me, except I tried making a BT call while plugged into headphone jack and other end was plugged into my car's aux port. Started to make the call and quit. Guess its another limitation of the current set of roms, if I'm reading correctly.
My question is under android I would have a microphone on the keyboard so that if I was going to navigate somewhere I could just hit that and say where I wanted to go instead of typing out a long address. I am using HTC Locations, and don't see any provision for allowing me to speak my destination point.
I don't think that's possible yet, but there is a lot in the way of BT profile and audio settings that may help that. we'd probably want to look for something that doesn't auto cut off when a jack is inserted
as it stands, BT is buggered (music playback) on ultrafruit ROMs anyway so we're not missing much, xbmods ROM worked fine but his left for pastures new and everyone else is being silent on the matter.

Categories

Resources