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. Replies
    73
    Views
    3,122

    Ok, i'll deactivate simpledrum, too.

    Ok, i'll deactivate simpledrum, too.
  2. Replies
    33
    Views
    7,379

    ..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....
  3. Replies
    2
    Views
    29

    On the T4 you could adjust the PLL frequency.

    On the T4 you could adjust the PLL frequency.
  4. Replies
    33
    Views
    7,379

    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...
  5. Replies
    2
    Views
    29

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

    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.
  7. Replies
    33
    Views
    7,379

    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...
  8. Replies
    73
    Views
    3,122

    So, any news?

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

    because it writes 4 samples at once.
  10. 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++) {
  11. 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,...
  12. 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.
  13. Yes, use the playQueue:...

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

    Could you add a pullrequest at github? Thanks!

    Could you add a pullrequest at github?
    Thanks!
  15. Replies
    1,848
    Views
    133,879

    Agreed. I've seen SDO (Serial Data Out) und...

    Agreed.

    I've seen SDO (Serial Data Out) und SDI (Serial Data In) sometimes.
  16. Just add the microcontroller to the mics (With...

    Just add the microcontroller to the mics (With the small Teensy this should be possible), and use an other protocol (RS422? Other?) between them. I2S is not made for long lines.

    Or, less cost...
  17. Replies
    18
    Views
    112

    Pullrequest:...

    Pullrequest: https://github.com/PaulStoffregen/SPI/pull/58
  18. Replies
    18
    Views
    112

    again, SCK is yellow, Data the other. 19507 ...

    again, SCK is yellow, Data the other.
    19507

    Good night. Too late here.
    I'll do a PR tomorrow.
  19. Replies
    18
    Views
    112

    maybe yes... not sure what this does in your...

    maybe yes...
    not sure what this does in your case, tonton, but if the change above does not help, you can try to add this (line 1208):


    _ccr = LPSPI_CCR_SCKDIV(div) |...
  20. Replies
    14
    Views
    377

    As said in post #12, use the new Teensyduino beta.

    As said in post #12, use the new Teensyduino beta.
  21. Replies
    18
    Views
    112

    Please try this: change line 1208...

    Please try this:

    change line 1208 https://github.com/PaulStoffregen/SPI/blob/master/SPI.h#L1208 in SPI.h to this:


    _ccr = LPSPI_CCR_SCKDIV(div) | LPSPI_CCR_DBT(div/2) |...
  22. Replies
    18
    Views
    112

    Might be something like this, yes...

    Might be something like this, yes...
  23. Replies
    18
    Views
    112

    19505 attachment - again

    19505
    attachment - again
  24. Replies
    18
    Views
    112

    With increasing timing resolution (8 ns) it looks...

    With increasing timing resolution (8 ns) it looks a little bit better:
    19504
    (first bit of 0x70 - yello: clock, cyan: data)
    Still - that's a bit tight :(
  25. Replies
    18
    Views
    112

    Indeed - yes, I get the same now :( I wonder...

    Indeed - yes, I get the same now :(
    I wonder whats wrong here.. I hope no silicon bug..

    Edit: the errata does not mention such a bug: https://www.nxp.com/docs/en/nxp/errata/IMXRT1060CE.pdf
    So,...
  26. Replies
    18
    Views
    112

    Even better to see with a added delay(1) to the...

    Even better to see with a added delay(1) to the end of the loop:
    19500
  27. Replies
    18
    Views
    112

    Hm, but I can't confirm this: 19498 (clk...

    Hm, but I can't confirm this:

    19498
    (clk yellow, data cyan)

    My code is more simple:


    #include "SPI.h"
  28. Replies
    18
    Views
    112

    Yes, this does not look OK. Might be needed to...

    Yes, this does not look OK.
    Might be needed to have look at the registers if there is a way to fix this.
  29. Replies
    14
    Views
    193

    So next time it would be good to mention such...

    So next time it would be good to mention such things in the 1st post. Nobody knows what you want without that.
    We don't want to spend time to answer things to hear "I want something different"...
  30. Forum Rule: Always post complete source code &...

    Forum Rule: Always post complete source code & details to reproduce any issue!
  31. Replies
    73
    Views
    3,122

    @NuWaveIT: Please test if this compiles:...

    @NuWaveIT:

    Please test if this compiles:
    https://github.com/FrankBoesing/Audio/archive/LC.zip
  32. Replies
    73
    Views
    3,122

    The last one (ccLCsLIP.s) comes from dspinst.h...

    The last one (ccLCsLIP.s) comes from dspinst.h
    First would be to add the red lines to dspinst.h (in folder "utility")


    #if defined (__ARM_ARCH_7EM__)
    // Multiply two S.31 fractional integers,...
  33. Replies
    73
    Views
    3,122

    I'll try to fix the warnings and errors.

    I'll try to fix the warnings and errors.
  34. Replies
    73
    Views
    3,122

    I have no Idea what is supported by the LC, and...

    I have no Idea what is supported by the LC, and what not. I'd say 90% of the library will not work on LC.

    The errorlog above mentions a ccLCsLIP.s - what is that?
  35. Replies
    73
    Views
    3,122

    Looks like we have to add some more #ifdefs to...

    Looks like we have to add some more #ifdefs to audio.h and the rest of the code.
  36. Replies
    73
    Views
    3,122

    ..and what is your reason to ask this here in...

    ..and what is your reason to ask this here in this 1.52 beta thread? And, please use the code-tags next time! :)

    The Audio Library is not officially supported by the Teensy LC.
  37. Might be a problem with your raw file. It must...

    Might be a problem with your raw file.
    It must be 44100Hz, 16 Bit, two channel (stereo).
  38. Replies
    16
    Views
    235

    That's the trick. With a valid, verified CRC you...

    That's the trick. With a valid, verified CRC you can be sure the upload was OK. If you do it right, there is no way that something happens.
    And even then, in the absolutly worst case, you have the...
  39. Replies
    1
    Views
    64

    For your last question: You will see the...

    For your last question:



    You will see the same with USB. The library need at least an input or output (best is I2s) - it uses it as a timer to be able to call the internal update() (i.e. your...
  40. Best regards to all your employees and Robin, and...

    Best regards to all your employees and Robin, and with special Greetings to the soldering Godess, Erin.
  41. Replies
    14
    Views
    149

    You can use the name from the list above, too.

    You can use the name from the list above, too.
  42. Can't say much about that, but part of the issue...

    Can't say much about that, but part of the issue might be this:

    https://github.com/PaulStoffregen/cores/blob/master/teensy3/usb_dev.c#L472
    (At least it should use the AUDIO_SAMPLE_RATE......
  43. You're welcome.

    You're welcome.
  44. Replies
    14
    Views
    149

    Yes, seen this after I hit "send" :)

    Yes, seen this after I hit "send" :)
  45. Replies
    16
    Views
    235

    Best is to use a CRC to check if your upload was...

    Best is to use a CRC to check if your upload was valid.
  46. Replies
    4
    Views
    48

    I've added MQS to the Teensy 4 version...

    I've added MQS to the Teensy 4 version of the GUI now.
  47. Replies
    7
    Views
    251

    I've added MQS

    I've added MQS
  48. Replies
    4
    Views
    48

    Yes, here: (The original GUI is not ready for...

    Yes, here:
    (The original GUI is not ready for T4)

    19458

    (directly above your post at the moment)

    https://forum.pjrc.com/threads/60109-Audio-GUI-for-T4?p=233653&viewfull=1#post233653
  49. Replies
    4
    Views
    48

    Audio-ADC for Teensy 4 still has to be written....

    Audio-ADC for Teensy 4 still has to be written. Feel free to do it.
    I have too many other things on the table right now (not only Teensy), and I don't really feel like it.

    Do you asking for a...
  50. Replies
    7
    Views
    251

    Oops - yes :)

    Oops - yes :)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4