Libraries
Code that you can re-use
A library is code that someone else has written that you can include in your project. The Bela IDE comes with a huge collection of built-in libraries in the Libraries tab, and offer easy-to-use functionality for connecting MIDI devices, adding communication protocols, crafting GUIs, and more.
This article explains the Bela code libraries, and shows you how to use them.
Table of contents
Extend your code with libraries
A code library is a set of code that someone else has written that you can add to your own projects. Usually code libraries solve a specific problem, or set of problems, like adding handling for devices or implementing communication protocols.
Code libraries are extremely common. The beauty of code libraries, besides not having to write the code yourself, is that they are often more optimised and stable than a solution you might write yourself, because they can benefit from many iterations by many people.
The Bela libraries are written and tested by the Bela team, but we’re always interested in hearing from people who want to share libraries they’ve written! If you’ve written something you think would be useful to the Bela community, please get in touch with us.
- What a library is
- How to view the files
- How to use a library
- List libraries?