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.06 seconds.

  1. Replies
    6
    Views
    89

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

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

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

    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...
  4. 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...
  5. 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.
  6. Replies
    45
    Views
    2,152

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

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

    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...
  9. Replies
    23
    Views
    1,598

    Please update the example code from github -...

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

    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}...
  11. Replies
    25
    Views
    1,237

    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...
  12. Replies
    23
    Views
    1,598

    I'll look tomorrow.

    I'll look tomorrow.
  13. Replies
    25
    Views
    1,237

    Very easy to do it yourself:...

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

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

    by Frank B
    Replies
    5
    Views
    113

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

    by Frank B
    Replies
    5
    Views
    113

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

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

    This should be fixed with the latest Teensyduino...

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

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

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

    by Frank B
    Replies
    5
    Views
    113

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

    by Frank B
    Replies
    5
    Views
    113

    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...
  21. Replies
    4
    Views
    134

    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.
  22. Replies
    4
    Views
    134

    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....
  23. 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
    ...
  24. 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
  25. Replies
    4
    Views
    134

    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...
  26. Replies
    4
    Views
    134

    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...
  27. 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.
  28. Replies
    27
    Views
    1,801

    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?
  29. 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.. :)
    ...
  30. Replies
    33
    Views
    1,287

    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...
  31. Replies
    33
    Views
    1,287

    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?
  32. Replies
    33
    Views
    1,287

    indeed, yes.

    indeed, yes.
  33. Replies
    33
    Views
    1,287

    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...
  34. Replies
    33
    Views
    1,287

    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)...
  35. Replies
    33
    Views
    1,287

    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...
  36. Replies
    33
    Views
    1,287

    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......
  37. Replies
    33
    Views
    1,287

    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...
  38. Replies
    4
    Views
    88

    You see that in the compiler window ;)

    You see that in the compiler window ;)
  39. Replies
    2
    Views
    109

    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...
  40. Replies
    43
    Views
    790

    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...
  41. 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.
  42. Replies
    43
    Views
    790

    I'd say yes.. but it's difficult to say.. you...

    I'd say yes.. but it's difficult to say..
    you may want to add some debug output to your program. some that prints a message when (a) the receiver has no block to play (b) when it gets too much...
  43. Just to mention - it is great. Was back to our...

    Just to mention - it is great.

    Was back to our project. We use Platformio, Teensy41, Arduino Uno.
    Teensy Usb-Mode Audio + Serial + Midi, Uno connected to the Teensy USB-Host.

    I don't know how...
  44. Didn't mention it.. have the esp32 reset issue,...

    Didn't mention it.. have the esp32 reset issue, too.
  45. Good news - works perfectly: ...

    Good news - works perfectly:

    C:\Users\Frank\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0/esptool.exe --chip esp32 --port COM19 --baud 921600 --before default_reset --after ...
  46. Replies
    45
    Views
    2,152

    Sticky: There was an update of Platformio, for Teensy,...

    There was an update of Platformio, for Teensy, but they still use the old size tool :(
  47. Good morning! Wow, a lot happened while I was...

    Good morning!
    Wow, a lot happened while I was sleeping.
    I probably won't be able to try this out until tonight.
    If this works (almost) now, you could even write a tool for the Teensy that reads...
  48. Replies
    46
    Views
    721

    That is why brackets in the right places are...

    That is why brackets in the right places are important:
    (removing them gives a completely different(wrong) result)

    https://en.cppreference.com/w/c/language/operator_precedence
  49. Arduino(or was it platformio? - too late for me)...

    Arduino(or was it platformio? - too late for me) finds the right COM Port, too - it's magic. No.. i guess it parses the USB names or PIDs.. some day i'll add the right PIDs to the .ino. Thanks to the...
  50. Replies
    26
    Views
    314

    One issue is that you don't measure the transfer...

    One issue is that you don't measure the transfer speed but the sum of the time for open, seek, write and close. That's not valid.
    If you do that in your real program, change it. Open once, write as...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4