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

  1. Not out of the box. You would have to write code...

    Not out of the box. You would have to write code to do that. The playFlashRaw object does not support it.
  2. May? Never ever... It will calm down a little...

    May? Never ever...
    It will calm down a little bit, but we will have fun til next year.
    I really hope, some things will be different then (->in 2 years), and money$$ will rule less.
  3. Thread: I2C woes -

    by Frank B
    Replies
    14
    Views
    199

    Can you show a photo?

    Can you show a photo?
  4. Replies
    1
    Views
    214

    Please remove the output_pwm for T4 - this needs...

    Please remove the output_pwm for T4 - this needs some work and leads to a compilation error.
  5. Stay cool, no need to hurry. Not related:...

    Stay cool, no need to hurry.

    Not related: Maybe, in a beta for 1.5x (and only in the beta), you can add -Wdouble-promotion ?

    Thanks, Frank.


    @Others: If you _really_ need it, there is a...
  6. That looks much better :) Thank you very much. ...

    That looks much better :) Thank you very much.

    Unfortunately, it does not help me much. I'm debugging a really very very large program, which uses a large amount of all kinds of trigonometry...
  7. He's one of thousands. I can't see any reason to...

    He's one of thousands. I can't see any reason to mention politicians or prominent people.
  8. Is there a way to fix this without installing a...

    Is there a way to fix this without installing a new compiler?
  9. Replies
    82
    Views
    4,553

    @Paul:...

    @Paul: https://forum.pjrc.com/threads/60344-sin-sinf-cos-cosf-strange-timing-results-on-teensy-4
    @NuWaveIT: Oh, forgot ... I'll do that in the next days.
  10. ...to answer my question... it's the ancient...

    ...to answer my question... it's the ancient compiler (or libc)
    With GCC 9, all is correct.
  11. sin, sinf, cos, cosf - strange timing results on teensy 4

    extern "C"
    {
    void sincosf(float err, float *s, float *c);
    }

    void setup() {
    long m;
    float res;

    res = 0;
  12. Replies
    17
    Views
    168

    Good idea :) You could do it like in #2, with...

    Good idea :)

    You could do it like in #2, with a unused GPIO :)
  13. Replies
    17
    Views
    168

    So you may need to use GPT or RTC to keep...

    So you may need to use GPT or RTC to keep millis() running.
    But I wonder for what that would be needed... :)
  14. Replies
    17
    Views
    168

    Doesn't it wake with the GPIO Interrupt? (#P2)...

    Doesn't it wake with the GPIO Interrupt? (#P2)
    What is "Other wake-up Source" ?
  15. Replies
    17
    Views
    168

    USB activity can wake him up, so there's probably...

    USB activity can wake him up, so there's probably a way to do this with every interrupt... you could use a timer interrupt.
    I had this on my todo list, but I didn't feel like looking for it yet.
  16. Replies
    17
    Views
    168

    This doc does not mention how to configure...

    This doc does not mention how to configure interrupts to wakeup the teensy.
  17. Replies
    17
    Views
    168

    Yes, the SYSTICK does not wake the CPU, on IMXRT....

    Yes, the SYSTICK does not wake the CPU, on IMXRT. NXP designed it this way.
    Other interrupts can do that, and thats seems to be configurable(?) - It must be somewhere in the Bible (NXP RefManual) or...
  18. Replies
    28
    Views
    237

    Your might want to look at the queues...

    Your might want to look at the queues (Record+play queue) - With the help of these you can add your own code easily. If you want higher SampleFrequency than 44.100Hz (but really - you don't need...
  19. Replies
    28
    Views
    237

    YOu dont need that samplerate - and even if you...

    YOu dont need that samplerate - and even if you needed it, there's the PCM1808(ADC) / PCM5102 (DAC) for example - I'm using them for 256kHz samplerate. Great Audio quality.
    There are no limits. You...
  20. Replies
    28
    Views
    237

    Don't know - maybe the others can answer this....

    Don't know - maybe the others can answer this.
    This board has no ADC- Don't you need a ADC, too?

    Why not use the PJRC Audio shield? it has ADC, DAC, Mic input (mono), line-in (stereo) , Headphone...
  21. Replies
    28
    Views
    237

    With the audio sibrary, 44.1kHz 16Bit stereo is...

    With the audio sibrary, 44.1kHz 16Bit stereo is standard/default. Every codec can do that, the T3.2 can do that. It can do 96kHz stereo if you want. May be a little much for hearing aid...

    I'm...
  22. Replies
    28
    Views
    237

    I still don't get why you don't use I2S ...

    I still don't get why you don't use I2S ...
  23. Replies
    3
    Views
    73

    In your 1st post is a warning: warning:...

    In your 1st post is a warning:


    warning: cannot find entry symbol ImageVectorTable; not setting start address

    ..I think it's important to fix that. It will crash immedately without...
  24. Replies
    28
    Views
    237

    Hm, I need to look at the datasheet - maybe it...

    Hm, I need to look at the datasheet - maybe it takes so long to reach the new dac value? I2C DACs are not made for audio frequencies.
    Even the BUS is too slow. 44 (khz) * (16 Bit) = ?
  25. Replies
    28
    Views
    237

    For pure speech, 8 Bit and (even less! try 5...)...

    For pure speech, 8 Bit and (even less! try 5...) are enough.
    (Yes, all "audiophiles" and "experts" will hit me now.. they never tried that ;-) )
  26. Replies
    28
    Views
    237

    I've never heard of anyone who used a I2C DAC for...

    I've never heard of anyone who used a I2C DAC for audio...
    Do yourself a favor and use a well known shield which is built for audio. It has a microphone- and headphone-connector, too (and it's very...
  27. Replies
    45
    Views
    7,746

    Yes, when I wrote "Teensy 4" I really meant...

    Yes, when I wrote "Teensy 4" I really meant "Teensy 4.x" :)
    I'd use a FIFO for the data - something like the Audio Libs "Audioblocks", with inbuilt queue. And larger blocks.
    DD4WH if I read your...
  28. Kurt, as I am currently have a ILI941 set up,...

    Kurt, as I am currently have a ILI941 set up, i'll test it. Don't know if I have time tomorrow :-( Now is too late.
    It would be great if it works :)
  29. From here (German text)...

    From here (German text) https://www.n-tv.de/panorama/Frankreichs-Behoerden-warnen-vor-Chloroquin-article21681668.html:


    Translated with www.DeepL.com/Translator (free version)
  30. Replies
    5
    Views
    200

    I wouldn't say samplerate conversion is...

    I wouldn't say samplerate conversion is desirable. It may can be used for some special cases, ok.
    However, with a general switch to 48kHz it would'nt be needed. Its easy to convert files on the PC....
  31. Replies
    45
    Views
    7,746

    No, double is slower than float! I don't know...

    No, double is slower than float!
    I don't know the CMSIS very good - if you say it does not support doubles, it may be easier not to use them.
    Edit: You have mail.
  32. Replies
    45
    Views
    7,746

    I'd say we can concentrate on the Teensy 4 only -...

    I'd say we can concentrate on the Teensy 4 only - There is a Teensy 4.1 with more pins & features in the pipeline. If I understand Paul correctly it's a matter of weeks/months.
    This way would'nt...
  33. Replies
    45
    Views
    7,746

    ..as i dont see much chance for this proposal...

    ..as i dont see much chance for this proposal here, i need something to play with :)
    I can do a "SDR specialized audio-lib" - or better "SDR lib" with in-and outputs only as a first step.
    Then,...
  34. Replies
    45
    Views
    7,746

    Yes, on different I2S interfaces (or mqs as...

    Yes, on different I2S interfaces (or mqs as output, maybe )
    If you say that this would be useful, I could take a closer look and see what exactly is possible.
    If it makes any sense, I can tune an...
  35. c will never be 11 in this loop... :) But the...

    c will never be 11 in this loop... :)
    But the compiler is smart and does know this. Internally, it will ignore the
    if (c != 11)
  36. Replies
    36
    Views
    5,301

    No it isn't.

    No it isn't.
  37. Replies
    5
    Views
    200

    -Because it would be a clean cut. -It does not...

    -Because it would be a clean cut.
    -It does not have to be backwards compatible. The old version will still be there, old programs will still compile without any change.
    Edit: - we can drop support...
  38. There is a #define TEENSYDUINO=1xx Or take a...

    There is a #define TEENSYDUINO=1xx

    Or take a look at boards.txt there are entries like "teensy40.build.flags.def=.... -DTEENSYDUINO=1xx"

    Or start Arduino and click "Help"
  39. Replies
    5
    Views
    200

    Time for a new Audiolibrary

    I'd like to propose a new Audiolibrary.
    In a way that the old still exists, but marked as "deprecated".

    The new name could be <Audio48> or similar, and more or less a copy of the old, with some...
  40. Replies
    14
    Views
    208

    Yes, I'm sure about this. 1. there is no queue,...

    Yes, I'm sure about this. 1. there is no queue, only a flag. 2. where should the new data be stored? magical memory/ram from deep space? :-)
    You're delaying the interrupt. If it misses one call...
  41. Replies
    9
    Views
    200

    Please keep in mind that such "optimizations" are...

    Please keep in mind that such "optimizations" are not always useful, especially for beginners.
    It can save a few bytes, that's all (if the compiler does not decide to unroll the loop). You have...
  42. Replies
    10
    Views
    190

    Wow that was fast! Thank you! I wonder what...

    Wow that was fast! Thank you!

    I wonder what this bit is for. It exists, so it must have some effect somewhere.
  43. Yes, they are cheap, easy to use ("1 wire") and...

    Yes, they are cheap, easy to use ("1 wire") and you can buy them "ready to use" ("Stainless steel" - not only for oral measurements <gggg>)...
  44. Ah.. great, thank you. I'll try it next week.

    Ah.. great, thank you.
    I'll try it next week.
  45. Replies
    14
    Views
    208

    If it takes longer you'll just loose Audio data...

    If it takes longer you'll just loose Audio data and this makes your recording worthless.
    I don't mind if you don't believe me that it can take a long time. It's your program, not mine, just do what...
  46. I guess Paul has some T4.1. Can you answer the...

    I guess Paul has some T4.1.
    Can you answer the remaining questions? Esp, the linkerfile, and possible interference with RAM partitions and usage of data in flash.

    And a link to the sourcecode,...
  47. Replies
    5
    Views
    131

    haha.. I knew the problem between the ears, but...

    haha.. I knew the problem between the ears, but not the error 40 :)
    I hope I remember this when I need it next time..
  48. Replies
    10
    Views
    190

    Bob, does this change anything? ...

    Bob, does this change anything?

    https://forum.pjrc.com/threads/40590-Teensy-Convolution-SDR-(Software-Defined-Radio)?p=234416#post234416
  49. Replies
    14
    Views
    208

    No reader. My own dev-board - it's just a socket...

    No reader. My own dev-board - it's just a socket on the board.
    You're writing in the update() method. That means you have only 2.8ms to write. If the SD Card decides to stall (due to internal...
  50. Replies
    282
    Views
    66,924

    SGTL5000 config

    I found a bug in the configuration

    we use 44100*64 as clock, but the SGTL is configured for *32.

    A patch is here:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4