# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://forum.arduino.cc/t/using-python-based-audio-library-in-app-lab/1432573)._
