djshaji / amp-rack

Amp Rack is a Guitar / Voice Audio Effects Processor for Android. Amp Rack is an Open Source LADSPA Plugins Host for Android. More than 150 high quality audio plugins are available which can be added in any order to the audio effect chain to create distinct high quality tones for your guitar!
https://amprack.in
Apache License 2.0
44 stars 5 forks source link

App crash when using iRig HD 2 #74

Open AlmightyFrog opened 1 month ago

AlmightyFrog commented 1 month ago

Hi, not sure how to debug this, is there an option to write a log somewhere? Using no external device i could try logcat, but when i connect the iRig HD 2 my usb port is of cause blocked.

Amp Rack runs fine using inbuild audio. When i connect iRig HD 2 i can start the app still, but as soon as switch the "On" button in UI it crashes to launcher without any further information given.

I am using a Poco F2 Pro with Android 14 Lineage OS build.

Just tested using my UMD404HD and there application does not crash (but also does not work in low latency mode it says, but that is a different topic...). So in general amp rack should run on my phone i guess...

Best Regards and thanks in advance for any hint which might help...

AlmightyFrog commented 1 month ago

Short update: I've got hands on a Xiaomi Mi 10T Pro to test there amp rack. There it is running with the iRig but not in low latency mode either and after some random time the app crashes to launcher without any message.

So in general iRig HD 2 seems to work, but I still would like to know why not with my Poco F2 Pro.

djshaji commented 1 month ago

Hi, on the Xiaomi Mi 10T, what sample rate does the app run at? I think it probably runs at something other than 48kHz, and low latency Android doesn't work well with sample rates other than 48 kHz.

The sample rate is visible on the mixer panel when you turn on amp rack. If it is not running in low latency mode, you will also see a red triangle next to it.