Spresense acoustic classification issues

I have two questions about real-time acoustic classification on sony spresense.
I was able to set-up my board, connect to EI, collect data, and do all the pipeline till deployment.

Though, I have two issues to clarify:

  1. I am using an analog microphone, and the recorded sounds are of very low amplitude. How can I increase the amplification rate?

  2. When running in the device, it cannot allocate the second audio buffer, so I get the error showed below:

[SER] Started inferencing, press CTRL+C to stop...
LSE
Inferencing settings:
	Interval: 0.062500ms.	Frame size: 48144
	Sample length: 3009.000000 ms.	No. of classes: 4
Starting inferencing, press 'b' to break
Starting inferencing in 2 seconds...
Can't allocate second audio buffer
ERR: Could not allocate audio buffer (size 48144), this could be due to the window length of your model
Recording

I think I need to increase the allocated audio buffer in the firmware settings.

I am capable of downloading and modifying the ei firmware and modify the parameter values, though I am not sure which ones to edit! Any advice would be appreciated.

Project ID: