Skip to main content

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.

Metadata

Release files for hvcc-teensy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hvcc-teensy 0.1.2
File Interpreter ABI Platform
hvcc_teensy-0.1.2-py3-none-any.whl Python 3 none any Details

Release files / hvcc_teensy-0.1.2-py3-none-any.whl

Download URL hvcc_teensy-0.1.2-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
541b288d6fcd06bd47162d2de2c41a9bbca20d2a86810a47f4c196fab3aed4f7
BLAKE2b-256 checksum
How to use checksums
a7fc2b587085a837cb69f2bd51dcba42af6a06d5143dddb7cda68e80d9bffa65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page