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. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    They are from here:...

    They are from here: https://www.pjrc.com/teensy/td_libs_AudioDataFiles.html
  2. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    You can try if my code can read your files :)...

    You can try if my code can read your files :)
    Or, would you upload or send me one? I'd like to try it..
  3. Without extra circuitry, it is not possible.

    Without extra circuitry, it is not possible.
  4. Replies
    2
    Views
    27

    1) often, the issue are too long wires , or pins...

    1) often, the issue are too long wires , or pins not soldered to the audio shield. Can you post a photo?
    2) You should post the code you use. That's better and we can see more easyly whats wrong.
  5. Edit: on the other hand, DD4WH and I created a...

    Edit: on the other hand, DD4WH and I created a DCF77 receiver.. (77khZ), Software only, with the audio shield + antenna :)
    The military uses even lower frequencies for submarines.

    Not sure where...
  6. What distance? As Mark said, probably a very...

    What distance?

    As Mark said, probably a very bad idea.
    Light may be possible..
  7. Ok, did not realize that. Quite possible that...

    Ok, did not realize that. Quite possible that there is problem with "fast". But I have other projects.. If you find something, let me know.
  8. No, there are commandline-tools - but they are...

    No, there are commandline-tools - but they are not simple to use if you are not used to ..
    DOn't know if it is a memory issue or not, but you must keep in mind that it needs stack too, and you don't...
  9. You did not mention that. But ok, if it works...

    You did not mention that.
    But ok, if it works now, everything is ok?
  10. Woher kommt der hohe Speicherverbrauch? Das...

    Woher kommt der hohe Speicherverbrauch? Das könnte einen Hinweis geben.
  11. When I compile it, i get completely different...

    When I compile it, i get completely different numbers for size:


    Der Sketch verwendet 11032 Bytes (17%) des Programmspeicherplatzes. Das Maximum sind 63488 Bytes.
    Globale Variablen verwenden...
  12. What means "does not work" exactly? Does it...

    What means "does not work" exactly? Does it behave different? Or does it not work at all?
  13. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    @MJS: Hm, the PJRC example wave files are...

    @MJS: Hm, the PJRC example wave files are uppercase ".WAV", too.. . what happens here?


    Ok, tested with Teensy LC.
    Looks like it is just to slow.

    Still needs 128 Bytes block size. No chance.....
  14. Replies
    2
    Views
    41

    If you want to build something like this, it...

    If you want to build something like this, it would be good to at least take a look at the datasheet.
    The SGTL has no built-in memory.
  15. 1. yes the jumpers are still there :) 2. yes...

    1. yes the jumpers are still there :)
    2. yes i2s_quad
  16. Replies
    17
    Views
    295

    Any news, chipaudette?

    Any news, chipaudette?
  17. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Public functions: bool play(File file);...

    Public functions:


    bool play(File file);
    bool play(File file, bool paused);

    bool play(const char *filename);
    bool play(const char *filename, bool paused); //start in paused...
  18. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Ok, I think its almost ready to use now. Needs...

    Ok, I think its almost ready to use now.
    Needs some more testing... :)

    Latest version
    Example audio files are on github.

    Features:
  19. Replies
    17
    Views
    295

    Perhaps just try if it works :)

    Perhaps just try if it works :)
  20. Replies
    17
    Views
    295

    Easiest ist to grab the whole repo, yes. It's...

    Easiest ist to grab the whole repo, yes. It's otherwise identical to Pauls 1.54 repo.

    Not sure if >96kHz works. I didn't care much. I don't think it makes much sense.

    These are the changed...
  21. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    :-) Added support for 8 bit samples.

    :-)


    Added support for 8 bit samples.
  22. Replies
    9
    Views
    265

    Did you measure it compared to USB? USB has it's...

    Did you measure it compared to USB? USB has it's own latency.. :)
  23. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Oh, then I must have renamed my files at some...

    Oh, then I must have renamed my files at some point.
  24. Replies
    9
    Views
    154

    You don't free the queue buffers anymore, then -...

    You don't free the queue buffers anymore, then - they stay allocated and after some time there are no free blocks anymore.
  25. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    @wmxz, yes the name is subject to change.. ...

    @wmxz,
    yes the name is subject to change..

    @mjs: Thank you! I've added your code as example.
  26. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Not sure.. do you use my example sketch? If yes....

    Not sure.. do you use my example sketch?
    If yes. Is the line


    extern uint32_t _AudioPlaySdWavInstances;

    still there? It's just for debug.. or you can remove the print (it's useless at the...
  27. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    I've added play(File file); Is this sufficient...

    I've added play(File file);
    Is this sufficient for other file systems?
  28. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    You can use any board! It just needs I2S then,...

    You can use any board! It just needs I2S then, and the control.
  29. Replies
    46
    Views
    2,460

    Sticky: @Paul, for the new wavePlayer: - Do we still...

    @Paul, for the new wavePlayer:

    - Do we still need AudioStartUsingSPI() or is this handled by the SdFat?
    - Is there a way to know if it a file is from BULITIN_SDCARD, SPI, LittleFs? Maybe this is...
  30. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    @MJS: Does it work wit littleFS?

    @MJS: Does it work wit littleFS?
  31. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    HI, thank you! Didn't know that this is...

    HI,

    thank you! Didn't know that this is possible, because there is no mention in the export dialog. It just says that everything will be converted to stereo... so, thank you for the useful link :)...
  32. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    I've created a repo:...

    I've created a repo:
    https://github.com/FrankBoesing/Teensy-wavePlayer

    The code is much easier to read than the old player. However, this is a very first version that still needs some work.
  33. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    OK, the 7.1 file, converted to 16 Bits works...

    OK, the 7.1 file, converted to 16 Bits works perfectly :)
    So, 8 channels are possible.

    25350

    Of course a setup like above does not make much sense.. you can mix this better "offline" and save...
  34. You will not find help here, too. This forum is...

    You will not find help here, too. This forum is about Teensy boards.
    Closing here.
  35. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    SoX can do it :)

    SoX can do it :)
  36. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Ok, I need a tool whcih can load and export these...

    Ok, I need a tool whcih can load and export these files.
    Audacity supports export as 2 channel only.
  37. Replies
    17
    Views
    295

    I can't test this- maybe it's better to do this...

    I can't test this- maybe it's better to do this in a separate pullrequest(?!) (you?)
    There is also no direct connection with the sample rate.
  38. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Almost :) The library supports 16Bit only, so...

    Almost :)
    The library supports 16Bit only, so 16Bit files are needed :)
    The 48KHz is OK, as long the user sets the library to 48Khz.

    p.s. only the default channel order will be supported (may...
  39. Thread: WaveplayerEx

    by Frank B
    Replies
    37
    Views
    492

    Still looking for wave files... mono, and more...

    Still looking for wave files... mono, and more than 2 channels.
    Nobody?

    Is there a need to support 8 Bit?

    I have a first version running - for the normal stereo it is working. In theory it...
  40. Replies
    17
    Views
    295

    Interesting, for me the existing algorithm works...

    Interesting, for me the existing algorithm works good - good enough that i can't hear any artifacts.
    What OS do you use?
  41. Replies
    6
    Views
    151

    44.1/16 bit is CD quality.... not sure if 192/24...

    44.1/16 bit is CD quality.... not sure if 192/24 makes much sense...
  42. Replies
    5
    Views
    97

    ...but... don't you need a good adc, too?

    ...but... don't you need a good adc, too?
  43. Replies
    5
    Views
    97

    The Audioshield does not need so many pins. The...

    The Audioshield does not need so many pins.
    The question is, how many analog inputs you need?

    You said an inbuilt dac is good enough. I guess you know that you can not expect very high quality...
  44. Agreed! I think it is safe to assume that an LA...

    Agreed!
    I think it is safe to assume that an LA in 1 bit mode sees exactly what connected chips see. After all, this is what an LA is designed for(?!).
    That's why an analog view of a clock signal...
  45. I wonder if it would be better to use...

    I wonder if it would be better to use F_CPU_ACTUAL for the T4. However, this is not a constant...
    However, there is probably no way around it. After all, you want correct results.
  46. Replies
    46
    Views
    2,460

    Sticky: https://www.pjrc.com/teensy/td_153/

    https://www.pjrc.com/teensy/td_153/
  47. On T4.x the sample rate is float. Not sure when...

    On T4.x the sample rate is float.
    Not sure when and why this happened, or if it was intended - but it is no problem. You just need to know it.
  48. Replies
    25
    Views
    1,288

    A *very* large project with the Audio codecs. It...

    A *very* large project with the Audio codecs. It worked again when I cleaned the build...
  49. Replies
    24
    Views
    1,671

    Please update the example code from github -...

    Please update the example code from github - should work now :)
  50. Replies
    25
    Views
    1,288

    Well.. a few minutes later: Exception...

    Well.. a few minutes later:


    Exception 0x8b04488b 0xccccccd5 0x8b64cccc 0x58004012
    PC=0x58004012

    runtime: unknown pc 0x58004012
    stack: frame={sp:0x3eba5800, fp:0x0}...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4