10000 GitHub - grrrr/hvcc_teensy: This is a code generator making use of hvcc to translate Puredata patches to the Teensy audio framework.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This is a code generator making use of hvcc to translate Puredata patches to the Teensy audio framework.

Notifications You must be signed in to change notification settings

grrrr/hvcc_teensy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is a code generator making use of hvcc to translate Puredata patches to the Teensy audio framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0