Is there a way to divert -or spoof- a device's microphone input as internal audio? (e.g. Get internal audio as if it was getting picked up by the mic) - General Questions and Answers

Would there be a way to either:
Have my device recognize internal audio (e.g. a YouTube video playing) as if it was audio picked up by its microphone, maybe with some kind of dev settings?
I know GPS can be spoofed in the developer settings, so would it be possible to spoof the microphone input and divert it as internal audio so that the device could for example transcribe a video's audio into text with an app that picks up the audio as if it was coming from the microphone (e.g. Google Translate / Google Recorder)?
Most of the workarounds I've seen meant using the phone speakers to output the sound to then be picked back up by the microphone, which would be both inconvenient (e.g. in public transports or any place that has too much ambiant noise for this to work) and pretty ridiculous to transform digital to analog, output it to record it back in analog and transform it back into digital.
It simply doesn't make a lot of sense to me looking at it this way.
Hence why I would be interested to know if there's a way to make this work either through something available in accessibility settings/developer mode/ or any kind of mod that requires root.

wbs_perso said:
Would there be a way to either:
Have my device recognize internal audio (e.g. a YouTube video playing) as if it was audio picked up by its microphone, maybe with some kind of dev settings?
I know GPS can be spoofed in the developer settings, so would it be possible to spoof the microphone input and divert it as internal audio so that the device could for example transcribe a video's audio into text with an app that picks up the audio as if it was coming from the microphone (e.g. Google Translate / Google Recorder)?
Most of the workarounds I've seen meant using the phone speakers to output the sound to then be picked back up by the microphone, which would be both inconvenient (e.g. in public transports or any place that has too much ambiant noise for this to work) and pretty ridiculous to transform digital to analog, output it to record it back in analog and transform it back into digital.
It simply doesn't make a lot of sense to me looking at it this way.
Hence why I would be interested to know if there's a way to make this work either through something available in accessibility settings/developer mode/ or any kind of mod that requires root.
Click to expand...
Click to collapse
A lot of android devices have to use a PC/Laptop to capture internal audio, these devices can not capture the internal audio themselves, they weren't built with the capability, it has to be done externally. It depends on your specific device model number and your android version. Some devices can capture internal audio from within the device itself using a feature that is built-in. If it is possible to capture internal audio from within the device itself, a Google search for:
"Capture internal audio (your model number&android version)"
Should render some kind of useable results.

Have my device recognize internal audio (e.g. a YouTube video playing) as if it was audio picked up by its microphone
Click to expand...
Click to collapse
Playstore -
Internal Audio Recorder - Screen & Audio Recorder apk
I use it to copy youtube or any other video & songs as mp3, copies are quite as original.
In case thats what you meant.
Edit:
Pls ignore the answer, I didnt understand the question well sorry.

Droidriven said:
A lot of android devices have to use a PC/Laptop to capture internal audio, these devices can not capture the internal audio themselves, they weren't built with the capability, it has to be done externally. It depends on your specific device model number and your android version. Some devices can capture internal audio from within the device itself using a feature that is built-in. If it is possible to capture internal audio from within the device itself, a Google search for:
"Capture internal audio (your model number&android version)"
Should render some kind of useable results.
Click to expand...
Click to collapse
I know that my device can capture internal audio with the integrated Screen Recorder app at least.
Spoiler: Specs
Device: OnePlus 5T
ROM: OOS 10.0.1
Android 10
Magisk 24.3
But what I'm searching for is a way to use that internal audio capability of my device to act as if it was a microphone stream since most of the apps that I found to either transcribe or recognize audio (e.g. Google Translate / Google Recorder or Shazam) don't have a setting to choose which input stream they "listen" to.

interesting..

Related

Recording Live music?

I know it won't be the BEST quality, but I'd like to be able to record some acoustic guitar playing to my Imagio (Windows Mobile). I can obviously record now using the built in microphone, but the quality is terrible. I think that if I use an external microphone, the quality should be better.
For instance, Blue Mikey is good quality microphone for Iphones - bluemic.com
I've looked around, but I can't find a microphone that says it's compatible. I found this on Amazon, would it work?: Sony-ECM-DS70P
Anyone know of a (simple) solution? The alternative is to get a separate dedicated digital recorder.
DAB
Reply With Quote
If you worry about quality I suggest you to still get a dedicated recorder (zoom/tascam/etc) and compare its recordings with the iPhone "quality" gear... You'll be amazed.
Why is that Darfri? I would think that, theoretically at least, a Windows Mobile (or iPhone) phone should be able to record as well as a Zoom. Digital storage plus microphone interface plus software to convert sound to a file.
This is a software that might do the trick, although most people seem to use it to record phone calls and lectures: Resco Audio Recorder
I agree that the Zoom/Tascam solution is the easiest and probably the higher quality solution. I just think it would be a more elegant solution to be able to do everything on one (Windows Mobile) device.
DAB
I spoke to someone at HTC. Their bottom line answer was that using the Imagio to try to do a quality recording won't work well. I broke down and got a Zoom H2.
Good choice. I've played with that and it is great. Especially using external expensive mics.
My point about the elegance vs quality is the hardware side of the AD conversion. Some kind of solution would be an external high end AD converter but then again very few devices work as hosts from miniusb (except the microSD slot)

External mic stereo

Hi! I'm a musician and would like to know if there is a good way to connect a stereo microphone to the Samsung Galaxy SIV (3,5 input jack, USB or Bluetooth).
Thanks.
What do you means?
Wanna a good earphone?
jomiber said:
Hi! I'm a musician and would like to know if there is a good way to connect a stereo microphone to the Samsung Galaxy SIV (3,5 input jack, USB or Bluetooth).
Thanks.
Click to expand...
Click to collapse
I wanna take high quality recordings.
Thanks, but I don't want to listen music. I need to record sounds in high quality with my smartphone.
Actually, with the app RecForge Pro, you can use the top and bottom mics on the GS4 to make stereo recordings. The quality is actually very good. The only limitation is that that mics will overload somewhere around 100 dbs, so you can't record a super loud concert. I have a nice Tascam recorder, but I actually just use the RecForge Pro and my GS4 to record our quiet jams/practices. Just make sure, in RecForge Pro, in the Settings to set File Format to Stereo Native. You can set recording level and can recording in 16 bit wav, MP3, or Ogg. RecForge 2 is out from the same guy, but it's in beta and does not yet allow stereo recording.
harpdoc said:
Actually, with the app RecForge Pro, you can use the top and bottom mics on the GS4 to make stereo recordings. The quality is actually very good. The only limitation is that that mics will overload somewhere around 100 dbs, so you can't record a super loud concert. I have a nice Tascam recorder, but I actually just use the RecForge Pro and my GS4 to record our quiet jams/practices. Just make sure, in RecForge Pro, in the Settings to set File Format to Stereo Native. You can set recording level and can recording in 16 bit wav, MP3, or Ogg. RecForge 2 is out from the same guy, but it's in beta and does not yet allow stereo recording.
Click to expand...
Click to collapse
I do actually record a lot with the phones mikes, too (before that with my S2 either).
But it would be a hell of a project, to transform our device to a stereo-recording with better HQ Mikrophones attached.
There is access to the mics. With enough soldering and additional wires and some non permanent connectors, it could be practicable.
BUT i am no expert in circuits - so i will let that part handle someone else! There certainly would be a need for something like that.
Putting a small hightech mike anywhere with a small Smartphone is not that obvious than having a real Recorder with you to have a good bootleg!
jomiber said:
Thanks, but I don't want to listen music. I need to record sounds in high quality with my smartphone.
Click to expand...
Click to collapse
I'm a studio musician myself and have looked into this a bit. You might want to have a leer at USB Audio Recorder Pro (in the play store); getting a high-quality ADC (with built-in mic pre) that is documented as working with that software; and an OTG cable.
Email the gentleman who created USB ARP and he'll give you a few choices that are proven.
Beyond that, get a high-quality USB analog-to-digital converter that works with the software I mentioned and use the mic that you would for a normal recording. I favor the AKG C414 for guitar, but that's just my preference. For field recordings, there are numerous setups to research on sites dedicated to that area.
One issue with Android is that it isn't a real-time OS, and there aren't as many music creation software options that work as there are for iOS. That's also because Apple has a legacy business with pro recording. The only reason I ever bought a mac is because I had to in order to work. All of the recording studios in New York required me to be proficient on it, since I'm a keyboardist and often end up running the show.
However, when it comes to smartphones, I tend to buy Android. I much prefer offerings by Samsung, HTC and Google to the iPhone.
Tablets are another matter. I love my Nexus 7 2014 for everything else, but for music creation and recording, the iPad Air destroys it. That's what I'd tend to use: an iPA with any of the proven ADCs that work with that tablet (and the camera kit) as well as PCs and Macs (no point in having to buy different I/O for my laptop).
The Surface Pro tablets have the potential to do the same in theory (legacy software, true Windows 8.1, etc.), but I haven't had any experience with them. You can read about people who have had on Gearslutz, which might be a better place to ask about recording on the S4.
Thanks for your answers!!!!! They have been very usefull!!!
http://www.ebay.it/itm/Cavo-sdoppia...289?pt=Computer_portatili&hash=item1c3b265d51 this will allow you to connect any microhpone to the audio jack.

