Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
Sandro
Type: Posts; User: Sandro
Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
Sandro
Hi vjmuzik, thank you so much for your code! I tried with this simplified version, for Teensy 3.6 and one 128x160 display:
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include...
Hi vjmuzik, by the way do you know if there is somewhere an example/application of GFXcanvas? i cannot find a good documentation, and cannot get the example inside Arduino IDE working with my...
Hi wrightflyer, in my project 33 user interfaces have to be monitored (15 encoders and 18 pushbuttons), while display must be kept updated, midi has to listen for messages and code decide what to do,...
Thank you Mark, I completely agree; maybe everything in code is alreadly correctly calculated using AUDIO_BLOCK_SAMPLES, but I should check. Very important in order to prevent bugs.
Thank you Mark, I completely agree; maybe everything in code is alreadly correctly calculated using AUDIO_BLOCK_SAMPLES, but I should check. Very important to prevent bugs.
Hi vjmuzik, great info, I didn't know about this canvass... I'll try soon, thank you!!!
Hi boxxofrobots, thank you for your answer; I had a problem with display (128x160 SPI display, with Adafruit library Adafruit_ST7735.h) operations, which require long time to be executed.
In order...
Hi Paul, thank you for your answer! I know that AUDIO_BLOCK_SAMPLES can be changed, but I would avoid it, because than I should go hunting for constants in my code connected to 128 samples... don't...
Hi all, my code for an audio sampler (complete code is here: https://github.com/SandroGrassia/Lilla-audio-sampler) reads MIDI every 2.9 ms; I use an object Trigger.h which doesn't send any sound,...
Ok, I got it.. I did more accurate tests.. Very simple: update() calls are very close because objects have nothing to do.
Hi all, in order to create a new audio object with timing function, I need to go a little bit deeper in undestanding update() execution.
I did a test, putting a Serial.print "monitor" inside some...
Hi all,
I need to use MIDI.h functions inside a class; until now I've been able to use MIDI only in a single function of a class:
Main code:
#include <Test.h>
Test test;
void setup()
Hi all, since my last post Lilla expander has evolved and now is almost ready to be produced:
20802
Some videos:
https://www.youtube.com/watch?v=2-acyJgDugs...
A bad mistake I did here... i had connected the flash chip GND pin to Analog GND... shame on me.
Anyway, now the small PCB is done; i'm testing it, seems working fine.
18688
Good, thank you Neurofun. I'm designing a small pcb for the W25Q256, with a groudplane, to be soldered toghether with the Audio shield (on top, or below) ... let's see how it will perform.
Going back to W25Q256..
I read on Audio shield schematics (where an 8-pin flash memory IC is contemplated), that "RST" is indicated. While on 8pin ICs (like W25Q128) /RESET and /HOLD use the same...
I got it...Ok, thank you Frank for the explantion!
For completeness: after formatting, using normal speed playback, the report shows more or less same values and same behave:
0 218
1 7
2 217
3 7
4 2143
5 7
6 217
7 7
Hi Paul, thank you for your answer; I started adding some lines in order to get min, max and average times, and the result was so strange (for me!), that I decided to see each value; this is my code,...
I'm playing with playSDraw using an SD card plugged in Teensy 3.6 built-in socket. The scope is to use the built-in SD card in place of flash memory in my midi expander, since the quad SPI could be...
Hi Michael,
I made some tests with micro SD built on Teensy 3.6, clock 180 MHz; I played with play_SD_raw, modifying the lenght of the data array read from SD, as follows.
The "core" part of...
Hi all,
since the last posts, I've completely developed my Lilla midi expander and completely rewritten playFlashraw function. Now, going back to the beginning of my work, I notice that I neglected...
The attached pic was this:
18396
In these day I went on with my tests... and this assembly showed some limit: with intense use of the chip some errors appares. I guess if a small PCB with its...
Sorry, here:
#else
Serial.println("failed!");
AudioStartUsingSPI();
#endif
Serial.println("failed!") is a refuse.
Hi Michael,
I had not notice that!
So.. thank you for your detailed analysis: at the moment I would remain on Teensy 3.6, or maybe switch to T4.0 in a next release; and for all the topics you...
But... I found this post:
https://forum.pjrc.com/threads/55662-Polyphonic-playSdRaw?highlight=playSDraw
It says that for polyphonic application (mine uses 8 voices at least) it's raccomanded...
New feature introduced: anticlick for loop operations
Good suggestion! I had not considered this!
For my application, the midi expander:
https://forum.pjrc.com/threads/57897-queued-Lilla
100M for file system is more than enough!! :o
This is so important to me! I didn't know this fact of quad SPI... Maybe it means that reading data rate from micro SD card on Teensy is comparable/faster than from flash memory soldered on Audio...
Hi Michael, thank you for your answer; I didn't get if you are talking about W25Q256 32M 16-pin chip or about the W25Q128 16M 8-pin chip (which is not my case); I'm using SerialFlash in my code....
Hi all, I'm experimenting a W25Q256FV 16-pin SOIC 300-mil on Audio shield Rev B (on teensy 3.6, clock 240MHz), in order to store audio files to be played. Actually I have connected the flash chip...
Also tested W25Q256FV but I had an issue, looking like a loss of connection... as soon as possible I'd like to share .
Thanks
Lilla debuts at Soundmit
https://soundmit.com/it/espositore/lilla?fbclid=IwAR2jf7qKXauX68H3965gqcV8UuzMgt5dgzjKM1PSYK1YQ0R0-5EKiC-8jE8
Turin(Italy), 2-3 Nov 2019
17839
Lilla is an open source project for a polyphonic midi expander, based on Teensy 3.6 microcontroller. Lilla includes:
devices/ICs:
n.1 Teensy 3.6 microcontroller
n.1 Teensy Audio...
done: https://forum.pjrc.com/threads/57897-Lilla
thank you!
Dear friends, I'm proud to share my midi expander project (I would apologize in advance for the naivety of my code)
https://github.com/SandroGrassia/Lilla-midi-expander
I would say thank you to...
Great!!! Thank you so much Paul!! I'm testing the updated AudioMaster library on my "Lilla" midi expander, using a new Teensy 3.6 board and overclock @216MHz: no "pitch fluttering"!! It's also time...
Hi mmalex,
I have just found this post (shame on me... so much time I would have saved If I had found it before!!) and I'm happy that issue of overclock has been solved; recently I wrote a post...
The reason why I'd like to experiment two flash memory chip is to improve the number of contemporary players. I've seen that reading 128 samples from flash chip requires about 100 microseconds; in a...
I'd like to use two flash memory chips on Teensy 3.6, connected to different SPI busses (to enable contemporary access): the first chip on the Audio shield (SPI0), the second chip connected to SPI2...
I had not tried with simple applications yet; if I upload the example "WavFilePlayer" and play it on my Teensy 3.6 boards, this is the result:
Old Tensy 3.6 (bought June 2018 and installed...
Hi all,
if someone would be so kind to check on his Teensy 3.6 what happens... I wrote some more simple code. All files, included 0.RAW, can also be downloaded here:...
Hi all, I'm a bit desperate... cannot find any solution... should i post this issue into the Audio Projects section?
Thanks
Hi all,
I did many tests these days, again using my full code and also simplified versions, but the result is always the same: only the old board works perfectly for my application. I did some...
Thank you Paul, good to read that Teensy 3.6 has not been changed!! I'll go deeper in my troubleshooting.
Hi all,
I made a first and perfectly working prototype of an audio application, based on Teensy 3.6 (bought on June 2018) + Audio Adaptor + W25Q128JV flash memory:
17334
Ready to make again...
It's not so difficult if you use a very thin soldering iron tip, the right temperature ana a good tin wire... This is my procedure: place the IC on its position, fix it perfectly with scotch tape,...
If the Audio Adaptor is connected properly to your Teensy, and the memory chip is a W25Q128, than I agree, it could mean that there is some contact/solder issue.
Hi Ofishar, this an example for W25Q128FV in SMD size:...