Hi all,
i am working on a project which uses a SSD1306 display connected to a Teensy 3.2. At first i was updating the display whenever something happened which should cause the display to be updated. That didn't...
I've been using the audio library for some interesting non-audio things. In one of the processes I've written, I've had a need to flush an FFT of all data and start putting new and different data in it. I'd first...
Is anyone using a lockable Teensy 4.1 in production? I am starting to produce my Teensy 4.1 based product and was curious as to what the most optimal workflow is for programming and securing the Teensy. It appears...
Hi
I'm working on my Solartracer / Weather station project.
Goal is to have a Solarpanel which faces towards the sun and follows.
I use a Teensy4.1 for this project. There are several sensors attached and finally...
Hello everyone,
I would like to show you the project I am working on for more than a year now.
It is called Beatmaker's sketchbook and is an Open Source Sampler & Sequencer, based on a Teensy 4.1.
Check out this...
Thanks for the groundwork on this Paul. I started an Eagle schematic, pdf attached.
I'm not quite done, need to find an LDO and finish up the voltage regulation section. Maybe bring out some pins to a header and add...
I just tried the simple example on a Teensy 4.0 and get the same result as with the T3.6, with missing note events if I simultaneously vary the modwheel touchpad rapidly on the minilab.
So perhaps it's not a...
You might want to give my Dynamic Audio Library a try out: the updated audio objects are on github, and you also need AudioStream.cpp and .h from cores, which can be found here. I started a thread on the updated...
Looking at the T_4.1 card here pin 8 is not labelled as SDA/{SDA0}. SDA/{SDA0} is pin 18? And that is on the opposite side of pin 8, the same side as pin 35.
Even though the example bytecount isn't assigned from readBytes(), I've updated the web page to show unsigned int type rather than unsigned char.
I'm curious, was this question also asked on NXP's community forum? ...
Thanks for replies on "what scale to use". For viewing the details of the sound in the higher frequencies the difference is not big. But it might help to stretch the band around the 20kHz. A lot of sound there what...
Paul,
I think you just pointed out the problem. I copied the code from https://www.pjrc.com/teensy/td_serial.html, and didn't notice the bytecount is defined as unsigned char, while the available byte counts can be...
p.s. if anyone else happens to have an Arturia Minilab II and is willing to try the above example code whilst playing notes and sweeping the modwheel slider it would be good to get verification of the problem.
Or if...
I just had a look at the library code. You can simply attach a nullptr to remove the callback.
I.e.:
SpindleEnc.attachCallback(onEncoderChanged); // attaches onEncoderChanged to SpindleEnc...
Richard:
I took another look at my TeensyMIDIPolySynth source & realized that there is one additional difference in my implementation of the USBHost interface that might be pertinent. Because I have only used T4.x...
Thanks for this! I went with this loop in the end, which works for even multiples of the screen height:
static const int SLX = 480;
static const int SLY = 800;
static const int chunks = 4;
static const int chunkSize...
It's coming along nicely, thanks. Just got the preset buttons on the Akai MIDI mapped to the QOSCs, with 8 channels in 8 columns and harmonic waveforms in rows. Now, I can select the image frequencies, plus 2 LFO's, and...
When you try larger reads, is "bytecount" still only an 8 bit number? Storing the result into only 8 bits would explain why you get 0 when you should get 512.
If this doesn't help, maybe you could consider showing a...
Thank you very much for your wonderful explanation of all the possibilities i currently have to read such data, im really new at Teensy and your post is very enlightening, you have no idea how hard was to find a post as...
Ok I think the problem is SerialUSB1.readBytes() itself. I am sending a big chunk of 32K bytes from pc. int handleDataTransfer(){
unsigned char bytecount = 0;
int rd=SerialUSB1.available();
if(...
Thanks Mark,
I very much appreciate any and all suggestions, as I'd really like to have the option of connecting controllers to my synth without a computer. But this is a synth I'd like to make into a product so (for...
Hi,
I would suggest you use an internal framebuffer. Since your screen is monochrome with size 128x64, a memory buffer will only take 128*64 / 8 = 1kb of RAM (at 1 bit per pixel). You may use the GFXCanvas1 class...
Hi KurtE,
Thanks for the reply.
The display can be showing several things as it has 3 pages. One page is just settings for the project so can be ignored. The other two screens show details about the clocks...
Hello Mark
I am sorry. But unfortunately I can't help you much.
Unfortunately, I don't know much about C-classes. I copied the scope code from another open source project.
For display output I use a frame...
Here is an (untested) snippet of code for drawing a 400x700 viewport centered on a 480x800 screen (in portrait mode) in two passes. First we draw and upload the upper half of the viewport then we do the same with the...
I don't see how it can not be connected unless that etch run has burnt open. You could check that by checking for 5 volts over on pin 1 of Encoder1. (But it would be much better if you check for etch continuity using...
Kurt - works to build fine as x86:
D:\Tim\downloads\Teensy_loader_cli\Debug>Teensy_loader_cli.exe
Filename must be specified
Usage: teensy_loader_cli --mcu=<MCU> <file.hex>
-w : Wait for device to...
Might help if we had a better idea of what is going on and what you would actually like:
That is you say you have 4 clocks running that can update the display? Do they want to update the whole display, or do they...
I now have upgraded to ILI9341_t3n, but I still have Arduino 1.8.13 and Teensyduino 1.53. This must be the reason why it does not work for me.
Thanks for the opaque text output, this is much better!
Until I update...
@Rolfdegen (or anyone else who has already succeeded in adding an oscilloscope display to your TFT project display):
I would like to add an oscilloscope display of the (digital) audio stream created by the Teensy...
Not right now I am building for Debug x86
I am not sure if x64 can build.
If you open properties on project:
Go to linker/Input section
The Additional Dependencies:...
Didn't restart yet - opened and build gave this:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function...
It was asking for some specific 1.45 (?) tool pack. Rather than see if an update would grab it (or it could be found) - the Install of VS2022 Enterprise is done - ready for a reboot
Thehermit... How are you getting on with this project? I'm now able to project ilda files by using laserboy to convert them to wave files first. The results are quite good.
Great, sounds awesomely flexible! I tried with a full 480*800 buffer with all storage in EXTMEM, and "buddha" worked, managing 6.3 FPS :) "mars" also worked (slowly as expected) using fullscreen EXTMEM buffer. Sample...
I just need also 0-5V CV octave/volt from teensy 4.
I used I2c dac and get nice 0-3.3V output then use opamp for amplify it to 0-5V but opamp is not really super solution in this case.
Paul what do you think, if I...
Yes, the 3D renderer is part of the TGX library which is completely independent of the screen/graphic driver used. All the renderer does is to draw graphics in regular RAM and then it is up to you to decide what you...
For the heck of it, I thought I would see if I could make a version of the teensly_loader_cli that builds on windows using visual studio.
For Linux it was easy to build even under windows using the WSL setup, but for...
Logarithmic frequency scales are very common in bio-acoustics as they reflect the hearing capabilities of animals.
However FFT is common in signal processing as it is fast but results in a linear frequency scale....
Hi Eef, I think you are referring to MEL scale.
I think it would become quite hard to determine the species since all batworkers are used to the linear scale (All books and other images I have seen use linear...
@vindar - is there an example of configuring your 3D renderer to use just a single non-DMA partial framebuffer? I'm interested to try this on my 800*480 16 bit parallel screen which, given the size and the nature of...
In general, if you go over to https://www.pjrc.com/teensy/td_libs.html, it has all of the pages for documentation about the Teensy libraries.
From there, go to the SPI page,...
It depends on which country or continent you live in/on. Here is an enclosure company based in USA:
https://www.polycase.com/
Lots of options even handheld boxes if you have drill and router to open holes for...
@rvh: Regarding your earlier question on the use/need for calling myUSB.Task(), the USBhost source shows:
/**
* \brief USB main task, responsible for enumeration and clean up stage.
*
* \note Must be...
Use Teensy Loader's auto mode. Once the HEX file is loaded and auto mode is on (which is the default if Arduino caused the hex file to load automatically), then you just plug each Teensy into the USB and press its...
#define USE_NATIVE_ETHERNET
#define USE_ILI9341_T3N
//#define USE_ILI9341_T3
#ifdef USE_NATIVE_ETHERNET
// In NativeEthernet.cpp,EthernetClass::begin(...) you must remove waiting on the link status:
/// ...