Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    7
    Views
    247

    I would like to add, these dsp instructions are...

    I would like to add, these dsp instructions are most efficient for 16 bit audio, that is why the audio-library expects 16 bit data.
    32-bit, or float audio is possible with other libraries.
  2. Replies
    323
    Views
    42,877

    One of the problems with the MTP protocol is that...

    One of the problems with the MTP protocol is that it teensy is only a responder. So session management is up to the Host.

    Now in order to close a session on linux you unmount the mtp (AFAIK) and...
  3. Replies
    19
    Views
    1,056

    I see in your code that you include SdFat.h...

    I see in your code that you include SdFat.h
    Please note that SdFat.beta cannot be used in parallel to SD library and SdFat library, but is to be considered a replacement. They all use SdFat.h as...
  4. Replies
    19
    Views
    1,056

    SD library does not support exFAT.

    SD library does not support exFAT.
  5. Replies
    19
    Views
    1,056

    I had never any problems with SdFat-beta. Maybe...

    I had never any problems with SdFat-beta. Maybe your "SdTerminal" (issue on Bill's github) is screwing up the code.
  6. Thread: Bat detector

    by WMXZ
    Replies
    648
    Views
    60,317

    if one still can hear such high frequencies!

    if one still can hear such high frequencies!
  7. Replies
    200
    Views
    16,361

    Not sure if 'C:\PROGRA~2' is always good. Try...

    Not sure if 'C:\PROGRA~2' is always good.
    Try to use the full directory name, maybe place Arduino system in a root directory without a space.
  8. I would use one of the timer libraries to see the...

    I would use one of the timer libraries to see the instructions that are different for T3.X and T4.X
  9. So its an issue for TyCommnder, but see other...

    So its an issue for TyCommnder, but see other forum thread on VisualTeensy
  10. Thread: Bat detector

    by WMXZ
    Replies
    648
    Views
    60,317

    maybe a planar array of microphones summed...

    maybe a planar array of microphones summed together (broadside beam) would be an alternative (depending on array gain desired)
  11. Replies
    3
    Views
    211

    when I asked this question on Bill's GitHub in...

    when I asked this question on Bill's GitHub in form of an 'issue', He pointed me to a example that does access two uDS cards.
  12. BTW, are you using the audio adapter soldered to...

    BTW, are you using the audio adapter soldered to T4?
  13. To me it looks like ringing of the frame-sync...

    To me it looks like ringing of the frame-sync signal. we know that on T4 there is a need to add a small inline resistor to MCLK. Maybe it is a good idea to add these resistors to all I2S lines?
  14. Replies
    11
    Views
    286

    TD does not support Arduino IDE 1.8.10, which was...

    TD does not support Arduino IDE 1.8.10, which was recognized as buggy and immediately replaced with 1.8.11.
  15. not sure, if there is dithering. SGTL commands...

    not sure, if there is dithering.
    SGTL commands are found in Audio library. AudioConnection is found in cores AudioStream.(h/cpp). (IIRC, it is simply a linked list that is worked at software...
  16. Yes, see...

    Yes, see https://forum.pjrc.com/threads/52798-Overclocking-SGTL5000?p=181609&viewfull=1#post181609
    this was done for T3.x but shows method.
  17. Replies
    1
    Views
    135

    This is an Arduino problem not a SdFat problem. ...

    This is an Arduino problem not a SdFat problem.

    For some reason the Arduino people accepted the TimeLib library with inside a Time.h file, that now only calls TimeLib.h (and gives the warning you...
  18. Replies
    200
    Views
    16,361

    Yes, IMO, you are missing a fundamental point....

    Yes, IMO, you are missing a fundamental point.
    VisualTeensy generates a Makefile environment, that you can easily modify, adapt to your own make preferences. I do that continuously. Yes, @luni...
  19. In fact, putting SPI pins (SCK,MOSI,MISO) into...

    In fact, putting SPI pins (SCK,MOSI,MISO) into OUTPUT disables SPI transfer.
  20. Replies
    14
    Views
    334

    disconnect Teensy and use device manager to...

    disconnect Teensy and use device manager to remove all in-active HID (and maybe also all COM devices) to clean up Win10 device memory
  21. only assumption: input signal is

    only assumption: input signal is <0.6 V. possible DC-offset is taken care by AC coupling
  22. there is no must, but this seems only to indicate...

    there is no must, but this seems only to indicate if serial_write is failing
    As @luni indicates there are better ways to echo to PC
  23. OK, I should have be more specific, my piezos are...

    OK, I should have be more specific, my piezos are piezoceramic hydrophones, there is some inductance, but mostly capacitance.
    Yes, I'm aware of all the noise sources, including reverse current of...
  24. Yes, that is a shame, also as paralleling FETs...

    Yes, that is a shame, also as paralleling FETs could bring noise down to really sub nV/√Hz.
    so we must stick with opamps
    At the moment I try to test a AD8656 stereo piezo-preamp for a TLV320ADC6140...
  25. Replies
    3
    Views
    198

    But in theory could be programmed as a USB...

    But in theory could be programmed as a USB device, see https://github.com/WMXZ-EU/USB2/tree/master/examples/test-usb2 as an example for T3.6. Did not try it on T4, as I had no need.
  26. AFAIK, Paul uses a combination of information of...

    AFAIK,
    Paul uses a combination of information of exactly the chips existing Teensies are using. So replacing the MKL26Z64 by a MKL26Z128 will not work.
  27. Would it make sense, to define right now a...

    Would it make sense, to define right now a virtual base class that implements a user interface? Next we could try to think about the different implementations.
    Not sure if the old Arduino interface...
  28. Access to T4.1 Sd card is faster (it uses 4-bit...

    Access to T4.1 Sd card is faster (it uses 4-bit parallel SDIO protocol, while AudioAdapter user 1-bit SPI prorocol)
    Analog input on Teensy are independent from Audio I/O of Audio Adapter
    yes you...
  29. Replies
    23
    Views
    1,420

    in particular the dominating user pictures turn...

    in particular the dominating user pictures turn me off.
  30. mind to elaborate? is 20 kHz BW not equiv to 43...

    mind to elaborate? is 20 kHz BW not equiv to 43 dB (10log10(BW))?
  31. maybe the problem lies in Using previously...

    maybe the problem lies in

    Using previously compiled file: /var/folders/kr/g2dq1nfj5r3g9fqgvn440m1m0000gn/T/arduino_build_859156/libraries/ADC/AnalogBufferDMA.cpp.o
    to force a complete rebuild...
  32. Replies
    2
    Views
    153

    if you are happy with FAT32 formats, then go with...

    if you are happy with FAT32 formats, then go with build-in TD SD library. it works for all TD libraries T3 and T4
  33. AFAIK, all but eeprom and recovery program space

    AFAIK, all but eeprom and recovery program space
  34. Replies
    33
    Views
    1,013

    That is my reasoning too, so decision to use...

    That is my reasoning too, so decision to use floating points for ADC data (max signal range is known) is always pushed into future. Also FPU could consumed in the past more power than fixed point...
  35. Replies
    33
    Views
    1,013

    That is why I use T3.x and T4.x. OK, there are...

    That is why I use T3.x and T4.x. OK, there are still T2.x around and sold.

    The question for me (on T4.x) is to keep, say signal detection and the related averaging (to estimate background noise)...
  36. Replies
    33
    Views
    1,013

    This statement far too much application and...

    This statement far too much application and hardware oriented (low quality ADC and 8-bit MCU).
    EMA is not only used to filter IMU accelerators and other 10bit data, but is used in sound signal...
  37. Replies
    33
    Views
    1,013

    if data are 16 bit, then IMO the state variable...

    if data are 16 bit, then IMO the state variable (effectively sample<<K) should be declared as 32 bit
  38. Replies
    27
    Views
    4,993

    you order them from Paul

    you order them from Paul
  39. Replies
    33
    Views
    1,013

    So, I learned is with tmp = avg*A -avg is (I...

    So, I learned


    is with tmp = avg*A -avg is (I think) equivalent to

    tmp = tmp + x
    avg = tmp/A
    tmp = tmp - avg
    ...
  40. Replies
    33
    Views
    1,013

    Not sure if it is the same, but I implement exp....

    Not sure if it is the same, but I implement exp. averaging as

    float:
    avg = avg +aa*(x-avg), where aa is a small number 0<aa<1 and x in the input

    integer:
    avg = (avg*A + (x-avg))/A, where A...
  41. Replies
    27
    Views
    770

    I would flip the back image the other way around,...

    I would flip the back image the other way around, even if Teensy 4.1 is written upside down
  42. microsoundrecorder is written for T3.6 but could...

    microsoundrecorder is written for T3.6 but could be ported to T4.1, if really needed.
    For T4.1 I would consider to start from https://github.com/WMXZ-EU/MTP_t4/tree/master/examples/mtp-logger
    it...
  43. https://www.loggerhead.com/snap-underwater-acousti...

    https://www.loggerhead.com/snap-underwater-acoustic-recorder

    He integrated Teensy3.2 with custom SGTL5000.
  44. That is why I'm interested in seeing field data....

    That is why I'm interested in seeing field data.
    OK, I know at least one company that uses SGTL5000 and Teensy for a hydrophone recorder.
  45. To me it seems OK. The H2a (not seen H2c)...

    To me it seems OK.
    The H2a (not seen H2c) simulates a electret microphone (it has also only 2 lines). So I would simply connect as it were a microphone.
    to set the mic go to audio library where you...
  46. OK for more reference, but there are hydrophone...

    OK for more reference, but there are hydrophone pre-amps that 'simulate' a electret mic. In fact they only have a FET and some protection diodes (ignoring source and bias resistor)
  47. OK, which model are you using, which pre-amp?

    OK,
    which model are you using, which pre-amp?
  48. I assume you are referring to PIP Series by...

    I assume you are referring to PIP Series by virgo.
    You simply connect to Line-in (not sure about AC coupling)
  49. Replies
    10
    Views
    324

    C code is generating entry points as is, while...

    C code is generating entry points as is, while cpp modifies function names to contain also type of parameters and return value.
    So all code that e.g. is called from assembler, should be c-code or (I...
  50. Replies
    3
    Views
    192

    https://forum.pjrc.com/threads/61288-define-to-dif...

    https://forum.pjrc.com/threads/61288-define-to-differentiate-between-Teensy-4-0-and-4-1?p=242618&viewfull=1#post242618
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4