Have a look at noteFreqs[note + octave1] - there are quite a few instances where I think you could go out of bounds i.e. >127 which would have unpredictable results. You need to constrain the note+octave to keep it in bounds.
I do it with...
When you post code, can you do it between code tags using the </> button.
This preserves indenting which makes your code more readable and therefore more likely to get a response.
I have posted your code below so you can see the difference.
It is...
I can't see anything obviously wrong with it, I'm curious about why it has so many connections between the audio board and the Teensy, also your note handling routine isn't that great which might be causing it to crash, really you need a better...
Hi,
i have made my first teensy project followed a tutorial from Notes and Volts. After i added a Line out to the Audioshield i am finaly able to play it via a Midi-interface from my DAW. Unfortunatly it crashes quite often. Its usualy when i...
Hi,
i am trying to install teensyduino on a raspberry 5.
I use Arduino IDE 1.8.19.
I downloaded the installer, set the udev rules and now i need to locate the installer to the arduino IDE Folder...but its not doing it. It says "lib/version.txt"...
It appears to be some kind of a USB audio adapter. Even better . . . you can use the Teensy (in USB Audio mode) directly for this !!
Mark J Culross
KD5RXT
@dirky: The headphone jack on the Teensy Audio Shield is for use with headphones only. Not sure exact.y what you mean by "and want to connect it with my Interface", but you should not use the headphone jack to connect with any other kind of...
@dirky: Yes, that should do it. And, if you want to control the volume, I use sgtl5000_1.volume(headphone_volume_value);to vary the headphone volume, & I use sgtl5000_1.lineOutLevel(line_volume_value) to vary the LINE OUT volume.
Good luck &...
I followed a Youtube tutorial... What is Dave actualy using because he connects the Audoishield via the Headphones output... Its some sort of Adapter :
Thank you. Ok, i thought i just put a 3,5 jack cable into the teensy audio shield and connect it with my pc´s audio interface.
So i just solder a new jack to the line out pins and add the code to the sketch?
Hi,
i built my first Teensy project which is T1 Synthesizer from Notes and Volts. It works perfect with my headphones which have a 3 Ring Trrs jack. If i plug a stereo jack in and want to connect it with my Interface nothing works...also my...