I thought I would also follow up, with showing my updated Excel document for pin information:
Which I keep a copy of the excel document up in my github project:
https://github.com/KurtE/TeensyDocuments
I mention this, as to show the FlexIO pin...
@TalkRock ontop of what Kurt mentioned, if you do want to use DMA with the libraries mentioned above, you can use the MicroMod Teensy, which is basically a Teensy 4.x
It does not have Ethernet or PSRAM, but it has almost everything else you can...
Yes I was looking at your thread and have been tinkering around, thank you!
Sorry for derailing the thread a bit. I will try to use this soon and report back, very much appreciated.
You can take a look at some of the code snippets I am using on that project here
To create a static waveform, you need to obtain the number of samples, if it's stereo, you need to sum L+R/2
You then need to divide the number of samples by the...
You can call the peak object in the audio library and fill a buffer with scaled lines and display it, but even on a small display the FPS will be very limited.
I have done this on both a 240*320px over SPI and an 800*480px display running off the...
Yes it is, from a company called Kingtech
But any bare RGB lcd you can find on AliExpress etc will work. You just need a backlight driver (I am using this breakout from Adafruit)
These displays have no controller or internal GRAM, hence the...
Quick demo of my latest work; got the devboard v5 to run the code, am able to analyze the track and then display a moving waveform
Audio is buffered in SDRAM
Waveform is buffered in SDRAM
Waveform canvas is buffered in DMAMEM
Display buffers are...
I pushed up whatever is currently in my Excel document to my fork/branch:
https://github.com/KurtE/EVKB_1060/blob/main/docs/DogBoneSDRAMv1%20(version%201).xlsb.xlsx
Here is an image of the other side:
And the Mux page:
EDIT: here is a pdf of it
@KurtE Do you have a full document of this mapping out the signals on the other side?
I am trying to get Audio working on devboardV5 and I am getting confused between the datasheet and my SAI setup code:
FLASHMEM static void config_sai1()
{...
Perhaps if you store the working path in a global variable, then close the file before checking if media is present, then reopening it and navigating to the active path might help? But not sure how much time this would consume in the loop - or do...
There has been alot of work done in the recent weeks by a few forum memeber on severl displays:
ILI9488, NT35510, RA8875/6 to support faster communication protocols such as i8080 over 8 and 16 bit wide parallel busses.
All there librarys support...
Continuting work at a very slow pace (in between kids works wife home stuff) and I am now able to also detect BPM as part of my audio track pre analysis
At first, I was going to try port queen-mary dsp tempo detection to the Teensy, but I came...
The specs for writing to the display in 24 bit parallel interface mode for COLMOD = 666 is to send data on D0-D17, so I think it's fair to say, based on your research and experiments, there is no specific 18 bit parallel interface mode, but you...
Thanks for the update and tagging me!
I actually took an entirely different route on my project, although this object is what sparked my initial interest and got me going alltogether!
I am using interrupt based audio stream (no DMA), using a...
Hey anyone who's following this, sorry about being MIA! I had a super busy summer, but I finally updated the GitHub for the scrubber. It now includes the most up to date code, allowing for variable speed playback as well as smooth scrubbing of...
@KurtE This is awesome to see! It's been a couple of years since I played around with the BuyDisplay ER-TFTM040-1 and my 8/16 bit driver code for the NT35510 controllers, but one little useful hardware hack is to wire a switch to flip J1 and J5...
EDIT:
Sorry @Paul I should have RTFM, or in this case the Instructions. It clearly says "tm.Year Year 0 to 99 (offset from 1970)".
Funny how many times you see what you want/expect to see rather than the true answer!
@Rezo Yeah a quick...
Being that now() returns the number seconds passed since Jan 1st 1970, it's counting years since then, which is 54
But, is that the expected behavior?
Quick fix it to just add 1970 to the value of t.Year
I've not played with the filters much, but I'd certainly expect more stages = steeper rolloff. Note that the biquads each contain 4 stages, of which you've so far only used one.
I just picked one of your examples, since they were basically...
@h4yn0nnym0u5e thanks for putting that together - just flashed it and now there is no more noise when attuning or booting!
For a steeper rolloff do I just add more filters in series?
Also, why the biquad over the state variable filter? My low...
So I made two simple sketches to play a file from SD and then implement a 3 band eq (mono for now), one using the biquad filter for all three bands, and another using the state variable filter for all three bands.
In general, it works. The music...
Quick and maybe final update...
I have a version running for 24 bit 8 bit bus DMA, using 1 FlexIO buffer. Will try it soon with 16 bit bus. Unless someone has demonstrated that multiple FlexIO buffers helps a lot with DMA, will probably...
I am not sure if it is possible to change the Biquad filter without getting audible artifacts. You can simply try that out and see if it is working for you. In the documentation there is a note about low corner frequencies which could be also...
@TomChiron thank you for your detailed comment and insights!
Would you be able to perhaps show me how to setup the 3 band EQ using the state variable filter? I had a look at the object in the design tool but couldn’t figure out how to actually...
Regarding the 3-band EQ and biquad filter - as I have zero experience with this, I consulted with chatGPT on how to setup such an EQ and this is what it suggested:
AudioFilterBiquad bassFilter; // Biquad filter for bass...
After my first endeavor with Audio related projects on the teensy with my Teensy based CDJ1000, I am now starting another project in parallel - building a 2 channel DJ mixer
Not doing this for commercial use or anything alike, just for personal...
Where did you read that?
As I said in post #2, none of the effects in the audio library are in any way dependent on the output hardware you are using. That applies to any object in the effect section of the Design Tool - the Teensy code...
If I understand what I read correctly - the effects only work with the SGTL5000? They won’t work with other DACs?
I am planning on building a 2 channel mixer and want to add some simple effects to the output, but don’t plan on using the audio...
I may be asked something like this before as part of a different thread... Not sure...
But...
Suppose I have a logical frame buffer for a display that is 800x480 and in the case I am playing with 3 bytes per pixel.
(24 bit color).
Now there...
I run an 8 bit parallel bus at up to 120 MHz while running the processor at 528 MHz.
I'm using FlexIO hardware to do the IO side of things.
If you are changing multiple IO pins at a high speeds then power draw (and so temperature) is going to be...
Right not I am contemplating if the 32 bit frame buffer is the right way to go for 24 bit color, or if I would be better off with packing it to 24 bits per pixel... Probably would make it easier to support DMA and IRQ support.
For example, when...
I have not done much yet with the 16 bit DMA. The 16 bit one I have now is hooked up to T4.1... I have a couple more Buydisplay ones ordered and shipped (one 16 bit the other 18 bit) waiting to transfer to USPS... How many days it will take this...
Or you can use my variants version of core and try to create a variant for yours...
I took the simple way out to start with, which was I did not collapse the pin numbers, for ones that were not available. Their current 4, 4.5 and 5 boards are...
Hey folks, I'm happy to report I was able to create a custom teensy with sdram using this thread as a reference 😁
I was already in the throws of designing a custom teensy board that had usb host, usb device, and microsd all on a single edge...
Sorry, I know,mostly talking to myself 😀
i now have the 16 bit bus display, connected to T41, it is on left, the BuyDisplay one on right (8 bit),
color band 565 vs 888 on both running 24 bit
running my clip… test 16 bit color shows still some...
PNG file works:
But jpeg file seems to missing red colors:
Otherwise it works without having to convert pictures :D Nice...
Edit: Tested with some other jpg files. Some were good and some were not...
Back in 2014 I started a thread about my Burning Man project and claimed that I'd post pictures of the project, but never ever did, and now the thread is closed for reasons.
But anyway, Teensy and OctoWS2811 have been serving us well for 10...
Went through a few variations of code, trying to make it symmetrical with no luck.
Using Logarithmic algorithem makes the waveform look even more empty.
I'm currently suck at a dead end on this. Need to start over from scratch and get it working.