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

    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) = ?
  2. Replies
    14
    Views
    68

    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 ;-) )
  3. Replies
    14
    Views
    68

    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...
  4. Replies
    44
    Views
    7,615

    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...
  5. 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 :)
  6. 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)
  7. Replies
    5
    Views
    171

    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....
  8. Replies
    44
    Views
    7,615

    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.
  9. Replies
    44
    Views
    7,615

    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...
  10. Replies
    44
    Views
    7,615

    ..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,...
  11. Replies
    44
    Views
    7,615

    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...
  12. 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)
  13. Replies
    36
    Views
    5,255

    No it isn't.

    No it isn't.
  14. Replies
    5
    Views
    171

    -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...
  15. 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"
  16. Replies
    5
    Views
    171

    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...
  17. Replies
    14
    Views
    170

    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...
  18. Replies
    9
    Views
    165

    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...
  19. Replies
    10
    Views
    163

    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.
  20. 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>)...
  21. Ah.. great, thank you. I'll try it next week.

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

    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...
  23. 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,...
  24. Replies
    5
    Views
    109

    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..
  25. Replies
    10
    Views
    163

    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
  26. Replies
    14
    Views
    170

    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...
  27. Replies
    282
    Views
    66,529

    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:...
  28. I meant: use several teensys and use RS422 to...

    I meant: use several teensys and use RS422 to connect them...
    I have no idea if it works to transport "raw" PDM over RS422...
  29. yes, in startup.c

    yes, in startup.c
  30. Well, the queue is much easier to use and you'll...

    Well, the queue is much easier to use and you'll don't experience timing issues. Why not use it?
  31. Replies
    14
    Views
    170

    ...but, writing to SD in a interrupt is a very...

    ...but, writing to SD in a interrupt is a very bad idea.
    use the queues.
  32. Replies
    14
    Views
    170

    How gracious of you to help us in our search for...

    How gracious of you to help us in our search for your bug!
    However, it displays this on a Teensy 4:



    8B 87 70 8A C5 8D 8B 91

    34 76 F4 72 47 6F 2C 6B

    53 8C EC 8F EE 93 5B 98
  33. Replies
    15
    Views
    475

    Hm, I think you're right. Can you do a...

    Hm, I think you're right.
    Can you do a pullrequest?
    Would be great to have in the next Beta (I hope Paul adds it)
  34. Replies
    6
    Views
    83

    No, shiftout just shifts out as fast as it can...

    No, shiftout just shifts out as fast as it can with code.
    On Teensy 4, there is a builtin "brake" to make it not too fast for slower chips.
  35. Replies
    6
    Views
    83

    SO that questions was for SD reading?...

    SO that questions was for SD reading?
    https://forum.pjrc.com/threads/60251-Learning-Materials-for-DMA-SPI-and-General-Hardware-Manipulation-on-Teensy-3-6?p=234350#post234350
  36. You can find all neded information in the...

    You can find all neded information in the reference manuals:

    https://www.pjrc.com/teensy/datasheets.html

    https://github.com/TeensyUser/doc/wiki/Datasheets

    The, you can always look at the...
  37. Some questions: - Where is the sourcecode? -...

    Some questions:

    - Where is the sourcecode?
    - Does the PJRC Bootloader still work?
    - Does the 15-Second restore still work?
    - Does a Teensyduino program need to fit into the RAM now? Or can we...
  38. Replies
    15
    Views
    475

    Great! can you fix the DMAMEM )(+cache handling)...

    Great!
    can you fix the DMAMEM )(+cache handling) issue and do a PR?
    It can replace my version (my PR was almost a year old when it got merged...) , no problem (but it would be good if it used the...
  39. Replies
    14
    Views
    170

    Oh I'm sure it can (sorry, havn't looked at your...

    Oh I'm sure it can (sorry, havn't looked at your sourcecode).
    @Others: Where is the problem?

    Maybe you can upload a working sketch here (as zip) - makes it easier for us!
  40. Replies
    15
    Views
    475

    Additional question: Hopefully, it does not...

    Additional question: Hopefully, it does not change the Audio-PLL frequency? (->Is it compatible with I2s?)

    edit: this


    static int32_t spdif_rx_buffer[SPDIF_RX_BUFFER_LENGTH];

    is not good....
  41. Replies
    15
    Views
    475

    The spdif input is working since early last...

    The spdif input is working since early last year...
    Any filters (biquad?) should be optional and handled by the audio library. The resampling sounds interesting.
    Maybe you can do a pullrequest for...
  42. Replies
    14
    Views
    170

    All Teensy 3.x use 44117Hz as frequency. That's...

    All Teensy 3.x use 44117Hz as frequency. That's perfectly normal.
  43. Replies
    74
    Views
    3,691

    Ok, i'll deactivate simpledrum, too.

    Ok, i'll deactivate simpledrum, too.
  44. Replies
    44
    Views
    7,615

    ..this way you can use any datatype, blocksize...

    ..this way you can use any datatype, blocksize and sample frequency you want - without any fiddling.
    On T4, you can even use different frequencies for in- and output (by using two I2S') - i.e....
  45. Replies
    6
    Views
    83

    On the T4 you could adjust the PLL frequency.

    On the T4 you could adjust the PLL frequency.
  46. Replies
    44
    Views
    7,615

    You can do the same with a Teensy. No, not a...

    You can do the same with a Teensy.


    No, not a integration. A new lib without dependencies on the audio library. But you could just copy the I2S code.
    Or, no lib at all and just use the I2S code...
  47. Replies
    6
    Views
    83

    The divisors for SPI do not allow exact speeds....

    The divisors for SPI do not allow exact speeds.
    Maybe you can try slave mode and use tone() (EDIT: Better use analogWriteFrequency() ) to generate a clk on an other pin and just connect the pins....
  48. Replies
    9
    Views
    165

    Just use "else if". This is efficient enough as...

    Just use "else if".
    This is efficient enough as it is and in no way timecritical.
  49. Replies
    44
    Views
    7,615

    Well, there is a life beyond the Audio lib :) In...

    Well, there is a life beyond the Audio lib :)
    In such projects (SDR) there is not much need for the lib - You just use the in/out parts (->no need for float there) and filters from it - right?
    The...
  50. Replies
    74
    Views
    3,691

    So, any news?

    So, any news?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4