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

Search:

Type: Posts; User: Sandro

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    256

    The function examinated parses a bidimensional...

    The function examinated parses a bidimensional array:
    const char name[256][3]

    looking for one element (the last one).

    Using T4.1@600MHz and different combinations (as follows) the execution...
  2. Replies
    3
    Views
    256

    Thank you Kurt, now it's very clear. Also thank...

    Thank you Kurt, now it's very clear. Also thank you for all these suggestions; I have some large const arrays, now all in PROGMEM, and a lot of not critical functions, that I've moved to FLASHMEM....
  3. Replies
    3
    Views
    256

    Code compilation: what is "padding"?

    Hi all,
    my application's code is growing and I'm very close to run out the RAM1 memory; this is the last report:

    Memory Usage on Teensy 4.1:
    FLASH: code:295492, data:28076, headers:8204 free...
  4. Replies
    940
    Views
    74,358

    Sorry... I got confused... The issue is that a...

    Sorry... I got confused... The issue is that a single SerialFlash-file can be deleted only by deleting all the flash chip.
  5. Replies
    940
    Views
    74,358

    @Paul, @defragster: going back to the origin of...

    @Paul, @defragster: going back to the origin of my tests around LittleFS is the fact that a SerialFlash-file can be written only once, as @Paul wrote on Github:

    Several limitations apply to...
  6. Replies
    8
    Views
    835

    @defragster: sorry for this late reply: if your...

    @defragster: sorry for this late reply: if your question is (but I dubt I got the point) about the correct working in case of audio-reading applications, all the followings work fine: reading a file...
  7. Replies
    940
    Views
    74,358

    In my test, I prepared the flash chip with a deep...

    In my test, I prepared the flash chip with a deep format, than I copied from SD card just one file (41.raw, 1.18MB) ; maybe this file, even if alone, has been stored in not-adjacent blocks/sectors of...
  8. Replies
    940
    Views
    74,358

    Hi defragster, I'm using the Winbond 25Q128FVSG...

    Hi defragster, I'm using the Winbond 25Q128FVSG mounted on the Audio board.
  9. Replies
    940
    Views
    74,358

    A practical example of LitteFS on Flash chip, with performance comparision.

    Hi all,
    please let me know if I'd better start a new post instead of writing here...

    I went on with my tests, and wish to share the (even partial) result:
    - copying .raw audio files from SD to...
  10. Replies
    4
    Views
    397

    **problem solved** After an attempt (not...

    **problem solved**
    After an attempt (not resolutive) of deleting all files and registry records ("Arduino" and "Teensy" keywords), I solved the problem with a Windows 10 re-installation. Thank you...
  11. Replies
    4
    Views
    397

    Hi Paul, I tried many times installing and...

    Hi Paul, I tried many times installing and testing, always disabling Windows Defender's features; I also uninstalled my G-Data firewall-antivirus, updated Windows.. Unfortunately I didn't get any...
  12. Replies
    4
    Views
    397

    Audio applications error

    Hi all,
    I've recently installed Arduino 1.8.15 with Teensyduino 1.54; using T4.1@600MHz, when I try to compile an audio application (I also checked standard examples like WavFilePlayer,...
  13. Replies
    8
    Views
    835

    Hi defragster, thank you for this infos: I...

    Hi defragster, thank you for this infos: I haven't noticed the new examples for LittleFS, also in my application it will be usefull to use SD to save/retreive files from/to Flash memory as you...
  14. Replies
    8
    Views
    835

    Thank you mjs513, thank you defragster!; Sorry...

    Thank you mjs513, thank you defragster!; Sorry for this late feedback, I've just come back to work on my project; in the meanwhile new TD 1.55 has been published; all necessary features required by...
  15. Replies
    8
    Views
    835

    LittleFS for Winbond W25Q128 flash memory

    Hi all, I'm trying to experiment the LitteFS library's functionalities using this version:
    https://github.com/PaulStoffregen/LittleFS

    starting from the included example ListFiles. I'm using a...
  16. I would queue to this post because I would try...

    I would queue to this post because I would try audio recording into external flash memory, avoiding the flash memory complete erase for every single-file write/rewrite operation. Belive that there is...
  17. Replies
    2
    Views
    273

    Hi beermat, the problem you describe looks quite...

    Hi beermat, the problem you describe looks quite the same problem I'm facing... At runtime there are many malfunctions, but my device doesn't block: display fade-in/fade-out effect becomes...
  18. Replies
    2
    Views
    273

    Debugging problem

    Hi all,
    I recently added to my code a new simple function, apparently harmless; the code is correctly compiled with Arduino IDE using all compiler options. But, if I use "Fastest" option (and I need...
  19. Thread: [queued] Lilla

    by Sandro
    Replies
    7
    Views
    4,241

    New look, new functions

    Actually Lilla includes some synth objects (delays, VCFs, LFOs); this is how looks like:
    24752
    24753

    These synoptics show how delays, VCFs and LFOs are placed along the sound chain:
    24754...
  20. Replies
    16
    Views
    1,899

    Great! It works perfectly! Thank you vjmuzik,...

    Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
    Sandro
  21. Replies
    16
    Views
    1,899

    Hi vjmuzik, thank you so much for your code! I...

    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...
  22. Replies
    16
    Views
    1,899

    Hi vjmuzik, by the way do you know if there is...

    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...
  23. Replies
    16
    Views
    1,899

    Hi wrightflyer, in my project 33 user interfaces...

    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,...
  24. Replies
    16
    Views
    1,899

    Thank you Mark, I completely agree; maybe...

    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.
  25. Replies
    16
    Views
    1,899

    Thank you Mark, I completely agree; maybe...

    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.
  26. Replies
    16
    Views
    1,899

    Hi vjmuzik, great info, I didn't know about this...

    Hi vjmuzik, great info, I didn't know about this canvass... I'll try soon, thank you!!!
  27. Replies
    16
    Views
    1,899

    Hi boxxofrobots, thank you for your answer; I had...

    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...
  28. Replies
    16
    Views
    1,899

    Hi Paul, thank you for your answer! I know that...

    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...
  29. Replies
    16
    Views
    1,899

    Closer consecutive Midi in readings

    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,...
  30. Replies
    1
    Views
    516

    Ok, I got it.. I did more accurate tests.. Very...

    Ok, I got it.. I did more accurate tests.. Very simple: update() calls are very close because objects have nothing to do.
  31. Replies
    1
    Views
    516

    Audio library, update() function

    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...
  32. Replies
    0
    Views
    272

    Using MIDI.h in a class

    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()
  33. Thread: [queued] Lilla

    by Sandro
    Replies
    7
    Views
    4,241

    Hi all, since my last post Lilla expander has...

    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...
  34. Replies
    23
    Views
    3,685

    A bad mistake I did here... i had connected the...

    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
  35. Replies
    23
    Views
    3,685

    Good, thank you Neurofun. I'm designing a small...

    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.
  36. Replies
    23
    Views
    3,685

    Going back to W25Q256.. I read on Audio shield...

    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...
  37. Replies
    23
    Views
    3,685

    I got it...Ok, thank you Frank for the explantion!

    I got it...Ok, thank you Frank for the explantion!
  38. Replies
    23
    Views
    3,685

    For completeness: after formatting, using normal...

    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
  39. Replies
    23
    Views
    3,685

    Hi Paul, thank you for your answer; I started...

    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,...
  40. Replies
    1
    Views
    846

    SD card read time

    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...
  41. Replies
    23
    Views
    3,685

    Hi Michael, I made some tests with micro SD...

    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...
  42. Replies
    5
    Views
    1,425

    Very basic doubt...

    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...
  43. Replies
    23
    Views
    3,685

    The attached pic was this: 18396 In these day...

    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...
  44. Replies
    23
    Views
    3,685

    Sorry, here: #else ...

    Sorry, here:


    #else
    Serial.println("failed!");
    AudioStartUsingSPI();
    #endif


    Serial.println("failed!") is a refuse.
  45. Replies
    23
    Views
    3,685

    Hi Michael, I had not notice that! So.. thank...

    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...
  46. Replies
    23
    Views
    3,685

    But... I found this post: ...

    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...
  47. Thread: [queued] Lilla

    by Sandro
    Replies
    7
    Views
    4,241

    New feature introduced: anticlick for loop...

    New feature introduced: anticlick for loop operations
  48. Replies
    23
    Views
    3,685

    Good suggestion! I had not considered this! ...

    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
  49. Replies
    23
    Views
    3,685

    This is so important to me! I didn't know this...

    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...
  50. Replies
    23
    Views
    3,685

    Hi Michael, thank you for your answer; I didn't...

    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....
Results 1 to 50 of 135
Page 1 of 3 1 2 3