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 45 minute(s) ago.

  1. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

    Yes I had no Idea how to do it... could have been...

    Yes I had no Idea how to do it... could have been a show stopper.
    *still testing*


    Oh my,... now concurrent play does not work anymore.
    I'll take a break.
  2. Replies
    8
    Views
    97

    Just out of curiosity: Which devices transmit at...

    Just out of curiosity: Which devices transmit at 20MHz?
  3. Replies
    12
    Views
    74

    The simplest would be to disallow audio...

    The simplest would be to disallow audio interrupts during open, read, seek and close. I'd add write() too, perhaps.. for recording.
    But it needs to be fast.
  4. Replies
    12
    Views
    74

    All I can do is calling AudioUsingSPI. Regardless...

    All I can do is calling AudioUsingSPI. Regardless if "my" file uses SPI or not - I don't know that.
    QSPI.. SDfat...littlefs.. don't know...
    Before T4, things were simple :)
  5. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

    Phew.. fixed that.

    Phew.. fixed that.
  6. Replies
    12
    Views
    74

    So, what would be a safe way? Due to the nature...

    So, what would be a safe way?
    Due to the nature of it, the wave player has no information about the user program.
    It does not know wether qspi and/or spi is used. Or if a display etc is connected....
  7. Replies
    12
    Views
    74

    Thank you! It's for the audio wave player i'm...

    Thank you!
    It's for the audio wave player i'm working on. It has to read from a "File" during update() which is called by the audio software interrupt.
  8. Replies
    12
    Views
    74

    I've asked that before, but got no answer: Do...

    I've asked that before, but got no answer:

    Do SDFat and littlfs care about SPI? Is it ok to use them in an interrupt, with SPI communication in the program? If not, is usingInterrupt() OK?
    Do...
  9. Replies
    9
    Views
    50

    Use Google. This is my last post here.

    Use Google. This is my last post here.
  10. Replies
    9
    Views
    50

    You can buy stereo audio transmitters only for...

    You can buy stereo audio transmitters only for the common broadcast frequencies. Around 90MHz. That you can buy them does not mean that they are allowed everywhere. And if, for AUDIO only. No Data....
  11. Replies
    9
    Views
    50

    Yes i was talking about these transmitters. But...

    Yes i was talking about these transmitters. But don't build your own. You asked for that in the other thread.
    I2C is bidirectional.

    But as said - these ESP8266 are ultra-cheap, work perfect, and...
  12. You need a low pass (Google is your friend). A...

    You need a low pass (Google is your friend). A capacitor + resistor on the analog input.
  13. Replies
    9
    Views
    50

    Because it is not allowed. You can use a cable,...

    Because it is not allowed.
    You can use a cable, light or ultrasonic.
    Or just use some of these commercial units you can buy everywhere. You can even use a ESP8266 .. you don't need a teensy in the...
  14. Replies
    9
    Views
    95

    The SD Slot on the Adapter uses PIN 13. So just...

    The SD Slot on the Adapter uses PIN 13. So just use the inbuilt slot..
  15. Replies
    9
    Views
    95

    Yes, take a look at the schematics.

    Yes, take a look at the schematics.
  16. Replies
    9
    Views
    95

    You are right, in the post before, pinMode() was...

    You are right, in the post before, pinMode() was missing.
    So.. I have no Idea how your program looks like now (exactly), so please post it.


    Edit: Do you understand what you're doing, or is it...
  17. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

    Looks like there is a big fat bug re: additional...

    Looks like there is a big fat bug re: additional Mem and intervleave... i've set the repo to private until it is fixed..
  18. Replies
    22
    Views
    361

    Yes. Did I mention we're talking about Teensy...

    Yes.
    Did I mention we're talking about Teensy 4.x /mm only?
    (first line in Post#1 :-) )
  19. He said "Unfortunately, I was unable to recreate...

    He said "Unfortunately, I was unable to recreate the problem using a reduced sample code.".
    So, I think the small programm works. (Have not tried it)
  20. Replies
    22
    Views
    361

    Hi Chip... no... it does not work this way. USB...

    Hi Chip... no... it does not work this way.
    USB does not accept "dynamic" change of the samplerate.
    The way is to edit Audiostream.h and enter the samplerate there. Then, a clean compile.

    It...
  21. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

    They are from here:...

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

    by Frank B
    Replies
    41
    Views
    564

    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..
  23. Without extra circuitry, it is not possible.

    Without extra circuitry, it is not possible.
  24. Replies
    9
    Views
    95

    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.
  25. 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...
  26. What distance? As Mark said, probably a very...

    What distance?

    As Mark said, probably a very bad idea.
    Light may be possible..
  27. 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.
  28. 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...
  29. You did not mention that. But ok, if it works...

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

    Woher kommt der hohe Speicherverbrauch? Das könnte einen Hinweis geben.
  31. 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...
  32. 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?
  33. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

    @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.....
  34. Replies
    2
    Views
    60

    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.
  35. 1. yes the jumpers are still there :) 2. yes...

    1. yes the jumpers are still there :)
    2. yes i2s_quad
  36. Replies
    22
    Views
    361

    Any news, chipaudette?

    Any news, chipaudette?
  37. Thread: WaveplayerEx

    by Frank B
    Replies
    41
    Views
    564

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

    by Frank B
    Replies
    41
    Views
    564

    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:
  39. Replies
    22
    Views
    361

    Perhaps just try if it works :)

    Perhaps just try if it works :)
  40. Replies
    22
    Views
    361

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

    by Frank B
    Replies
    41
    Views
    564

    :-) Added support for 8 bit samples.

    :-)


    Added support for 8 bit samples.
  42. Replies
    9
    Views
    276

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

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

    by Frank B
    Replies
    41
    Views
    564

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

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

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

    by Frank B
    Replies
    41
    Views
    564

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

    by Frank B
    Replies
    41
    Views
    564

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

    by Frank B
    Replies
    41
    Views
    564

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

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

    by Frank B
    Replies
    41
    Views
    564

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

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

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

    by Frank B
    Replies
    41
    Views
    564

    @MJS: Does it work wit littleFS?

    @MJS: Does it work wit littleFS?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4