tuntorius / mightier_amp

An alternative app for controlling NUX Mighty amps.
MIT License
187 stars 18 forks source link

SDK? #17

Closed Pemo11235 closed 2 years ago

Pemo11235 commented 2 years ago

Hi, I'm just bought a nux amp. I would like to give my contribution. Is there an SDK (released by Nux) ? Or you just reverse engineering the app?

Thanks :)

tuntorius commented 2 years ago

Hi, there's no SDK. I reverse engineered it by first using a BLE tester app to see what kind of BLE device it is. Turned out it's MIDI, and also got some info from the official app. It's written in React which turns the source into obfuscated javascript. It can be partially deobfuscated - enough to find out what midi commands they use.

Pemo11235 commented 2 years ago

I guess it is a javascript bundle. Due the fact that I'm React Native dev , can you help me to reach that codebase? Thanks for your time

tuntorius commented 2 years ago

Yes, there's a bundle inside the official app apk, which you can download from NUX website and extract it. The bundle is inside the assets folder and is named index.android.bundle. Since it's minified and obfuscated I used this tool https://github.com/richardfuca/react-native-decompiler to convert it to something a bit more readable but even then it is hard to follow. Still, it was useful to find all the midi command codes they use and also what is the data format of the in-amp presets.

JK5150 commented 2 years ago

Hello! This question mb would be strange) But maybe it is real to implement some master tuner, which would increase final loudness to maximum of this device? Or maybe modify your master tuner which you implemented already - to 200 or 300%? I'm really using this device for live sessions, and there is an annoying point - this device has too weak output signal And I think that there is a big reserve of loudness, but some of channels couldn't reach it suddenly I found that bass presets are much louder than acoustic simulator channel, and this point give me this idea about increasing of output loudness on a master level Thanks you in advance!

Отправлено из Mail.ru для Android среда, 13 октября 2021г., 02:01 +04:00 от tuntorius @.*** :

Yes, there's a bundle inside the official app apk, which you can download from NUX website and extract it. The bundle is inside the assets folder and is named index.android.bundle. Since it's minified and obfuscated I used this tool https://github.com/richardfuca/react-native-decompiler to convert it to something a bit more readable but even then it is hard to follow. Still, it was useful to find all the midi command codes they use and also what is the data format of the in-amp presets. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android .

Showtime13 commented 2 years ago

@JK5150 Hi! You can use a standalone headphone amplifier or upload IRs (they might be louder), another option is to use sound isolating headphones. I suspect the problem with Louder sound is that it will simply distort and the pushing the device over 100% of the sound it can produce will only cause clipping and sound distortion (not in a good way).

Have you tried using different headphones? The sound coming from the headphones depends on their sensitivity and impedance. You can try using 16 ohm headphones (IEMs), which will for sure give you a louder sound in most cases. For example, with my M20x headphones, when I crank up the volume I only get silly sound (sounds bad), possibly clipping.

I may be wrong though, not sure how much this device can produce. The sound amplification worked well with PC though.

JK5150 commented 2 years ago

Hello! Thanks you for your advice! Tuntorus already gave it me 😊 I mean different IRs My question was regarding live usage, but after my question on forum I already played couple of live shows and it seems that there is enough power in device 😊 So I think issue is closed 🍻

Отправлено из Mail.ru для Android пятница, 07 января 2022г., 18:04 +04:00 от Showtime13 @.*** :

@.***

Hi! You can use a standalone headphone amplifier or upload IRs (they might be louder), another option is to use sound isolating headphones. I suspect the problem with Louder sound is that it will simply distort and the pushing the device over 100% of the sound it can produce will only cause clipping and sound distortion (not in a good way). Have you tried using different headphones? The sound coming from the headphones depends on their sensitivity and impedance. You can try using 16 ohm headphones (IEMs), which will for sure give you a louder sound in most cases. For example, with my M20x headphones, when I crank up the volume I only get silly sound (sounds bad), possibly clipping. I may be wrong though, not sure how much this device can produce. The sound amplification worked well with PC though. — Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android . You are receiving this because you were mentioned. Message ID: @ github . com>