Using teensy audio library natively on linux

Status
Not open for further replies.

yoyz

New member
Hi guys,

I try to have a working teensy synth on linux.
So I need to have only the osc, filter, effect working, not all the source.
It will not need a lot of hacking to make it work.
It need just some saturated arythmetic to make it works.
The main reason I want this library is : it is pretty fast, it sound good, and I'll learn a lot doing this.

I've been able to compile some of the code and output triangle and pwm waveform to a file from the source code without much tweaking.
But I don't understand how to connect the different part together.
There is a kind of magic on the tutorial which I have not understand yet.

Here is my main.cpp file : https://gist.github.com/yoyz/3b74116143d052c0de359a85f17ed5a0
The whole story could be find here with all files : https://github.com/yoyz/picoloop/tree/master/synthengine/teensy/first_test

My main goal today is to reach this on linux :

vco1 => Mixer1
vco2 => Mixer1 => Enveloppe => Delay => FileOutput

And, my main problem is, I don't understand, how the "audio_block_t" structure work.
If someone has done this before or can explain it nicely, it will be great !
 
Status
Not open for further replies.
Back
Top