Giter Site home page Giter Site logo

drrickorang's People

Contributors

ggfan avatar gkasten avatar ragomusic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drrickorang's Issues

Sometimes app does not display result from Latency Test

To REPRODUCE:
Insert fun plug
Turn up volume to about 80%
Launch Loopback app
Press Calibrate Sound Level button

EXPECT
Just calibrate volume

ACTUAL
The Glitch test icon turns red indicating that it is running.
Sometimes the calibration sows a latency result.
Sometimes the Glitch test stays red and the Latency Test does not show a result.

If you run the latency test multiple times it starts to work.

Linker failed while linking libloopback.so

When I build this project, I meet the problem:
"Linker failed while linking libloopback.so."

Build info is :
org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationFailure: Linker failed while linking libloopback.so.

How to solve this problem?

Not possible to select lowest buffer size when using AAudio on Pixel XL

On a Pixel XL I'm unable to set a buffer size of 96 frames which is the burst size. The minimum buffer size I can select is 192.

Steps to repro

  • Load LoopbackApp on a Pixel XL
  • Tap on Settings
  • Move the Player Buffer slider from 192 to 96
  • Tap back
  • Tap on Settings

Expected result

  • Player Buffer value has stayed at 96 frames

Actual result

  • Player Buffer value has changed back to 192 frames

App does not display an error message when open or start fails

REPRODUCE
Run an app or command that captures audio in the background.
The "libaaudio/examples/input_monitor" shell command can be launched:
adb shell input_monitor -pl -s5000
Launch Rick ORang Loopback
Select AAudio in Settings
Click "Calibrate Sound Level Now"

EXPECT
An error message saying that input could not be started.

ACTUAL
No message.
But the logcat has error messages

Note that permission and collision issues are not detected until the stream is started.

11-14 07:37:53.278 6265 8631 D AAudio : AAudioStream_requestStart(0x7dda1f3b40) called --------------
11-14 07:37:53.278 6265 8631 D : PlayerBase::start() from IPlayer
11-14 07:37:53.281 841 1140 W APM_AudioPolicyManager: startInput(222) failed: other input 102 already started
11-14 07:37:53.283 6265 8631 D AAudio : AAudioStream_requestStart(0x7dda1f3b40) returned -895 ---------

loopback issue

Hi,Glenn Kasten

I Insert the headset that it is damaged and return mAverage is 0.0 in loopback project,How can I fix this issue?

Thanks.

Could not find com.android.tools.build:gradle-experimental:0.11.1

On behalf of a partner

we encountered the following errors when building the app in the Android Studio.

Error:Could not find com.android.tools.build:gradle-experimental:0.11.1.

Searched in the following locations:

file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.pom

file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.jar

https://jcenter.bintray.com/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.pom

https://jcenter.bintray.com/com/android/tools/build/gradle-experimental/0.11.1/gradle-experimental-0.11.1.jar

Required by:

project :

aserts if UNPROCESSED input used during calibration

To Reproduce:

  1. Insert funplug.
  2. Increase volume to about 80%.
  3. Launch app
  4. Enter Setting using gear icon at top right.
  5. Set "Microphone Source" to "UNPROCESSED".
  6. Click "Back" icon
  7. Click "Calibrate Sound Level Now"

EXPECT
Calibration to succeed.

ACTUAL
App crashes with an assert.
An excerpt of the log file is attached. log_loopback_assert.txt

Here are a few lines:
10-04 17:46:44.764 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
10-04 17:46:44.767 F DEBUG : Abort message: 'ASSERTION FAILED: 0x0 != 0x2
10-04 17:46:44.771 F DEBUG : #2 pc 000000000001501c /data/app/org.drrickorang.loopback-kx-gm_2skZEYAw5fB5LFhw==/lib/arm64/libloopback.so (slesInit+2536)
10-04 17:46:44.771 F DEBUG : #3 pc 0000000000016334 /data/app/org.drrickorang.loopback-kx-gm_2skZEYAw5fB5LFhw==/lib/arm64/libloopback.so

Extend App to use Oboe library

Would it be possible to extend the App so that it can build using the Oboe library?

The documentation for Oboe states that it wraps both OpenSL ES and AAudio, so that ideally, we should just see the same result as the best of these two. However, having Oboe as an option would show that that is indeed the case in practice.

Audio wave overview not empty when recording silent

If the loopback test records nothing (because, for instance, the loopback adapter is broken) then the little overview wave in the top right hand corner shows some kind of default wave that looks legit. That's confusing because it at first appears that the recording succeeded. Recording failure should clear that overview box so it's more obvious that we recorded silence.

a latency of 8.06 is reported when the audio quality is poor

I see that number fairly often, particularly if the input gain is too low or the signal path is noisy. So the confidence is probably very low. But the app still tries to give some kind of latency value.

People tend to ignore the confidence value and think 8.06 is a real number.

Maybe if the confidence is below a threshold then no latency value should be reported.

loopback 8.1 issue

Hi,gkasten

We found the issue with the latency test results of 8.1 system,the result is wrong,how can I fix issue?

Thanks.

DC offset should get blocked

Some devices have an initial severe DC offset that distorts the measurement. This can confuse the auto-correlation calculation. The DC offset usually dies down after 50 - 500 msec.

We should detect DC offset and wait for it to die down. If the DC offset is too severe then we should reject the measurement so that the DC offset problem can be addressed.

We could also add a DC blocker on the input to the auto-correlator to improve the auto-correlation result.

https://www.dsprelated.com/freebooks/filters/DC_Blocker.html

App crashes when attempting to use AAudio on Samsung Galaxy S9

Test device: Samsung Galaxy S9 running Android 8.0.0 G960FXXS2BRI1

Steps to repro:

  • Run LoopbackApp
  • Change API to AAudio
  • Run round-trip latency test a few times

Expected result:

  • App runs without crashing

Actual result

  • App crashes after running the latency test 2-5 times.

Passing custom waveforms for latency test

From what I could understand, this code passes a sine tone of 719 Hz frequency through the loopback cable and measure the latency through the loop. Is it possible to replace the sine by any other waveform in the code and pass it though, for a latency test?

upgrade this apk to the latest LW platform

can we please have this apk upgraded to the latest LW platform/version.
currently this apk is not working for any of the LW platform with 28+ android Version.
i have fixed this issue locally and its working for me.
if someone can help to Fix and Maintain this apk for LW platforms that would be great

-sarath

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.