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
    4
    Views
    98

    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....
  2. Replies
    41
    Views
    7,524

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

    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...
  4. Replies
    41
    Views
    7,524

    ..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,...
  5. Replies
    41
    Views
    7,524

    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...
  6. 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)
  7. Replies
    36
    Views
    5,235

    No it isn't.

    No it isn't.
  8. Replies
    4
    Views
    98

    -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...
  9. 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"
  10. Replies
    4
    Views
    98

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

    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...
  12. Replies
    7
    Views
    136

    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...
  13. Replies
    10
    Views
    157

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

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

    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...
  17. 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,...
  18. Replies
    5
    Views
    104

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

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

    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...
  21. Replies
    278
    Views
    66,385

    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:...
  22. 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...
  23. yes, in startup.c

    yes, in startup.c
  24. 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?
  25. Replies
    14
    Views
    160

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

    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
  27. Replies
    15
    Views
    460

    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)
  28. Replies
    6
    Views
    77

    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.
  29. Replies
    6
    Views
    77

    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
  30. 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...
  31. 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...
  32. Replies
    15
    Views
    460

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

    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!
  34. Replies
    15
    Views
    460

    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....
  35. Replies
    15
    Views
    460

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

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

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

    Ok, i'll deactivate simpledrum, too.

    Ok, i'll deactivate simpledrum, too.
  38. Replies
    41
    Views
    7,524

    ..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....
  39. Replies
    6
    Views
    77

    On the T4 you could adjust the PLL frequency.

    On the T4 you could adjust the PLL frequency.
  40. Replies
    41
    Views
    7,524

    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...
  41. Replies
    6
    Views
    77

    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....
  42. Replies
    7
    Views
    136

    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.
  43. Replies
    41
    Views
    7,524

    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...
  44. Replies
    74
    Views
    3,524

    So, any news?

    So, any news?
  45. because it writes 4 samples at once.

    because it writes 4 samples at once.
  46. You don't need the filter. The important thing...

    You don't need the filter.

    The important thing is this:


    int16_t * p = queue1.getBuffer();
    if (p != nullptr) {

    for (int i = 0; i < AUDIO_BLOCK_SAMPLES; i++) {
  47. Here it is :) It plays a 8bit 11025 hz audio...

    Here it is :)

    It plays a 8bit 11025 hz audio file (included, from starship enterprise) - only 33k data

    I hope it shows how the queue can be used.


    Edit: If you want to use the audioshield,...
  48. Maybe this evening.. have to write it first. I'm...

    Maybe this evening.. have to write it first. I'm in home office, and the weather is so great.. I'll take the chance and will spend some time in the garden later.
  49. Yes, use the playQueue:...

    Yes, use the playQueue:
    https://www.pjrc.com/teensy/gui/?info=AudioPlayQueue
  50. Replies
    11
    Views
    130

    Could you add a pullrequest at github? Thanks!

    Could you add a pullrequest at github?
    Thanks!
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4