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.05 seconds.

  1. Yes, it will not work to just play the audio...

    Yes, it will not work to just play the audio slower.
    If you listen to a motor, it will not change pitch. The time between ignitions changes.
    I could imagine to cut the audio in short pieces (with...
  2. Replies
    5
    Views
    236

    It can play from SD, from serial flash (uses the...

    It can play from SD, from serial flash (uses the serial flash library) and from Teensy-Memory (give it a pointer).
    No work has been done to add LittlFS so far.

    I currently only use the ESP32....
  3. Replies
    74
    Views
    6,621

    Yes, there is a capacitor on pin 15 on the...

    Yes, there is a capacitor on pin 15 on the shield.
    You can remove it, it's for the optional potentiometer only.

    See here:
    https://github.com/TeensyUser/doc/wiki/Teensy-40-SPDIF-in-and-Audioshield
  4. The hardware switch can also be a simple...

    The hardware switch can also be a simple transistor for the clock line, which enables/disables the clock for each sensor... but for two sensors onyl, it makes mores ense to just use the Teensys both...
  5. https://forum.pjrc.com/threads/59673-Teensy-3-5-Ro...

    https://forum.pjrc.com/threads/59673-Teensy-3-5-RoHS-compliance
  6. Replies
    74
    Views
    6,621

    The problem is, sometimes the latency is *much*...

    The problem is, sometimes the latency is *much* higher, when the card decides to do some internal operations.

    Some hints:

    - use a large buffer
    - write in Blocks of 4096 Bytes
    - use a fast...
  7. Replies
    6
    Views
    231

    The cpu internally works with a even less voltage...

    The cpu internally works with a even less voltage - it's adjustable, and the teesy core automatically adjusts it with the CPU speed.
  8. You can't.

    You can't.
  9. Replies
    4
    Views
    404

    It does not have the bootloader, so it's not...

    It does not have the bootloader, so it's not compatible. And it will not work to use "The arduino framework" and Teensyduino "without modifications" because it does not work with the Teensy loader....
  10. Replies
    4
    Views
    187

    Note, you can get much better output with these...

    Note, you can get much better output with these tricks:
    https://github.com/TeensyUser/doc/wiki/GCC#list-and-symbol-files
  11. Yes, add a battery.

    Yes, add a battery.
  12. Try...

    Try this:*https://github.com/FrankBoesing/Teensy-WavePlayer
    (Can record to wav, despite of the name, and can play +record)
  13. Thread: WaveplayerEx

    by Frank B
    Replies
    115
    Views
    7,639

    Ok, that was last month, and the new month is ...

    Ok, that was last month, and the new month is again 3 weeks old.
    Any news?
    If not, (or again no answer - a simple "yes" or "no I will no use it " would have been enough...) I'd prefer to change...
  14. Replies
    20
    Views
    9,414

    Try this:...

    Try this: https://github.com/FrankBoesing/Teensy-WavePlayer
    (Can record to wav, despite of the name)
  15. Replies
    15
    Views
    881

    My ma might be more interested, but I thought,...

    My ma might be more interested, but I thought, ok, never give up, and test if that gets fixed before I put work into and do a fix for (many) other things that not get merged ;)

    ... TD misses...
  16. Why don't you just disable interrupts during the...

    Why don't you just disable interrupts during the memcpy to see if a ISR is the reason? (for this test only)
    If it still crashes it can't be a ISR..
  17. The memcpy is used in a million sketches and...

    The memcpy is used in a million sketches and "thousand" of times in the core - both T3 and T4. I can't imagine any reason why memcpy should be the problem. It just shows the problem.

    Don't work...
  18. It could be possible that memcpy crashes if it...

    It could be possible that memcpy crashes if it accesses a a) unaligned address where it is not allowed (0x20005300 IS allowed and aligned) - or b) if the MPU is confused. - or c) - well ... have no...
  19. Normally, nothing is wrong with LTO. It works...

    Normally, nothing is wrong with LTO. It works good.
    But LTO will produces crashes earlier if there are existing issues or bugs in the software - it just makes makes them more visible. Its not a...
  20. You need to add something that is responsible for...

    You need to add something that is responsible for the timing.
    Add an i2s output for example.
    It's ok if it just exists - does not need any patchcords.
  21. Replies
    2
    Views
    230

    Oh, you can set the sample rate. Pretty easy....

    Oh, you can set the sample rate. Pretty easy. Wonder why Kurt did not mention it..
  22. That means some Sketches will not work anymore,...

    That means some Sketches will not work anymore, as they do now? (re: timing) That's incompatible.
    And will that still work with Teensy LC without using more Flash and RAM? The LC is very limited..
  23. A thing like the WT32-SC01 but with Teensy...

    A thing like the WT32-SC01 but with Teensy instead ESP would be great, if it had a comparable price (and wlan).
  24. Replies
    16
    Views
    10,801

    For more detailed info, look here:...

    For more detailed info, look here: https://github.com/TeensyUser/doc/wiki/Memory-Mapping
  25. We had this in several other threads - the reason...

    We had this in several other threads - the reason are missing memory barriers (wrong use of "volatile") which produce race conditions, missed interrupts (you miss some if there are more than one when...
  26. Replies
    2
    Views
    294

    Hi, it's installed by default. Just #include...

    Hi, it's installed by default.
    Just
    #include <Audio.h>
  27. Replies
    10
    Views
    484

    If you place the Teensy on a border of your...

    If you place the Teensy on a border of your board, you can still use USB.
    However, to use both, SD and USB, you have to flip it, I think.
  28. Depending on what you output is, I'd think of...

    Depending on what you output is, I'd think of DMA, perhaps... but to get the timing reliable is not that easy.
  29. Replies
    10
    Views
    484

    Don't use a connector. Use wires. I've done that...

    Don't use a connector. Use wires. I've done that and used the pins from a pack of old though-hole resistors I had no other use for..
  30. No, that's definitely a Windows bug. It occurs...

    No, that's definitely a Windows bug. It occurs with completely different MCUs, too.
    I wait for the comming ESP with inbuilt USB... (hey, the inbuilt DSP functions are already pretty good with the...
  31. Replies
    4
    Views
    242

    Can confirm that. Less than 40kB per second (with...

    Can confirm that. Less than 40kB per second (with a 100MBit connection). What happened?
  32. You're writing 0xff to the adress where Bool_var...

    You're writing 0xff to the adress where Bool_var resides. That seems to be allowed.

    Hm, I only see the invert of the last bit (LSB). Can you post the code with 127? (But it's too late now, here. I...
  33. ...but I wouldn't say it's a bug. You're lying...

    ...but I wouldn't say it's a bug.
    You're lying to the compiler.
    You do a strange pointer operation.

    a) that value is not bool and b) the compiler perhaps could know about that, but does not use...
  34. Wow that's interesting. Look here:...

    Wow that's interesting.
    Look here: https://godbolt.org/z/fPbavG8W7

    It does invert the last bit and returns the value.. but it does it
    - with the latest version of GCC, too
    - with other...
  35. Been there.. :)

    Been there.. :)
  36. Thread: WaveplayerEx

    by Frank B
    Replies
    115
    Views
    7,639

    I guess, in this case the roadmap has a problem....

    I guess, in this case the roadmap has a problem. Pauls wanted interleaved reads are not compatible to that.
    Think twice:

    Worst case you have to restart (->read vom SD) *all* players if you add...
  37. Replies
    10
    Views
    965

    Trip, that looks really good (and I love how you...

    Trip, that looks really good (and I love how you did it).
    BUT:

    PLEASE start this short code.
    Tell me that you see the different speeds of the LED. And hey, it starts with 125 Hz - that should be...
  38. Replies
    10
    Views
    965

    For sure! And when they are in the cinema they...

    For sure!
    And when they are in the cinema they will be so bored by the 24Hz freeze frames that somewhere in the middle of the movie between frames they will play 3 games of chess or kill 35 enemies...
  39. That code does not compile. Good night :-)

    That code does not compile. Good night :-)
  40. Replies
    10
    Views
    965

    Sure, your eyes will see it and your brain cells...

    Sure, your eyes will see it and your brain cells recognize it..

    Yes, there are some who believe in ghosts, gods, anti-aging pills, wonders, the need of special audio cables for 100$. And some...
  41. Your saying flash but your code uses ram? We'll...

    Your saying flash but your code uses ram? We'll never know with that short extract if code which does not run when we try to confirm that..
  42. There are cheap mp3 modules with sd slot around...

    There are cheap mp3 modules with sd slot around 5 - i think you don't even need an Arduino. Might be the better solution (because much simpler) in this case.
  43. A board with CS42448 can output 8 Channels....

    A board with CS42448 can output 8 Channels.
    https://hackaday.io/project/2984-teensy-audio-library/log/187557-updated-cs42448-pcb-for-teensy-4x

    However a SD Card is not fast enough to play 16...
  44. No need to solder it. Too late here. Good night...

    No need to solder it.
    Too late here. Good night :)
  45. Ok, forget my post. I wrote at the same time as...

    Ok, forget my post. I wrote at the same time as you


    Just use the bounce library and everything is fine.
    Not because its bouncing - it makes the handling easier for you.
    But i do not understand...
  46. add this to setup: pinMode(13, OUTPUT); and...

    add this to setup:
    pinMode(13, OUTPUT);

    and this to loop:


    void loop() {
    digitalWrite(13, digitalRead(INT_PIN));
    if(!digitalRead(INT_PIN)){
    trellis.read(false);
  47. Maybe it pulls down the INT pin for a short time...

    Maybe it pulls down the INT pin for a short time only?
  48. Replies
    168
    Views
    27,298

    Was reported several times. The whole "Tutorial"...

    Was reported several times. The whole "Tutorial" and "How to" is for AVR. It even uses Pin 11 for "Blink"...
  49. Maybe an XOR gate is good enough? 26285 ...

    Maybe an XOR gate is good enough?
    26285

    Sorry, no article in English. With tuning RC you can adjust the width of the impulses.

    https://de.wikipedia.org/wiki/Frequenzverdopplung_(Elektronik)
    ...
  50. Best is to buy a meter. You spent some hundret $$...

    Best is to buy a meter. You spent some hundret $$ for the Neotrellis... :)
    You will need it again, anyway..

    I doubt that removing connections will help much. As you say the Matrix works. And the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4