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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Some displays can work in both modes - I2C and...

    Some displays can work in both modes - I2C and SPI.
    This one seems to use the SPI mode. SDA / SCL are just the (confusing) labels on the PCB.

    As long you use a different chipselect - which is the...
  2. So speed is not a criterion. I would suggest...

    So speed is not a criterion. I would suggest getting it working first and optimize later. That's usually the best approach.
  3. Is the issue solved that openening a spiffs file...

    Is the issue solved that openening a spiffs file takes dozens of ms?
  4. As all FFT work with raw data (whatever "raw"...

    As all FFT work with raw data (whatever "raw" exactly means),"i really didn't find any algorithm that allows me to process the FFT from raw data" translates to "i really cant find code that I can...
  5. P.s. use a Teensy 4.1 and the on board SD slot....

    P.s. use a Teensy 4.1 and the on board SD slot. Not the one on the Audio shield.
  6. https://github.com/FrankBoesing/Teensy-WavePlayer...

    https://github.com/FrankBoesing/Teensy-WavePlayer can do it, from SD or wherever you want.
    If SD, you'll need a fast SD card. I recommend a Kingston GO! Plus >= 64GB.
    Sandisk is slower.
  7. Replies
    26
    Views
    1,394

    ...Perhaps check the board visually. Is there a...

    ...Perhaps check the board visually. Is there a missing part, maybe? A missing capacitor could cause this..
  8. Replies
    26
    Views
    1,394

    I guess there is something really wrong... the...

    I guess there is something really wrong... the bootloader update should happen exactly one time. Never, after the first (and only one) successful update.
  9. Replies
    26
    Views
    1,394

    I could imagine a powering problem. Have you...

    I could imagine a powering problem. Have you tried an other usb cable? Do you use a passive (unpowered) hub?
  10. Replies
    224
    Views
    361,854

    One should expect that libs that come with...

    One should expect that libs that come with Teensyduino are always the most recent. At least the ones written by him.
  11. Replies
    26
    Views
    1,394

    We can only speculate here, based on no firm...

    We can only speculate here, based on no firm knowledge. We do not know when which text will appear.
    The only one who can say something about it is himself, as there is no documentation.
    This is...
  12. Replies
    26
    Views
    1,394

    08:03:33.361 (loader): Bootloader upgrade: 1.05...

    08:03:33.361 (loader): Bootloader upgrade: 1.05 -> 1.07

    Do you see this every time?
  13. Replies
    2
    Views
    283

    What I would like is to teach a robot to walk....

    What I would like is to teach a robot to walk.
    But it doesn't increase the confidence in tensorflow when I see how badly the website is translated into German.... (I hope it was not translated by...
  14. Replies
    2
    Views
    283

    Thanks for the link! The board looks very...

    Thanks for the link!

    The board looks very interesting. The CPU seems to be shielded(?!) - a good thing. EDIT: No, not shielded - looked at the wrong picture :) Also that there will apparently be...
  15. Replies
    6
    Views
    174

    Can you explain that in more detail? You can't...

    Can you explain that in more detail?
    You can't use Teensy like a hub, if that's your plan.
    How does the Teensy know that it should connect it's usb host port to the usb device port? You'll need to...
  16. Replies
    21
    Views
    320

    that's pretty OK :)

    that's pretty OK :)
  17. Replies
    21
    Views
    320

    Yes and we confirmed that python is the reason.

    Yes and we confirmed that python is the reason.
  18. Replies
    21
    Views
    320

    Hm. Not that sure anymore. Is it faster by...

    Hm. Not that sure anymore. Is it faster by calculating with float instead double? (again, the /100.0) is superfluent anyway - the PC can do that much better.
  19. Replies
    21
    Views
    320

    Assuming max 500 , it's two bytes unsigned...

    Assuming max 500 , it's two bytes unsigned integer.

    Against "3.13crlf" = 6 bytes.

    So it saves 66%


    Edit: You could save even more by using the upper bits which are always zero

    2 seconds...
  20. Replies
    21
    Views
    320

    If two decimal places are really sufficient, i'd...

    If two decimal places are really sufficient, i'd just multiply the data by 100 and save 30000 bytes this way(no ".") ... also, print uses cr+lf..replacing this by "," saves another 30000 chars :)...
  21. Replies
    21
    Views
    320

    Sorry, that question was to the OP. I'd...

    Sorry, that question was to the OP.

    I'd probably just write a short C program that captures the data to a file.
    That's way faster than python. He could just read the file in python, then.
    Or...
  22. Replies
    21
    Views
    320

    Under windows?

    Under windows?
  23. Replies
    22
    Views
    356

    Yes, often "APE" is used for aac. It stores the...

    Yes, often "APE" is used for aac. It stores the information at the end of the file, like ID3v1. However, when I played with this, many y4ears ago, I had some aac files with ID3 Tags.



    So, it's...
  24. Replies
    22
    Views
    356

    I guess ffmpeg can do this.

    I guess ffmpeg can do this.
  25. Replies
    12
    Views
    213

    Hm. 64 commits behind master, readme says " ...

    Hm. 64 commits behind master, readme says "


    Last commit (2016) mentiones Teensy LC (partial support)



    int WatchdogKinetisKseries::sleep(int maxPeriodMS)

    {
  26. Replies
    12
    Views
    213

    I'd perhaps add a #warning "AVR Watchdog does not...

    I'd perhaps add a #warning "AVR Watchdog does not work"... or better delete that file... as it is, it is a) confusing, b) leads to the wrong assumption "hey,wdt is there and will work", and c) wrong.
  27. Replies
    12
    Views
    213

    ? What are you talking about... Builtin LED...

    ? What are you talking about...

    Builtin LED is on pin 13.
  28. Replies
    12
    Views
    213

    Note, better would be #define...

    Note, better would be


    #define wdt_enable(timeout) do{}while(0)
    etc... which at least does not lead to syntax errors (but still does nothing)
  29. Replies
    6
    Views
    138

    No need to get frustrated... how about just...

    No need to get frustrated... how about just trying the example from the audio lib?
    Maybe it's a missing "sgtl5000_1.inputSelect()" line?
    Just to rule issues like this out, you should use known to...
  30. Replies
    12
    Views
    213

    Looks like the WDT "lib" is a fake: ...

    Looks like the WDT "lib" is a fake:



    #define wdt_reset()
    #define wdt_enable(timeout)
    #define wdt_disable()


    No Idea why... an errormessage would be better instead of saying "yes, it...
  31. Replies
    6
    Views
    174

    The Teensy has several real serial ports...

    The Teensy has several real serial ports (hardware), in addition the virtual one which is for USB.
    What kind of codec do you mean? For Audio?
  32. Replies
    22
    Views
    356

    I also don't see any real advantage of ID3V2.4...

    I also don't see any real advantage of ID3V2.4
    It adds another encoding (who needs that? UTF16 can handle everything), and unneeded stuff (unsync).


    ID3 is also used for *.aac.
    M4A is...
  33. Replies
    22
    Views
    356

    #include #define SDCARD_CS_PIN ...

    #include <SD.h>
    #define SDCARD_CS_PIN BUILTIN_SDCARD




    SdFat sd;
    SdFile dir;
    File file;
  34. Replies
    22
    Views
    356

    Looks like "syncsafe integers" are used in...

    Looks like "syncsafe integers" are used in ID3V2.4 only - not in ID3V2.3

    https://id3.org/id3v2.3.0

    Hm.

    Easy fix:
    replace the calls to id3_unsyncsafe() by __builtin_bswap32()
  35. Replies
    22
    Views
    356

    Looks like it's something with embedded pictures...

    Looks like it's something with embedded pictures - or more exact, with "unsync".
    Have to look closer....
  36. Replies
    18
    Views
    202

    How many pins?

    How many pins?
  37. Replies
    18
    Views
    202

    What is this "dial switch" ? How is it...

    What is this "dial switch" ?
    How is it connected?
    Please post photos.
    Or better something like a datasheet.

    You just can't read three different digital states with one digital pin.

    Also, it...
  38. Replies
    22
    Views
    356

    #include #define SDCARD_CS_PIN ...

    #include <SD.h>
    #define SDCARD_CS_PIN BUILTIN_SDCARD


    SdFat sd;
    SdFile dir;
    File file;


    #include "SPI.h"
  39. You can also take a look here:...

    You can also take a look here: https://github.com/FrankBoesing/Teensy-WavePlayer
    It can play many files at the same time (tested with 14 with a very fast card), and has basic looping.
    Recording is...
  40. To be sure i'd make a more "real world" test, and...

    To be sure i'd make a more "real world" test, and test exactly your usage-szenario.

    read 8 files + write one.
  41. Replies
    22
    Views
    356

    Maybe the encoding is UTF16.. I'll take a look...

    Maybe the encoding is UTF16..
    I'll take a look tonight, or tomorrow.
  42. Maybe @KurtE, @MJS513 or @Defragster can answer...

    Maybe @KurtE, @MJS513 or @Defragster can answer that.
  43. Replies
    22
    Views
    356

    Btw, the Arduino-IDE uses UTF-8 as far i know. ...

    Btw, the Arduino-IDE uses UTF-8 as far i know.

    https://stackoverflow.com/questions/4059775/convert-iso-8859-1-strings-to-utf-8-in-c-c
  44. Replies
    1
    Views
    133

    "Teensy 4.1 USB Host as MIDI device?...

    "Teensy 4.1 USB Host as MIDI device?"

    No. A host can't be a device.



    You can connect x devices to one host (by using a hub)
    You can't connect two hosts.
    You can't connect two devices.
  45. @wwatson, oh my... I can feel with you.

    @wwatson, oh my... I can feel with you.
  46. Replies
    22
    Views
    356

    You can replace the log* functions with a...

    You can replace the log* functions with a Serial.printf() or Serial.println...
    And for the first steps, to get it running, you can comment-out the switch.
    ID3 supports different string encodings....
  47. Replies
    22
    Views
    356

    yup, looks like I wrote that for ID3v3 :)...

    yup, looks like I wrote that for ID3v3 :)
    However, it's still simple.
  48. There is also an example "SdCardTest" which might...

    There is also an example "SdCardTest" which might be useful. You can extend it to 8 files + record.

    27276
  49. Bottlenecks are: - random access (happens...

    Bottlenecks are:
    - random access (happens whenever you read data from an other file) re-adressing is slow.
    - writing
    If you write a specialized program that does only this, perhaps without the...
  50. eh, no. Not even in a ideal world :) You have to...

    eh, no. Not even in a ideal world :)
    You have to add the time to switch between the files (re-adressing - that's SLOW!), the time the card needs to do it's internal wear-magic, the time to handle...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4