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

  1. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

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

    by Frank B
    Replies
    15
    Views
    161

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

    by Frank B
    Replies
    15
    Views
    161

    SoX can do it :)

    SoX can do it :)
  5. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

    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.
  6. Replies
    10
    Views
    168

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

    by Frank B
    Replies
    15
    Views
    161

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

    by Frank B
    Replies
    15
    Views
    161

    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...
  9. Replies
    10
    Views
    168

    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?
  10. Replies
    6
    Views
    111

    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...
  11. Replies
    5
    Views
    79

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

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

    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...
  13. 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...
  14. 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.
  15. Replies
    46
    Views
    2,190

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

    https://www.pjrc.com/teensy/td_153/
  16. 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.
  17. Replies
    25
    Views
    1,245

    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...
  18. Replies
    23
    Views
    1,600

    Please update the example code from github -...

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

    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}...
  20. Replies
    25
    Views
    1,245

    So, regarding the compiler itself: I have seen...

    So, regarding the compiler itself: I have seen that it sometimes generates faster code, but sometimes not. In total it comes out to about the same speed.
    What I like is that it generates a lot more...
  21. Replies
    23
    Views
    1,600

    I'll look tomorrow.

    I'll look tomorrow.
  22. Replies
    25
    Views
    1,245

    Very easy to do it yourself:...

    Very easy to do it yourself: https://github.com/TeensyUser/doc/wiki/GCC#Switching-between-different-toolchains
  23. Replies
    23
    Views
    1,600

    Had no time to try the sketch, but i briefly...

    Had no time to try the sketch, but i briefly looked over it:
    char playthis[15];
    could be the problem. Perhaps try 128 instead.
    If it still not works,, I can take a look tomorrrow.

    Anyway,...
  24. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

    Let me cite a text from here:...

    Let me cite a text from here: http://www.piclist.com/techref/io/serial/midi/wave.html


    It's unlikely that I will do more than the fmt and data chunk, at first. More channels: yes, sync start&...
  25. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

    Later... It's all open source, so everybody can...

    Later...
    It's all open source, so everybody can contribute.
  26. Replies
    23
    Views
    1,600

    This should be fixed with the latest Teensyduino...

    This should be fixed with the latest Teensyduino 1.54.
    (i hope?)
  27. Replies
    9
    Views
    665

    I've seen users with 100Watt irons gluing wires...

    I've seen users with 100Watt irons gluing wires to pins.. :)
  28. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

    [QUOTE=PaulStoffregen;284017] Yes, I had these...

    [QUOTE=PaulStoffregen;284017]
    Yes, I had these thoughts as well.
    For the codecs I used a lower prioritized interrupt, which reads and decodes the large mp3 frames and if needed - it needs longer...
  29. Thread: WaveplayerEx

    by Frank B
    Replies
    15
    Views
    161

    WaveplayerEx

    I'm thinking about rewriting the waveplayer, or creating an extended one.
    It should support 1-6(8?) channels.

    There was a thread where this was requested - I can't find it anymore. grrr.. (it...
  30. Replies
    10
    Views
    168

    I'll do the same for Teensy 3.x if Paul merges it.

    I'll do the same for Teensy 3.x if Paul merges it.
  31. Replies
    10
    Views
    168

    Not sure what your question is:) The #define...

    Not sure what your question is:)
    The #define AUDIO_SAMPLE_RATE_EXACT changes the whole library, yes. But this has always been possible.

    USB Audio did not support that. That's what I changed....
  32. It should work to connect them to different I2S....

    It should work to connect them to different I2S.

    When you open the .h file, you will also see the available functions:
    https://github.com/PaulStoffregen/Audio/blob/master/control_cs42448.h#L36
    ...
  33. If one wants to try that, just insert the...

    If one wants to try that, just insert the delay(10) here : https://github.com/PaulStoffregen/Audio/blob/master/output_tdm.cpp#L338
  34. Replies
    10
    Views
    168

    Would be great if some users test it :) Edit:...

    Would be great if some users test it :)

    Edit: Might be that Windows is bitchy and does not recognize the sample rate correctly. In this case, try to remove the teensy usb device from the registry...
  35. Replies
    10
    Views
    168

    USB Audio samplerates added

    So far, Teensy 4 only

    Hi,

    i've added support for different samplerates for USB Audio.
    So far tested with 44.1, 48, 88.2 96 kHz (but others may work too), both, AudioInputUSB and AudioOutputUSB...
  36. Replies
    4
    Views
    118

    And pin 15 has a capacitor which may or may not...

    And pin 15 has a capacitor which may or may not matter.
  37. Replies
    27
    Views
    1,806

    I think this would require 48kHz (96 optional.. i...

    I think this would require 48kHz (96 optional.. i think many users want that). That's way more common than 44.1k

    @Paul, any news regarding the "1170" Teensy?
  38. Replies
    4
    Views
    118

    No not that much pins :) Only these: 25289...

    No not that much pins :)
    Only these:
    25289
    They are all mentioned on the audio shield page: https://www.pjrc.com/store/teensy3_audio.html
    So, you want the pins from the first two rows.. :)
    ...
  39. Replies
    33
    Views
    1,303

    The 16 data bits are in the middle of the 32 Bit...

    The 16 data bits are in the middle of the 32 Bit bit (8 msb and 8 lsb ignored..)
    Or it works with (2x)24 bit frames , too. Have not tried that. Edit: The SAA7345 seems to use that.

    Would be nice...
  40. Replies
    33
    Views
    1,303

    Year, Philips forgot to mention that in their...

    Year, Philips forgot to mention that in their TD1543A Datasheet...

    Or is that a std japanese format?
  41. Replies
    33
    Views
    1,303

    indeed, yes.

    indeed, yes.
  42. Replies
    33
    Views
    1,303

    I've seen this format the first time. After WS,...

    I've seen this format the first time.
    After WS, it needs 7 dummy cycles (Pazis code set them to '1' - I removed that since it doesn't seem to be needed - see previous post), then 16 data bits, the...
  43. Replies
    33
    Views
    1,303

    Just modfied the code by PAZI for a T4. Code is...

    Just modfied the code by PAZI for a T4.
    Code is attached.

    On my Scope, it looks like a sine (just 1k between vref and out).

    Note, i see no difference between


    *dest = ((uint32_t)*src << 9)...
  44. Replies
    33
    Views
    1,303

    Sometimes i wish i'd bought a 4 channel scope.....

    Sometimes i wish i'd bought a 4 channel scope..
    As far I can tell, the format is OK and looks like the one from the datasheet. This leads to the "sawtooth" however.
    Tried playing with the i2s...
  45. Replies
    33
    Views
    1,303

    Nope :) I have no beer anymore. Ich gehe gleich...

    Nope :)
    I have no beer anymore. Ich gehe gleich mal zur Tankstelle.. :)

    I'm outputing a 1 Hz sine. The Scope shows a left or right justified sawtooth swapping every 1/2 second. Not too bad......
  46. Replies
    33
    Views
    1,303

    Got your chip today. Thank you, Paul! Will give...

    Got your chip today. Thank you, Paul!
    Will give it a try tonight. After dinner.
    To do this I need to set up my scope again, find a breadbord and find cables.... The chip -output is also a current...
  47. Replies
    4
    Views
    88

    You see that in the compiler window ;)

    You see that in the compiler window ;)
  48. Replies
    2
    Views
    111

    The Teensy 3.2 and Teensy 3.5 are 5V tolerant -...

    The Teensy 3.2 and Teensy 3.5 are 5V tolerant - for the 3.6 you just need cheap level shifters (the ultra-simple ones with the single mosfet will do) or the other ideas you mentioned.
    5V tolerant...
  49. Replies
    43
    Views
    792

    As far I know, RTSP is used for some compressed...

    As far I know, RTSP is used for some compressed formats only. Maybe wrong...

    With some work, a receiver could be written, with the codecs library. Transmitting needs encoding.. not sure if a...
  50. Replies
    4
    Views
    88

    Tried that -> no problems. Please check if you...

    Tried that -> no problems.

    Please check if you have other versions of df.h or sdfat installed. if yes, delete them.

    If you have still problems, please post the output of verbose compile.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4