hvcc for Teensy
Project description
Generator for Teensy audio libraries
Installation
Needs hvcc for compilation.
python3 -m venv venv
. venv/bin/activate
pip install hvcc_teensy
Generation
The following translates the Puredata patch _main.pd into C++ files in a folder $DST.
The object ("context") will also be called $NAME:
hvcc _main.pd -n $NAME -o $DST -G hvcc_teensy
Usage
The contents of the subfolder $DST/teensy represent library code usable in the Arduino environment.
There are (potential) standard locations for these libraries:
- MacOS/Linux:
$HOME/Arduino/libraries/ - Windows:
My Documents\Arduino\libraries
In the generated library folder will be a header file $NAME.h to be included in the Arduino program.
The produced code depends on the Teensy core library.
If OPENAUDIO=1 is #defined before including the $NAME.h header file, the code will depend on OpenAudio_ArduinoLibrary for float_32 audio processing extensions.
In the example Makefiles (e.g., sine_out), this is taken care of by respective json metadata fed to the teensy generator.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hvcc_teensy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: hvcc_teensy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541b288d6fcd06bd47162d2de2c41a9bbca20d2a86810a47f4c196fab3aed4f7
|
|
| MD5 |
caf32926b63c4729f6a33cf7a7847286
|
|
| BLAKE2b-256 |
a7fc2b587085a837cb69f2bd51dcba42af6a06d5143dddb7cda68e80d9bffa65
|