Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: SPIRIT

Search: Search took 0.00 seconds.

  1. Hi ! A small adjustment with BAUD at 921600 and...

    Hi ! A small adjustment with BAUD at 921600 and delay, now it works perfectly.
    Thank you very much for your patient and for taking the time to explain to me :)


    //Teensy 4 Master
    #define...
  2. Well, I do get a response when I start teensy,...

    Well, I do get a response when I start teensy, but then the reception freezes. But it's starting to be interesting

    Receided :Hello World...Hello World...Hello World...Hello World...Hello...
  3. Better ? // set this to the hardware serial...

    Better ?


    // set this to the hardware serial port you wish to use
    #define HWSERIAL Serial1

    void setup()
    {
    Serial.begin(115200);
    HWSERIAL.begin(9600);
  4. I looked at the "Using the Hardware Serial Ports"...

    I looked at the "Using the Hardware Serial Ports" page and I understood for Serial1 Serial2...
  5. Thanks for your helps. I try this but don't work ...

    Thanks for your helps. I try this but don't work


    void setup()
    {
    Serial.begin(115200);
    }

    void loop()
    {
  6. I know, this is only an example I found on...

    I know, this is only an example I found on Youtube for an Arduino UNO and I understood that it is not the same. I start and I learn. What do i need to change ? Thanks
    https://youtu.be/YVPumD16Y_Y
  7. Yes, I did not specify but I connected the ground...

    Yes, I did not specify but I connected the ground of both together
  8. Hello, because you have to start somewhere, the...

    Hello, because you have to start somewhere, the famous Hello World
    But it doesn't work
    I am connected on the Teensy 4 to RX1 (pin 0) and TX1 (pin 1), on ESP32 to RX2 (GIOP16) and TX2 (GIOP17)
    I...
  9. Hello, I swim a little ... More simply, how to...

    Hello, I swim a little ... More simply, how to send a MIDI note from a Bluetooth from a Teensy, regardless of the use module HC-06 Adafruit BLE ESP32 ...
    Thank you so much
  10. Teensy 4.1 master and ESP32 in Slave, possible ?

    Hello. I am working on my Hanpan project with FSR Pads and everything is working fine. I can connect it to a PC or a phone via USB. But I would like to add a bluetooth connection and I have an ESP32...
  11. Replies
    3
    Views
    529

    I guess my problem is from here ? void...

    I guess my problem is from here ?


    void buttonCheck()
    {

    ////// Change Octave //////

    octaveUp.update();
    octaveDown.update();
  12. Replies
    3
    Views
    529

    MIDI NoteOn remains pressed

    Hi, I'm making good progress on my HANPAN project but I'm stuck on this. When I change scale it works:

    NoteOn ,ch: 1 , Note: 57, Velocity: 90
    NoteOff ,ch: 1 , Note: 57, Velocity: 0

    NoteOn...
  13. Replies
    11
    Views
    1,168

    Hello, that was it! PROGMEM were missing before...

    Hello, that was it! PROGMEM were missing before static const. Now it works for all my SF2 files.
    Thank you very much for your help. I have a lot of fun with my Teensy 4.0.
  14. Replies
    11
    Views
    1,168

    Thanks for your help. PROGMEM was indeed missing...

    Thanks for your help. PROGMEM was indeed missing in the .cpp file and .h is correct


    #include "flut_samples.h"

    PROGMEM

    static const uint32_t sample_0_flut_flut1[80000] = {
  15. Replies
    11
    Views
    1,168

    Thank you for your help. I just learned to use...

    Thank you for your help. I just learned to use Python and it works. I made with python a new version of SoundfontDecoder.exe. Now the code is different with the .h and .cpp files. and it looks ok....
  16. Replies
    11
    Views
    1,168

    I saw that I had 2 versions of Arduino, so 2...

    I saw that I had 2 versions of Arduino, so 2 files. So I deleted the one that was present in the download folder and use the one in Programs (x86). I have a 64-bit version of Windows, does that...
  17. Replies
    11
    Views
    1,168

    It' true, it's more complete. Could it be a...

    It' true, it's more complete. Could it be a problem of compatibility or access to the file? Tanks.


    Arduino : 1.8.12 (Windows 10), TD: 1.52-beta1, Carte : "Teensy 4.0, Serial, 600 MHz, Faster, US...
  18. Replies
    11
    Views
    1,168

    Soundfontdecoder compatible with Teensy 4.0?

    Hello, I am using a windows 10 with 64 bits, a Teensy 4.0 card and an Audio board.
    I use the SimpleWave.ino example with one of the files found in the soundfontdecoder bank, Celesta, to start and...
  19. Replies
    15
    Views
    1,234

    Better like this ? void loop() { int piezo...

    Better like this ?


    void loop()
    {
    int piezo = analogRead(A0);
    int velocity = map(peak, thresholdMin, 1023, 1, 127);

    I changed that and I have better sensitivity. The volume changes...
  20. Replies
    15
    Views
    1,234

    Well, I have this result. It is not very...

    Well, I have this result. It is not very beautiful but it works. I have a problem with the velocity which is very bad. If I tap the Piezo with my hand, I don't have a volume variation, but with a...
  21. Replies
    15
    Views
    1,234

    I used the PiezoDrum example in the Teensy...

    I used the PiezoDrum example in the Teensy library. I deleted the MIDI code and adapted it for the audio. I also deleted the HelloDrum library. I manage to play an audio file with the Piezo but I...
  22. Replies
    15
    Views
    1,234

    I did a test with a different version without the...

    I did a test with a different version without the wav of the SD card but with an h file. So I used the SamplePlayer example from the library that I modified to use it with a Piezo. Just to be sure...
  23. Replies
    15
    Views
    1,234

    Thanks for your help. I don't use the same code...

    Thanks for your help. I don't use the same code for buttons and piezos. I use the examples available with the Teensy Audio library. Here is the helloDrum.h file and a link to the entire library for...
  24. Replies
    15
    Views
    1,234

    It works fine, but sometimes it becomes unusable...

    It works fine, but sometimes it becomes unusable because it sometimes becomes unresponsive or crashes with the worst sound. It is easy to crash if you hit repeatedly.
  25. Replies
    15
    Views
    1,234

    Sorry, I hadn't seen for the stars in the code. ...

    Sorry, I hadn't seen for the stars in the code. The person who wrote the code says it also has a problem with wav files. He thought that the Teensy 4.0 version would correct the problem. I don't...
  26. Replies
    15
    Views
    1,234

    I also did the test with buttons and it works...

    I also did the test with buttons and it works perfectly. I think there are a few things that don't work with piezos and wav. This is why I ask if others have the same bug.
  27. Replies
    15
    Views
    1,234

    Hello, I tested with several diagrams and other...

    Hello, I tested with several diagrams and other audio files with lower frequencies. Always the same result. Does anyone have a working example with a wav and a piezo? Is it only me who have this...
  28. Replies
    15
    Views
    1,234

    bug with piezo and wav file

    Hello. I am testing HelloDrum library with Piezos sensors. But it has a bug when using wav files. When you quickly type on a Piezo the wav file freeze a few seconds before working again. It's a...
  29. Replies
    3
    Views
    764

    Well, I just did a test with another sd card....

    Well, I just did a test with another sd card. She's old and not very fast but it works to do a simple test. At least I now know where the problem is coming from.
    Thank you for your reply.
  30. Replies
    3
    Views
    764

    For more details, I use a class 6 SD card with 16...

    For more details, I use a class 6 SD card with 16 GB. Is it fast enought ?
    I don't think the problem is with the SD card. I did a test with this code and the audio file plays without problem....
  31. Replies
    3
    Views
    764

    Simple Piezo, wav and Teensy 4.0

    Hello. I'm starting with Teensy 4.O and Audio Shield, I have some basics with Arduino.
    To start I would like to play a short wav (drum for example) with a Piezo. Do you have an example please ?
    ...
Results 1 to 31 of 31