If the requirements are exactly that, 20kSPS, -30dB at 10kHz, then it does not need to have a brickwall filter. Note, no requirements for the passband quality, so even a RC filter with suitable values would do... a...
It's interesting how something like this is so vastly superior. Plus no ground loops when using toslink.
https://www.audiosciencereview.com/forum/index.php?threads/topping-e30-dac-review.12119/
Sorta...I got a novation sl61 mkiii and it actually can send buttons as midi controllers and you can set them up to increment +/-. Not a perfect solution. It takes a pair of buttons for a function, for example...and the...
If you don't have specific requirements, forum members can't offer informed advice.
I suggest to start with the ADC built into any of the Teensies and determine whether that is satisfactory.
If you sample at a...
Since the DAC chip (PCM5102A) cannot be easily soldered, we considered using a ready-made converter board (3-6 euros) and plugging it onto the mainboard from behind.
This eliminates the difficult soldering of the...
Hello dear Synthi friends ..
We have now checked our "Jeannie" and everything works flawlessly. Andre listened a little more closely with his trained ears and noticed distortions in the sound.
Measurements...
I've been following Joel's excellent work for quite a while now.
I'm no expert, but am pretty sure this is state of the art for monophonic, time domain pitch detection.
The implemenation in the q library at the...
Cool, I hadn't heard of that FASTRUN thing before. I had been using either a while(1) or an assembly jump instruction to get a quick consistent loop.
Just in case its useful to anyone, here's a short bit-duration...
Yes, it's mentioned also in the norm that I do need an aliasing filter of half the sampling frequency.
But in fact, I don't have any idea about how to choose a good Filter, nor a good ADC.
Thanks a lot for your quick answer, what a stupid error of mine ! (I actually made a custom document out of teensy connections card fort my pinouts, which was hidding analog infos...)
I should have asked before... ...
You need to have at least one non-USB input or output object. USB can't cause the audio library to update. Just add an I2S input or output, even if it's unused.
This detail is documented in the "Notes" on the...
No but you can use it to program another one:
https://forum.pjrc.com/threads/54318-Use-a-pre-compile-program-on-Tennsy-3-6?p=191141#post191141
And it's work (test on teensy 3.6)...
You need to have
#include "effect_platervbstereo.h"
Before the
#include "audioGui.h"
As an alternative you will need to have the
#include "effect_platervbstereo.h"
In the top of audioGui.h
To add items to the...
Ahh, you mean IMXRT10xx, that makes more sense.
Concerning Bootloader chip, history showed that Paul is only supporting (hard coded) MCU chips he is using for Teensies. Different models of the same family are not...
Hello everyone,
In order to organize my code, I'd like to move the entire code block generated from the audio gui into a separate source file. This would help me make my main.cpp neater and also it would help me...
I've been experimenting with building my own AudioSynthXXX objects, working towards the eventual goal of doing some very basic physical modelling synthesis on a Teensy 4.1.
My first try used floating point maths and...
Hello. I'm working on a project powered by Teensy 4.0, where I currently use two pushbuttons: one for digital input using one of the digital IO pins, and another for powering the Teensy On/Off using the "On/Off" pin....
Hi Group,
Just a quick update on this. The teensy->host audio path now supports AUDIO_BLOCK_SAMPLES of 32 and 16 via a ring of buffers. Also, the number of samples sent to the host will fluctuate to keep the buffers...
A quick search on dsb - like done to find the syntax - might yield more details ... here's a distilled recall from better notes posted elsewhere ...
Makes sure the handled interrupt indication propagates as handled...
The documents and libraries show the ability to hook up to SPI.
Example: https://forum.arduino.cc/t/adxl345-wiring-issue-on-spi/257756
Or page 15 of their PDF:...
I decided to add to my series of tests to do simple audio output to different devices (I already have DAC, DACS, Audio Shield, I2S, I2S2, and Prop Shield). So I cloned my source that does ToneSweep on both the right...
Hello,
I'm working on a project where the big picture goal is to stream data from a raspberry pi 4 to a Teensy in HID keyboard mode to a computer screen.
A button is pressed on the raspberry pi and the raspberry...
Hello,
For my second teensy project, I'm building a midi step sequencer with 16 * 8 buttons with LEDS just for the steps.
At first I was thinking using 8 multiplexers (CD74HC4067 16 channel) but I just learnt...
@All - I have been working on an upper level IF to @Kurte's and @mjs513's hard work on UsbMscFat.
I wanted to:
1) Find and initialize all available Mass Storage devices connected to the Teensy.
2) Create an index...
Very cool algorithm by Joel de Guzman: https://www.cycfi.com/2018/03/fast-and-efficient-pitch-detection-bitstream-autocorrelation/
He tuned the algorithm for guitar but no doubt it would work very well for other...
I think I found a solution. From RadioHead's online documentation:
"The RH_RF69 driver uses interrupts to react to events in the RF69 module, such as the reception of a new packet, or the completion of transmission...
Hi everyone,
I am new to this forum. I recently purchased a Teensy 4.1 and I'm using it on a Flight Simulator switch panel. I am using almost all the pins as input for switches and rotary knobs, but only pin 1 - 31...
I just downloaded and ran the latest Teensyduino from the site with no problems at all. Ran and executed as expected. Now I'm really confused as to why the MotionCal link works for everyone else, given that I am able to...
Indeed - when an _isr() takes too long it effectively never exits before re-entering and loop() never gets cycles.
Without sketch code, there is nothing else running in CORE code that would block loop().
Perhaps...
The circled link is what I am clicking. I get no error messages at all. Nothing happens. This is also the case for the Linux and Mac links as well. I'm sure this is on my end but I have no clue why. I am able to...
I think that, in theory, on teensy 4.1 both the QSPI port (used for the extra PSRAM normally) and FlexIO port(s) could be set up for generic 4-lane SPI ("quad-SPI" or something). Considering that I read somewhere about...
Hi,
I've built a small portable audio player using Teensy Audio shield. I use a 3W amp (PAM8403) and two small 3W 4ohm speakers.
I noticed that sound quality and overall stability is best when I power the teensy and...
Print in ISR only for testing if the program comes to this place, only one character with highes baudrate possible.
ISR every 100usec not longer than 10 -20 usec max!
Never delay() in ISR.
I am not satisfied with the PT8211. It sounds bad in my DIY synthesizer. Because of this, I want to use a different DAC.
The PCM5102A sounds very good and works very well with Teensy 4.1.
Link:...
@DD4WH,
If you wanted to use I2S and also use LED for messaging, You should use
CORE_PIN13_CONFIG = PORT_PCR_MUX(4); // PTC5, I2S0_RXD0
after you are done with LEDing and move on to I2S
I also measured at 44.1KHz and found no harmonic distortion with PCM5102A and ES9023P. Only harmonic distortion with PT8211.
Increasing the sample rate to 88.2KHz with the PT8211 was no improvement.
Interesting to see, but a bit of apples to oranges. We expect different results when measured at double sampling frequency. Doesn't really show that they are better at the same sampling frequency.
I clicked the link and it downloaded the program.
Please try again. If it's still not working, maybe give us a screenshot so we can specifically what you're clicking and the exact "not working" error message. ...
Hi,
I have problems with my SPI communication between my Teensy4.1 and a BT818 chip (EVE). I ran the SPI channel on the standard pins 10,11,12 and 13 at a speed of 30 Mhz to the EVE (which is the max value for the...
I tested different 24bit DACs on my Teensy 4.1.
1. PT8211 16-bit DAC
2. PCM5102A 32-bit DAC Burr Brown
3. ES9032P 24Bit DAC HIFIberry Board
Here are spectrum analysis from DACs. The sample rate for PT8211 to...
This is the one "F-RAM™" ( F-RAM is a Cypress TM ) :: $13.20 1Mbit >> cypress-semiconductor-corp/FM25V10-G
Another part that works is this $4.41 MRAM 1Mbit >> rohm-semiconductor/MR45V100AMAZAATL :
Both of those...
Aha. Change square.begin(WAVEFORM_SQUARE); to square.begin(WAVEFORM_PULSE); which also generates +1 and -1 and therefore needs shaping. But then you can use pulseWidth to get whatever duty cycle is appropriate.
...
UART I\O IS an option. What's available?
Both the units you listed require I2C. The ADCL343 clearly shows I2C. The BNO080 requires it to setup the SPI:)
I had the idea of setting up an interrupt on the SPI clock so...
Sorry, I misread your EDIT comment.
The output of the square waveform does not alternate between zero and one. It is +1 or -1. All that does to your signal is periodically invert it.
One way to handle this is to use...
is it possible the voltage at the usb is unstable? are you powering from VIN? There used to be old Alpha power supplies that would fry computer parts.. 😆
I was trying to download MotionCal for windows from the Prop Shield page (https://www.pjrc.com/store/prop_shield.html) and it seems the link is not working. Any help on how I can get MotionCal for windows would be...
Testing with the following modification at the moment (this is expected to do a restart of the Teensy every time the SD card cannot be initiated):
#define CPU_RESTART_ADDR (uint32_t *)0xE000ED0C
#define...
Warning I have not used many of the accelerometers, although I do have a few of them sitting around here somewhere... My desk and office areas organization is not as it should be.
But for example Adafruit and...
Thanks, but the point is actually that I only use one DAC, not two.
So I tried to let the teensy multiply a square wave and a sine wave, such that I get a sine wave that turns on/off. So then the multiplied signal...
To use both DACs on the T3.6 you need to use AudioOutputAnalogStereo
AudioOutputAnalogStereo dacs;
and then in the connections reference port 0 (left) and port 1 (right)
AudioConnection ...
Interrupts do happen, that's the point with IntervalTimers, not sure why they cannot be used.
The interval trigger every x seconds and sends a NoteOn to an envelop, or sets a mixer amplitude.
Another option is to...
I did not power the boards before soldering pins to them. From now on, I will. This is the first problem I have had that I could not trace to something I did.
I was able to load Circuitpython and Arduino on board #1...
Serial printing in the 100us Timer Interrupt will block the loop.
Put your data in a buffer(volatile) and give a flag to loop for printing the buffer.
OpaLothar
Hi,
I am completely new to the Teensy, but I only need to figure out one more thing.
For a project I connected the pui audio board to a Teensy 3.6 and I am able to play sounds (e.g. a sine wave) via DAC using the...
I would think you'd want to load the POE with the resistor, but something isn't right.
I know Wikipedia isn't exactly the best for accurate information, but here's what the POE page says:
"To retain power, the PD...
Memory allocators are allowed to break the rules as the objects are not "live" when they are in freelists (one hopes!)
In a full-blown garbage collector you normally have to completely subvert any type system anyway as...
I have also been modifying the TSynth code and saw this problem at one point. I'll share some details in case it gives you any additional clues.
When using a std::vector collection of pointers I experienced the...