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

Search:

Type: Posts; User: SPIRIT

Search: Search took 0.00 seconds.

  1. 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.
  2. 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] = {
  3. 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....
  4. 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...
  5. 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...
  6. 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...
  7. Replies
    15
    Views
    444

    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...
  8. Replies
    15
    Views
    444

    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...
  9. Replies
    15
    Views
    444

    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...
  10. Replies
    15
    Views
    444

    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...
  11. Replies
    15
    Views
    444

    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...
  12. Replies
    15
    Views
    444

    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.
  13. Replies
    15
    Views
    444

    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...
  14. Replies
    15
    Views
    444

    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.
  15. Replies
    15
    Views
    444

    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...
  16. Replies
    15
    Views
    444

    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...
  17. Replies
    3
    Views
    301

    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.
  18. Replies
    3
    Views
    301

    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....
  19. Replies
    3
    Views
    301

    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 19 of 19