top of page
Forum Posts
Antonio Abejaro Soto
Aug 12, 2024
In Device Support
Hello, Alex!
The record.py script at https://github.com/OpenAcousticDevices/Application-Notes/blob/master/Using_the_AudioMoth_USB_Microphone_Firmware_and_Hardware/record.py is not running. I have tried to fix it with no results. This is the error I get:
Expression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2718
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2842
Traceback (most recent call last):
File "/home/pi/record.py", line 29, in <module>
stream = audio.open(format=audio_format, rate=sample_rate, channels=number_of_channels, input_device_index=device_index, input=True, frames_per_buffer=chunk_size)
File "/home/pi/.local/lib/python3.9/site-packages/pyaudio/__init__.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/pyaudio/__init__.py", line 441, in __init__
self._stream = pa.open(**arguments)
OSError: [Errno -9997] Invalid sample rate
Could you have a look? Any advice is appreciated!
Thanks!
Antonio.
0
3
69
Antonio Abejaro Soto
Jul 21, 2024
In Enclosures
Hello! I appreciate your advice on designing an enclosure for Audiomoth USB MIC that will be permanently installed outdoors. The material should resist UV radiation and prevent moisture/rain to get inside electronics. Also, a sponge shield to prevent wind noise is a must. Dou you think a printed 3D unit will meet the required specs? Thanks in advance!
0
1
42
Antonio Abejaro Soto
Feb 17, 2024
In Device Support
Would it be possible, through a future firmware and app update, to remotely upgrade, configure and change the operating modes of the Audiomoth USB MIC from, for example, a Raspberry Pi?
0
21
209
Antonio Abejaro Soto
Jan 23, 2024
In Device Support
Hello! Is there any way to get the PCB, BOM, Gerbers of AudioMoth MIC USB? Thanks in advance and congrats for this fantastic development!
0
1
62
Antonio Abejaro Soto
More actions
bottom of page