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; generated 14 minute(s) ago.

  1. Replies
    28
    Views
    187

    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...
  2. Replies
    28
    Views
    187

    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...
  3. Replies
    28
    Views
    187

    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...
  4. Replies
    28
    Views
    187

    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...
  5. Replies
    28
    Views
    187

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

    I still don't get why you don't use I2S ...
  6. Replies
    3
    Views
    36

    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...
  7. Replies
    28
    Views
    187

    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) = ?
  8. Replies
    28
    Views
    187

    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 ;-) )
  9. Replies
    28
    Views
    187

    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...
  10. Replies
    45
    Views
    7,683

    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...
  11. 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 :)
  12. 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)
  13. Replies
    5
    Views
    186

    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....
  14. Replies
    45
    Views
    7,683

    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.
  15. Replies
    45
    Views
    7,683

    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...
  16. Replies
    45
    Views
    7,683

    ..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,...
  17. Replies
    45
    Views
    7,683

    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...
  18. 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)
  19. Replies
    36
    Views
    5,269

    No it isn't.

    No it isn't.
  20. Replies
    5
    Views
    186

    -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...
  21. 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"
  22. Replies
    5
    Views
    186

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

    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...
  24. Replies
    9
    Views
    182

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

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

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

    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...
  29. 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,...
  30. Replies
    5
    Views
    123

    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..
  31. Replies
    10
    Views
    174

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

    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...
  33. Replies
    282
    Views
    66,689

    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:...
  34. 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...
  35. yes, in startup.c

    yes, in startup.c
  36. 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?
  37. Replies
    14
    Views
    185

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

    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
  39. Replies
    15
    Views
    494

    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)
  40. Replies
    6
    Views
    91

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

    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
  42. 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...
  43. 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...
  44. Replies
    15
    Views
    494

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

    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!
  46. Replies
    15
    Views
    494

    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....
  47. Replies
    15
    Views
    494

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

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

    All Teensy 3.x use 44117Hz as frequency. That's perfectly normal.
  49. Replies
    76
    Views
    3,971

    Ok, i'll deactivate simpledrum, too.

    Ok, i'll deactivate simpledrum, too.
  50. Replies
    45
    Views
    7,683

    ..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....
Results 1 to 50 of 487
Page 1 of 10 1 2 3 4