Great work @MrCanvas. Used similar knobs on my late 70's Synth, a mess of stripboard and clip leads. One controlled Osc Mix level to VCF Fc, and the other controlled VCF Out level VCF Fc.
Probably easy to implement...
In answer to the question of "another module to drive the audio process", <this> very recent post by Paul Stoffregen may be of interest to you.
Hope that helps . . .
Mark J Culross
KD5RXT
Thanks in advance for reading, hopefully a clear picture.
Convalescing 100 miles from workshop using the opportunity to dive in and play with the Audio library running various examples on a T3.6 , Pin 2 has a button....
Hi all,
I am building multiple custom usb hid controllers for a Unity experience and we will need each controller to have a unique product name. This ensures we can force Unity to make each controller's mappings...
I updated the PCB and ordered a new batch, my understanding is that there isn't much to do.
The other pins haven't cause any issue by following the guideline linked on the bootloader page . If I run into any other...
It is true:
I ran two tests again. Once with the ADC library and once without it.
The ADC library omits some values.
Without the library all values come through.
Who is responsible for this library, is there a...
Thank you very much. This week I will try to connect one SDI-12 sensor and test if I can read some output and reply to this thread again for the output.
Probably needs someone who have the devices to actually try them out.
It looks like it is not using Serial objects, but is bit banging it. Which might work...
I was doing some quick test to see if T4.x could go...
So,to be sure i updated to 1.59 beta3,but still no sound with sd card
So,to make it simple, i take a sample player with teensy 4.1 and simplify the sketch,
The teensy 4.1 is also connected to a PCM5102A DAC.
Only the...
I don't know if you can see this but these are the four files I'd modify. I'm so sorry I'm just a novice programmer so I don't know if I am doing it correctly.
I'd try to modify the EnviroDIY library, But I don't know if that is as simple as that.
I don't know how to upload a zip file here of the library, but I just modified it to include Teensy4.1 board...
I took a quick look through it, and it looks like it would take a bit of work to add T4.x support to it in the same manner as the current code.
But wondering if a lot of that can be simplified... In particular, it...
Hi sir Kurt, the library you mentioned is the one I use for my Arduino project. Now I am porting my program to Teensy4.1, but I can't make that library work because the Teensy board is still unsupported. I guess I'll...
Hi KurtE
Thanks for your reply.
I want to show you the following example. The data on the left side are from the CAN. The right side is the ASCII value:
28 31 37 30 32 37 30 59 ...
As you mentioned, this library has not been updated to run on Teensy 4.x boards. As far as I can tell he is no longer active with this stuff.
That is, I don't think he has logged into this forum for maybe two and a...
Note I typically avoid strings, but I believe you can do things like:
char string_buffer = "abcdefg";
String my_string = String(string_buffer);
But hard to say what you should do as don't really have any details...
Please check which version of Teensyduino you're using. In Arduino 2.x, look in the Boards Manager (search for "teensy"). In Arduino 1.8.x, click Help > About. If you have older than 1.58, please update.
Older...
hi, I'm trying to connect some SDi-12 sensors to teensy4.1 board and I found this library https://github.com/duff2013/SDI12_T3
The problem is when compiling the example program provided, I got this error code ...
Hi I am trying to implement a data logging system with a timestamp. I am already saving successfuly the data in our SD card and I am using a teensy 4.1 microcontroller. But, when I tried to implement the timestamp,...
Good morning
Sometimes I know that I'm still a beginner in programming. I have tested a lot and have searched for a solution. But now I think it's the ti.e to ask the specialists.
I want to extract the VIN from...
Hi,jmarsh,
I test with teensy 4.1 and his own sd card and also with the audio board sd card,
First,the WavFilePlayerUSB example doesn't gives feedback in the monitor to show the sd card response,
so i had to...
Right, that sounds very much like what I found, then. You can find a couple of brief discussions here https://forum.pjrc.com/threads/72572-Teensyduino-1-59-Beta-2?p=327182&viewfull=1#post327182 and here...
I had no problems with Sonoma and IDE 2.2.1 but I had a problem with Logic. When I plug the teensy board with the audio shield detects the device and then crashes. Not happening with Ableton, weird.
Thank you so much for the answer. I will definitely try with the beta 3 version and see if that helps, and also bigger buffer.
On the first recording, there has indeed never been any playback of a wavefile yet (drum...
Thanks for your encouragement Mark! I will be sure to test your suggestions. Filtered LFO's is an interesting idea, and I like additions that are not "per-voice" as the resource need is not so punishing.
@MrCanvas (Daniel):
Congratulations !! You have accomplished creating some very nice sounds from your polysynth. I am likewise using the Teensy Audio Library in the implementation of my TeensyMIDIPolySynth (TMPS). ...
I think we may need a bit more information, and a simpler example - ideally using just Arduino and Teensyduino.
I'd recommend you try with Teensyduino 1.59 beta 3, because there were some definite issues with bad...
I know that it was asked about having common GND between the two boards... And answered as yes.
And I assume the circuit board above is not complete? It shows an unrouted signal wire between GND and one of the...
Hi Paul,
Sorry to be confusing,maybe i didn't precise i use the USB AUDIO like that,with "AUDIO" type selected instead of "serial"
AudioPlaySdWav playSdWav1; //xy=154,217
AudioOutputUSB ...
Maybe something is wrong on the SAMD11C14A side? Can't really help with that...
If you're completely stuck, maybe using another Teensy as a stand-in for the SAMD11C14A could at least help you move forward. If...
I did a test with 9600 on both as @Mcu32 pointed and removed the delay from inside the loop and the one right above the loop (delay(50)). Still no activity. :(
While probably not the main problem, I do see a possible issue in your code. You have 2 lengthy delays, one inside a loop which tries to receive incoming bytes! That's certainly not good.
while...
Since your gave a complete program, I tried running it here on a Teensy 4.0. Should be easy enough to check the baud rate.
This is the waveform my oscilloscope sees on pin 20.
Yes, and it is dual core and it's possible use the other core for simulantous tasks without performance impact, as long it's not using the FPU,too.
I don't think there is an MCU with sufficient floating point...
You are right, the picture is just for presentation purposes. The project is more complex than that. But there is a ground connection present between the two MCUs.
I'm utterly confused by your words.
You're talking about "USB AUDIO with WAV file player", but the WAV file player example published in the audio library doesn't use USB audio in any way. Maybe you're running a...
Hello, so I've search on this forum about this problem and also on internet and asked chatgpt. Did not found a possible root cause for this problem.
I have the following:
- Teensy40 using LPUART8(pins 20/tx and...
hi, Michael,thanks for support,i did some tests,
Well it's more weird that is though: I use the audio shield REV D,and teensy 4.0
Sd card test:OK (not normal,isn't it for REV C and teensy 3.2 ...?),and but bad sd...
Hi! I made another Teensy-based polysynth using parts from other discarded projects. It is the usual subtractive setup but I am trying to make it more flexible in terms of modulation to create more variety than my...
When I burn firmware to custom Teensy 4 MCU, I used the pre-programmed bootloader IC by Paul. After that, can I run my program as normal (such as USB serial, and everything else) if I remove the bootloader IC? Moreover,...
Thank you all for your replies. It makes sense that the compiler would give some advantage to the inlined unrolled code.
My confusion is that I was expecting way more performance on a function built purposedly for the...
Perhaps you got lucky with the conductor spacing - twisted pair with characteristic impedance of 100 ohms isn't hard to achieve, just use pairs from a CAT5 or CAT6 cable.
Well, my reason for diverting from a noise signal to a ramp was to rule out a potential issue with the digitally-generated noise.
However it appears to be something with the ADC routines. But I don't know enough about...
I am just wondering if that noise waveform is ever going below -0.3V or above 3.6V, that cause input protection diodes to conduct and inject charge into the supply rails for the ADC.
As for the speed of ramping and...
That's interesting, of course. However, it would then be the case that my ADC measurement is interrupted prematurely,
and therefore the decisive bit was not read.
However, I would not like to use delay. Is this a...
Or put simply the library functions are not heavily optimizable as they do not know any of the loop counts at compile time, but they can be used for different dimension arrays out of the box.
Unrolling here is very...
Just to add to the confusion I modified your sketch slightly to run within the Arduino IDE using a Micromod board. The modified sketch:
#include <arm_math.h>
#include <chrono>
int64_t GetTime()
{
using...
Hi Michael, I think you might have posted the same code twice rather than the intended code.
EDIT: Sorry Michael I got it wrong, missed the comments "//" moved.
Your MultMatrices function may be inlined and unrolled, allowing good optimization and fast execution.
Supposedly arm_mat_mult_f32 is inlined (or not), the fact that you need to initialize parameters outside...
Hi
I have a project which I intend to clip to a shirt pocket. What I would like to do is keep the project itself as lightweight as possible and power it wirelessly from a 2s Lipo in the pocket. The main drivers...
Hi All
I am looking to use a 3.3V Teensy powered from a 1s Lipo. The Lipo will have an independent USB charge controller with a 3.3V output. I am intending to monitor the Lipo voltage via a voltage divider connected...
In response to your original post (sorry this is so late to the conversation), here's a visual representation of the audio interconnects from the legacy sketch (this layout does not necessarily respect the specific...
I installed 14.0 without thinking of possible consequences and sure enough couldn't get serial to work afterward. Searched the forum and found nothing about Sonoma.
Turns out the USB cable I've been using for...
Sorry about that. I have updated the post and included the whole code in main.cpp
Delta is calculated when object is destroyed. It shouldn't make a difference whether it was initialized.
I had looked through the power up sequence page previously but wasn't sure how much of a requirement everything was (it mentions a USB voltage regulator needing power but assumed that was to convert 5V to 3.3V for...
I have spent some time trying to find the most optimal mcu that can perform Matrix Multiplications.
Few days ago I got my hands on a Teensy 4.1. I focused in the Arm Math library (Which I understand should give the...
Well, changed the test strategy from using noise to using a slow ramping signal (0V > 3V3 in 1 sec).
That did not help; still missing values.
Then I changed the code to
int Val_u = 0;
void setup() {
...
Are you using the SD card reader on the Teensy 4.1 or the SD card reader on the Audio board. The tutorial is set up to use the SD card reader on the Audio board. If you want to use the SD card reader on the Teensy, in...
I had written my own VB program to display the point cloud, which I plan to use to display the spectrometer data. However, I then had the data entered in a list box, from which I then imported the data into Excel via...
I'm playing right now with your exact code and a noise generator.
What tool did you use to display the point cloud? I'm now using TyCommander to save the serial data, import that data into Excel and then display the...
Hi :cool:
I am working on a university project - a loop pedal with generative drum rythms. It is going really well, but I have a small problem.
The first loop I record sounds exactly as it should. No glitch or...
Thank you gentlemen! I started the tutorial and I can see he starts with a single voice so I'm just going to follow along step by step, though Im on a 4.1 with a Rev. D audio board... shouldn't be an issue I'd wager....
I noticed the thing during my spectrometer tests, because I create a point cloud so far.
Over the whole width of the representation these interruptions were to be seen. Afterwards I looked at these data statistically,...
Hi,
I have an audio board rev D and i can use teensy.4.0 & 4.1 with a line input that i can hear at the headphones output,
means the wiring is okay from the input to the headphones,
but i never heard the sdcard...
Did you update the Teensy board package before you got into those issues? If I try above 1.57.2, I lose the USB connection and even Arduino IDE cannot find the board. If I get back to 1.57.2 and do the very long process...
Interesting observation.
Did you perhaps change the amplitude of your (digitally-generated-noise?) generator to make sure it's not the generator causing this?
And what do you measure when using the generic...
In the examples included in the Teensyduino installation you should be able to find some inspiration and get into different aspects. E.g. "PlaySynthMusic". Also for reading input from USB host you should find examples....
Yes, you are on the right track. However the suggestion to start with a single voice is a good one. When you have that running it is easy to scale up.
Also this multi-part tutorial is a bit old but still excellent:...