[Q] WhatsApp Audio Quality Record Solution

Hello,
With some devices, whatsapp audio record looks very awful, almost unlistenable. I know that the app provide some compression over the file to save bandwith, but the strange thing is that with other devices(Sony, Apple, etc...) the sound quality is just great. With this, i have 2 theories about it:
1- There must be a file with audio profiles that the app could use, just like media_profiles.xml that tells output, bitrate, etc, or...
2- Whatsapp is using a "generic" audio record method, not getting advantage of other audio options the device could offer.
The only problem with the second theory is that if you record a video throught the own app/3rd party, the audio is very clear and good.I've tried to look over system/, data/, etc/ and libs/ to see if there's any file that could lead to solution but nothing came.
Please, someone consider some further investigation about this issue, with i believe many people faces this.
Thank you.

Internal audio recording on Samsung/LG phones

Mobizen offer Samsung/LG specific versions of their app that allow for internal audio recording, which is not normally available on non-rooted Android phones. How exactly do they do this? I'd like to do the same in my own app.

Stock Q no longer provides Audio Enhancer&Equalizer

Hi,
I send Feedback about it to Xiaomi and they said this:
"Dear user,
I am the Xiaomi user feedback group. The feedback about the Equalizer. Due to the adjustment of Xiaomi business, the Q version no longer provides this function, which is inconvenient for you."
So dont expect it on the future versions.
Solution for missing sound setup.
perfect_ said:
Hi,
So don't expect it on the future versions.
Click to expand...
Click to collapse
Not that the stock equalizer that came from Android Pie was any good. We just need people to try and revive the old DogsBark team (Noozxoide Laboratories) and make rootless DSP. I have nothing against Viper, don't get me wrong, on my other device I use Viper Audio, root and all that stuff... but sometimes you just need to stick to the old user/non-dev ways. I am sure it's possible, the problem is the financing and the will to do it. For me, the app developed by them and last updated in 2013 worked like a charm on many devices... except this one, since november update... That's when the problems started to appear.
Since then, I've been looking not just for an equalizer, but a self contained DSP pack that would work better and guess what, nothing's there... nothing except apps with built in function (which by definition are not system wide) and crappy adware.
As for the "Xiaomi business" this really shows me that Xiaomi really gave up on the development of this device, and ALL stock Xiaomi apps will be gone, replaced by Qualcomm's apps... and I don't ever recall seeing any DSP coming directly from Qualcomm.
----------Later addon----------
While the PRO version of Noozxoide EIZO-Rewire PRO has the problems mentioned it seems that the second software Noozxoide EIZO-Rewire Elemental which works even better is still compatible and working just fine on Android 10. Right now it's in testing and benchmarking... which is not an easy job to do, but as long as I love quality music I will do it and post results/download links for it.
-----Download Software-----
Download the Noozxoide EIZO-Rewire Elemental from HERE.
-----Testing abstract-----
For the following tests, were done using only hi-res audio (FLAC/ALAC 96khz 3mbps) files and 320kbps mp3 files so results may vary compared to what I tested here. Remember that streaming services use low bitrate/extremely compressed content.
---Test Speakers---
Internal audio speakers has a good response, bass is there audible, resolution is good, in this case I cannot post any reference to advanced graphs since they are irrelevant in this case.
The best settings (for me) are posted in the first screenshot here. While this is my recommendation, the software doesn't go overboard and keeps the audio quality in control. While testing all the test tracks which varies from Rock/Metal to Acoustic to a more aggressive dubstep there were absolutely NO cracks and pops in audio output from the speaker (which is a result of poor equalization/frequencies outside the speaker range).
---Test Line-Out/Amplified output---
Headphones (because of my current limitations of testing - a conclusive test would be source file vs. processed audio output and multiple headphone test - in ear, open back, ported, etc) were only tested with 3.5mm jack Apple EarPods which are well known to have the best consumer grade frequency response I found that the 2nd attached screenshot works best (for me). While some FLAC files with really deep bass (about 6-10Hz) totally overrun them (and not the Qualcomm audio processor) I would say that this DSP (VSP) works just fine on our devices.
I don't know if I should leave a placeholder here for the advanced, audiophile grade, passive amplified headphones.
---Test Wireless Audio---
Bluetooth and wireless media. Works just as expected. Test were done only with a Nokia BH-503 headset (couldn't test on the car, and neither did I want to spend time going to the car and test it on the BMW Pro-Logic system) but on those headset it made them literally vibrate on the ears, extremely good quality sound, deep bass, crystal clear trebbles and warm mid-tones. Again, I didn't manage to get a single crackle or pop on the speaker drivers which means the equalization done by this engine is sensible and perfectly limited/compressed. The settings I used are posted in the third screenshot.
-----Conclusion-----
The solution posted here works fine, while extensive testing the app still shows that is consumed 0% battery, so the battery drain is minimal.
The application works perfectly after reboot and closing from the recents screen, there were no modifications done/or excluded from the battery optimization screen.
This application is not a booster, this application is a DIGITAL SOUND PROCESSOR controlling the Qualcomm core (was built for this back in the day) and upscaling the audio resolution.
-----Q/A-----
Q: Does this app require any tampering with the system?
A: No, this app is installed as a normal app from the link provided (Play store link)
Q: Does this app work as a system wide equalizer and integrates in other apps?
A: Yes, yes it does, and from my testing it works with all media players (the equalizer option opens up the app), Youtube, Games, etc.
Q: Does this app consume system resources while processing?
A: Yes and no. Of course you need system resources for processing but they aren't that intensive at least for MP3 processing but for FLAC/ALAC processing things get a little more frisky as shown in the 4th screenshot attached.
Q: How's the battery drain overall with FLAC and MP3 playback?
A: Depending on the method of listening the drainage is different, but even on Bluetooth the consumption didn't affect my battery overall.
Q: Does this enable AptX?
A: No. This has nothing to do with that. But while AptX and SBC are not that different in base audio quality, this pushes the codec to 328kbps and upscales the audio to a resolution of 48khz which is ideed great for maxed out mp3 quality over Bluetooth, which again is based on the source files.
----------Thanks----------
If this problem helped you fixed a problem, press the thank you button.

Categories

Resources