OpenMV with audio?

OpenMV related project discussion.
Posts: 1
Joined: Tue Jun 25, 2019 10:50 pm

OpenMV with audio?

Postby meaningtosaid » Tue Jun 25, 2019 11:36 pm


I have a project in which OpenMV deduces instructions for playing music (pointer to different points of time) by reading a 2D code which we design. Does anyone have experience in audio with OpenMV? Which of the following is better?

1) Trying to get an audio output set up using the microchip / bot set e.g. Amp Skin, I2C to another microchip e.g. Arduino... ... _skin.html

2) Sending audio instructions to laptop/web's audio interface and let that handle the audio delivery to the user

I think choice (2) is preferable to (1) because of limitations of audio that can be delivered (fidelity, song choice, etc).

Could I have advice on how this can be done? Me and my friends are new to MicroPython:

(a) is it possible to do USB or UART communication to a laptop to audio
(b) or is it better to hook up to the WiFi interface. Correct me if I'm wrong is there an open source web audio interface to use? Sending something like; i.e. deducing "t=116" from our code is probably too cheap but we also have no background in such a client-server thing for audio.

Would just like a more experienced people weighing in - I have tried to be as specific as possible. Thanks!
User avatar
Posts: 4457
Joined: Sun May 24, 2015 2:10 pm

Re: OpenMV with audio?

Postby kwagyeman » Wed Jun 26, 2019 2:44 am

Do option 2. The computer vision stuff eats up a lot of the processor time and playing a clean DMA stream of audio samples will not work easily unless you heavily modify the C code to have a full RTOS running under the hood.

I recommend sending UART commands to some other processor to do the action. Or via USB to another processor.

Return to “Project Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest