Skip to content

An example of generating Vult code compatible with the Teensy Audio Library

Notifications You must be signed in to change notification settings

modlfo/teensy-vult-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vult for Teensy Audio Library

An example of generating Vult code compatible with the Teensy Audio Library

How to use

This example requires a Teensy board 3.1 or 3.2 in addition to the Audio Adaptor Board. You have to configure the Teensy speed to 96 Mz for better performance. The USB type should be set to MIDI in order to receive messages. The available messages are:

  • MIDI note on/off in any channel to control the pitch
  • Control Change (CC31) to control the detune parameter of the oscillator

The source of the oscillator is the file phasedist.vult. In order to modify or regenerate the code you need to have the development version of Vult (https://github.com/modlfo/vult).

To regenerate the code run:

$ ./vultc.native -ccode -real fixed -template teensy -o SynthTest phasedist.vult

This will generate the files SynthTest.cpp and SynthTest.h containing the class SynthTest.

About

An example of generating Vult code compatible with the Teensy Audio Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages