# Using python based audio library in app lab

**URL:** <https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573>\
**Category:** App Lab\
**Created:** [February 25, 2026, 12:42am UTC](https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573 "2026-02-25T00:42:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n1lzer0](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/n1lzer0/32/1261706_2.png) [@n1lzer0](https://forum.arduino.cc/u/n1lzer0)\
**Post date:** [February 25, 2026, 12:42am UTC](https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573/1 "2026-02-25T00:42:40Z")

</div>

Hello

For a project, i am intending to use Whisper STT in UNO Q. However it requires ffmpeg, onnx-runtime, rust and pytorch and i am not sure if it can be accesed in my python code within the app lab.

For the project, i wanted to record the audio via microphone, save it as mp3 file and then process it via the STT, so i wanted to know if i can access all type of modules from app lab as in a traditional IDE (for example pycharm) on a desktop.

Thanks

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [June 4, 2026, 8:49am UTC](https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573/2 "2026-06-04T08:49:38Z")

</div>

Hi @n1lzer0. I know it has been a long time since you posted this, but I wanted to respond since new capabilities have been recently been added to the Arduino App framework, which should facilitate this sort of use case. This may be useful to you, or to others who want to accomplish something similar.

You already identified this as a possible solution for another use case:

> [@Unable to install llama cpp python library in App Lab](https://forum.arduino.cc/t/unable-to-install-llama-cpp-python-library-in-app-lab/1439415/12):
>
> With the addition of custom bricks (the docker one) , is it possible now to somehow add the required packages using it?

I responded on that other topic to share some resources on the subject:

> [@Unable to install llama cpp python library in App Lab](https://forum.arduino.cc/t/unable-to-install-llama-cpp-python-library-in-app-lab/1439415/13):
>
> Hi @n1lzer0. You are definitely on the right track! The [custom Bricks feature](https://blog.arduino.cc/2026/04/29/arduino-app-lab-0-7-custom-bricks-are-here/) does not allow you to customize the contents of the primary [Docker container](https://docs.docker.com/reference/glossary/#container:~:text=%23-,container,container,-A%20container%20is) in which the App's Python script runs. However, it does allow you to run additional custom containers, which the Python script can interface with. This is actually how some of the official Bricks provided by Arduino work already. Unfortunately we haven't published documentation for the custom Bricks feature yet, but the documentation team ha…

Note that the [**Docker** container](https://docs.docker.com/reference/glossary/#container:~:text=%23-,container,container,-A%20container%20is) of [custom Bricks](https://blog.arduino.cc/2026/04/29/arduino-app-lab-0-7-custom-bricks-are-here/) may provide any type of resource. This is not limited to utilizing Python packages that have dependencies on resources not available in the App's primary container.

You can use a custom container to provide your Brick with access to things like the Rust programming language/toolchain, or Rust-based tools. You can also provide your container with access to hardware interfaces of the UNO Q such as a microphone. In turn, that Brick can make these capabilities available for use by your App.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 1, 2026, 8:49am UTC](https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573/3 "2026-12-01T08:49:44Z")

</div>

Closed on December 1, 2026, 8:49am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
