Thanks! I ordered a power supply and the audio shield! I will post my code and draw up a schematic according to the guidelines this weekend. In terms of the audio splitting. Yes I was just thinking linear. I figured by splitting the song digital...
This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
There is a little more spread at the base of the odd harmonics, although the FFT sizes are also different. I had expected more of a difference, and I was wrong.
Update ER-TFTM1011-1 10.1" LCD is working on the T4.1, MicroMod and SDRAM Dev Board V4.0. All except MicroMod work with 8-bit and 16 bit bus configuration. The T4.1 is by far the most stable of all three. The SDRAM board and MicroMod are unstable...
So I left the minilab past Friday in a rush for a weekend trip, left the teensy in the breadboard with a wire connected from GND to GND rail on breadboard, and a loose PWM wire on pin 8 that was connected to a motor , no power being supplied...
Hello, forum members!
Literally just did an article on homemade rotor balancing machines and came across this thread on the forum, so I decided to register.
I would like to share some thoughts on the use of different types of sensors in...
Hello, forum members!
Literally just did an article on homemade rotor balancing machines and came across this thread on the forum, so I decided to register.
I would like to share some thoughts on the use of different types of sensors in...
Huge topic.
What kind of noise are you looking to reduce?
Noise Source: Real-world noise from your environment picked up by your mic, or electronic noise that's somehow electrically getting into your signal?
Frequency Characteristics...
The sketch below shows a fixed-point sine/cosine lookup that I think is well-suited to the OP's program, which doesn't need high precision on angles or intensity. Angles are scaled 0..2PI and sines/cosines are scaled -1..1 over the 16-bit range...
The sketch below shows a fixed-point sine/cosine lookup that I think is well-suited to the OP's program, which doesn't need high precision on angles or intensity. Angles are scaled 0..2PI and sines/cosines are scaled -1..1 over the 16-bit range...
Thanks for measuring the high-res sine wave! I've often idly wondered this. Turns out the linear interpolation on table lookup is pretty good.
Would be interesting to know if the excessive Taylor Series approach make a difference with a higher...
This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
Any chance you might share the project or at least photos? Would probably be useful for others. And even if you're not looking to share the code and circuit details, just photos (or a cell phone video uploaded to youtube) and basic info could...
Thanks for your response.
I have found what the problem was.
The line just before the CHOOSE macro
int instrument_index = -1;//some variable used by your code (not necessarily an int)
That I copied from an example in the ArduinoMenu library...
After many months in T4.X land, I'm now embarked on a Teensy 3.2 project. I have to keep reminding myself that the T3.2 DOES NOT have a hardware floating point unit---much less one that does double-precision calculations with a 600MHz system...
@wearyhacker:
Have you tried making use of the crash report capability is your setup() function (note that the while (!Serial); line will wait forever if nothing is connected to the serial console, so comment that line out and/or remove it after...
I am trying to get a CHOOSE submenu working in a platformio prioject for teensy 4.1.
This is what the menu definition looks like. Full code is attache to this post.
int instrument_index =-1;//some variable used by your code (not necessarily an...
This sounds like a really awesome project. I want to help, but to give specific electronics troubleshooting advice requires seeing a lot more detail. Photos and schematics or clear diagrams are best. Small but complete test code also really...
2 weeks obsessed yield a quite satisfying outcome.
I've always wanted to build a balancing rig like this And finally the stars aligned and made thoughts into matter.
The physical construction is pretty self-explanatory in the images. As for the...
Hi! I'm new using the teensy and its audio shield, anyone knows how to implement an adaptative filter for noise reduction? need help with that cause honestly I have no idea how to start
Thanks jmarsh, I completely missed the hooks implementation. Another good reason to use Timo Sandman implementation.
In my application, printf was only used in one task, for debug purpose.
Angelo
printf is (as is any access to stdin or stdout) assuming the proper newlib hooks have been implemented (which they have). Serial.printf and other Serial member functions are completely different.
100 as task stack is probably not enough, especially if you use printf.
I read somewhere that printf is not reentrant. It means you should print on serial only on one task.
Angelo
and one more doubt can i use flexcan library and freertos library both together because when i am trying to use i am getting errors in flexcan library
In file included from...
Is it ok that both are using Serial.print("); ?
Generally, interrupt/multitask doing that causes grief.
Perhaps have the Transmit() use pinMode OUTPUT for LED_BUILTIN and do a digitalToggle(LED_BUILTIN), and not share USB print.
Note: that is simply a print to pdf of one of the pages in the excel document:
https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4x%20Pins.xlsx
Note: @mjs513 did a modified version of this that I think is in @defragster github project...
Hello Ed,
Sorry for the delayed reply.
I switched the voltage input to Vin but it didn't seem to do much good. Tried switching gain settings around too to no avail.
I got another board in I'm going to try and hook up to see if that works, and...
In terms of existing designs, there are at least 2 things that the Teensy 4.0/4.1 just does not have (analog output on pin A14 that can be used to play music and the ability for digital pins to receive 5 volts of input from 5 volt devices).
I took the Waveforms Audio example, set the frequencies to 1000Hz, wave type to sine, and maxed the levels with
sgtl5000_1.lineInLevel(0);
sgtl5000_1.lineOutLevel(13);
And looked at the line outputs with my QA403 audio analyzer:
Which...
I would expect to see a big difference, if the sine wavelength is not an integer multiple of the exact sampling frequency. See
https://www.pjrc.com/high-precision-sine-wave-synthesis-using-taylor-series/
Hi Paul,
Appreciate the response! Apologies for the lack of info, as the board is directly soldered to the top of an audio board probing the components underneath is a touch difficult. I will work towards replicating the issue just to better my...
Hallo, ich möchte mit einem T4.0 eine Schnittstelle für ein IPhone erhalten. Das Interface sollte 5x Audio Line in besitzen, 1x Stereo Output und 1x Midi Input. Kann ich so etwas realisieren???
Sorry been awhile since I played with the joystick stuff. Most of my playing has been done on the USB Host side.
There are at least three things to do to see if it works.
a) Update the HID descriptor. It may or may not be as easy as removing...
Hallo, ich möchte einen Aufbau mit Teensy 4.0 entwerfen der ein 4 Audio Line Input, Stereo Output und Midi Input besitzt. Das ganze sollte mit einem Iphone Funktionieren. Ist sowas möglich?
If you are building a specific board for a specific purpose, I say have at it! IF you like hard coding it like:
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_13 = 0x4U;
IOMUXC_CSI_DATA04_SELECT_INPUT = 0;
IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_13 = 0x0U,
go for...