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

Search:

Type: Posts; User: MarkT

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    159

    No, the latency is a fixed number of blocks, this...

    No, the latency is a fixed number of blocks, this is just like a pipeline.
  2. Replies
    4
    Views
    159

    I've had a quick scan of the code, and I think...

    I've had a quick scan of the code, and I think you need to use two blocks per FFT, so that the overlap
    is 50% of the FFT period - the current code seems to have no overlap.

    BTW a Hann window...
  3. Replies
    1
    Views
    131

    A wide-range bandpass filter is easiest to...

    A wide-range bandpass filter is easiest to realize as a high-pass filter and a low-pass filter chained together.
    Can you generate Butterworth low-pass and high-pass filters? There are many on-line...
  4. Sounds travels much faster in solids than air, so...

    Sounds travels much faster in solids than air, so you may have multiple paths for acoustic energy to travel to your sensors unless
    you go for the shortest path inside the solid target itself? In...
  5. That's what I mean - in software you can...

    That's what I mean - in software you can crossfade instantly as well as gradually.
  6. Thread: Measure mV

    by MarkT
    Replies
    3
    Views
    201

    You need to shift the signal to mid-way between...

    You need to shift the signal to mid-way between the voltage rails. The negative voltages cannot be measured by the ADC,
    and if more than 0.3V or so could damage the chip permanently.

    Normally a...
  7. Replies
    7
    Views
    139

    I'd advise always disabling file-hiding in any OS...

    I'd advise always disabling file-hiding in any OS you use, otherwise it will bite you one day.
  8. IC2 is used as a 4-bit address comparator I think...

    IC2 is used as a 4-bit address comparator I think - and is set by the (jumpers?) you've labelled CON. 2
    Until that matches the 245 won't drive anything - is that what writeBoardAddress(3) is...
  9. Replies
    13
    Views
    1,429

    Well as the MOSFET is logic level I'd expect it...

    Well as the MOSFET is logic level I'd expect it to work at any of those voltages no problem.
    I'd suggest careful checking of your circuit, especially the OUTL connection.

    Note the 100nF cap on...
  10. Like all CMOS chips a pair of Schottky diodes to...

    Like all CMOS chips a pair of Schottky diodes to the rails and a series resistor will do the job of protecting inputs.
    To my knowledge exceeding the rails in the inputs by more than a diode drop...
  11. Replies
    13
    Views
    1,429

    You haven't indicated any Vcc in the diagram so...

    You haven't indicated any Vcc in the diagram so its not at all clear what you mean.
  12. You seem to be turning wav file volume on at the...

    You seem to be turning wav file volume on at the same time as microphone volome on, rather than cross-fading -
    I thought you wanted to cross-fade between them?
  13. Replies
    1
    Views
    110

    That chip is limited to 10MHz SPI, you need to...

    That chip is limited to 10MHz SPI, you need to ensure the Teensy version sets the SPI clock speed to <= 10MHz.
    The Uno is physically imcapable of clocking faster than 8MHz so it won't see this...
  14. Which module? Is it I2S master or slave?

    Which module? Is it I2S master or slave?
  15. But only in the abbreviated form... Hz stands...

    But only in the abbreviated form... Hz stands for hertz, N for newton, A for ampere. This distinquishes the unit from
    the person (as in "the newton (N) is named after Newton").

    There is one...
  16. Replies
    27
    Views
    626

    Grounding the input means connecting it to ground...

    Grounding the input means connecting it to ground (0V normally). Gnd is short for ground
  17. Add an AudioInputI2S and connect it to channels 2...

    Add an AudioInputI2S and connect it to channels 2 on both mixer1 and mixer2.

    Initialize the sgtl5000 to use microphone input and configure the mic gain as necessary. By turning the channel 2...
  18. Replies
    10
    Views
    390

    The outputs are not designed to be continuously...

    The outputs are not designed to be continuously shorted even in current limited modes, so always use a resistor with an LED.
    The configuration of output currents is about reducing EMI, not driving...
  19. Forum rule is there for a reason... Post your...

    Forum rule is there for a reason... Post your current code and explain what's not working?
  20. Replies
    11
    Views
    323

    Well I think its various lines of code, the setup...

    Well I think its various lines of code, the setup for I2S hardware could be copied from the I2S classes and the BCLK changed to
    16 per sample from the 32 per sample used by the audio library. What...
  21. Uses half as much memory and nearly twice as fast...

    Uses half as much memory and nearly twice as fast I suspect. An N-point FFT with real inputs can be done using an N/2-point complex FFT
    using some clever pre- and post-processing.

    An N-point...
  22. It has various logic to set the mode variable,...

    It has various logic to set the mode variable, and then updates various mixer gains dependent on the mode.
  23. Replies
    9
    Views
    428

    An audio device with nothing plugged in is going...

    An audio device with nothing plugged in is going to see the thermal noise from its internal load resistance, which can be considerable if this is
    the standard value (50k). With a low-impedance...
  24. The internal clock speed of a processor is often...

    The internal clock speed of a processor is often higher than the speed the GPIO pads are clocked, since those aren't in the
    low voltage core of the chip which has the fastest speed. This is why...
  25. OK its not line endings then, but taking another...

    OK its not line endings then, but taking another look this is a worry:


    client.println("Host: https://eu-central-1-1.aws.cloud2.influxdata.com");

    Since the Host line takes a domain and port...
  26. Yes, you use a mixer to combine them as I said. ...

    Yes, you use a mixer to combine them as I said. You can choose whatever combination you like - the mixer is just an audio mixer with
    control inputs from 0 to 1 representing the range of movement in...
  27. Perhaps that's not generating valid HTTP headers....

    Perhaps that's not generating valid HTTP headers. Every line in an HTTP header _must_ end with \r\n, including the blank line at the end of the headers.
    I don't know if the EthernetClient library...
  28. Replies
    9
    Views
    428

    Could it just be clipping that you are...

    Could it just be clipping that you are experiencing? The Audio shield inputs have a limited voltage range they can tolerate
    (somewhat less than 3.3V peak-2-peak) before they clip, and once above...
  29. Its a decoupling capacitor so the value isn't...

    Its a decoupling capacitor so the value isn't critical. The polarized symbol on the schematics is a known inaccuracy, they are all MLCC's (there isn't room for anything else)
  30. Perhaps use a mixer with the mic input and synth...

    Perhaps use a mixer with the mic input and synth waveforms as inputs, allowing switching/crossfading between these sources?
  31. Just feed an attenuated sample of the TX coil to...

    Just feed an attenuated sample of the TX coil to the other channel and you can compare the phases between channels perhaps?
  32. Since the system samples at 44100Hz, 22kHz is...

    Since the system samples at 44100Hz, 22kHz is indeed the maximum frequency supported by the Audio library, in its out-of-the-box configuration. Increasing this is possible, there are various threads...
  33. Replies
    2
    Views
    205

    The AudioOutputI2S2slave class is work in...

    The AudioOutputI2S2slave class is work in progress I think - its commented out in the sources at the moment.

    The classes are named from the Teensy's point of view - ie the slave classes work with...
  34. I guess that's perfectly possible - you'd need to...

    I guess that's perfectly possible - you'd need to ensure suitable scaling of the received signal to the right level for best sensitivity without clipping too readily.
  35. Replies
    4
    Views
    239

    Or I think you can use AudioOutputI2S and...

    Or I think you can use AudioOutputI2S and AudioOutputI2S2 together if on an Teensy 4.x
  36. Pretty sure it doesn't from what I've seen here...

    Pretty sure it doesn't from what I've seen here (not played with it myself)
    USB doesn't run on a 44.1kHz clock, so I presume it can't do the timing for the library like the I2S hardware.

    If you...
  37. Replies
    7
    Views
    264

    FYI: surface mount resistors are identifiable as...

    FYI: surface mount resistors are identifiable as they are nearly always black on top with white printing on them
    showing the value (unless really tiny) they also have metal endcaps.

    Brown/tan...
  38. You need at least one class that generates...

    You need at least one class that generates regular interrupts to fire up the whole audio library - try adding one of
    the I2S classes. I suspect the mono and stereo analog inputs differ in this.
  39. The DMG3406L is only rated for 4.5V gate drive,...

    The DMG3406L is only rated for 4.5V gate drive, but will probably work at 3.3V (for these low currents).
    You need to use a switching configuration when switching, ie a common-source circuit with the...
  40. Replies
    196
    Views
    39,203

    Its all too credible that just-in-time supply...

    Its all too credible that just-in-time supply chains are very brittle to unexpected disruptive world events,
    since by its nature nearly everything is on the critical path leading to cascades of...
  41. Replies
    5
    Views
    412

    You can use the main high current wiring as a...

    You can use the main high current wiring as a shunt, basically tapping into it at two points for a Kelvin connection. This isn't
    ideal as the tempco. of copper is quite high compared to most...
  42. Replies
    11
    Views
    508

    A bare FFT produces an amplitude spectrum - the...

    A bare FFT produces an amplitude spectrum - the values are related to the power in each frequency bin, so more level
    means larger values. If you want to normalize this somehow you have to decide...
  43. Replies
    2
    Views
    310

    Audacity has 0dB as full scale, no headroom. ...

    Audacity has 0dB as full scale, no headroom.

    WAV samples are signed unless 8 bit, IIRC. For 16 bit that's +/-16384 for -6dB.

    I just use wav files and chop the header off if needed raw.


    ...
  44. Replies
    11
    Views
    508

    You always need to call AudioMemory - perhaps...

    You always need to call AudioMemory - perhaps look at a working example program for the Audio library, there are several preloaded into the IDE
  45. The problem was the LED current was sharing the...

    The problem was the LED current was sharing the same ground wire/connections as the audio signal. Wires have resistance
    (a few milliohms per inch or so, but depends on the gauge of course),...
  46. I don't see the problem, an array of voltage...

    I don't see the problem, an array of voltage dividers into an 8-channel ADC does the job, nice and simple. Yes you
    need suitable precision to address the dilution of precision, but its not like...
  47. Not sure I can figure out what you'd done without...

    Not sure I can figure out what you'd done without a circuit diagram....
  48. Don't touch it then! Better still just ground...

    Don't touch it then! Better still just ground the mic input.

    The problem is that the 2k2 resistor couples the input to the supply rail, and the supply rail has some output modulated on it.
    With...
  49. Replies
    11
    Views
    508

    You need something that generates interrupts to...

    You need something that generates interrupts to fire up the audio chain otherwise nothing happens. Add an I2S input or output object perhaps?
  50. Replies
    8
    Views
    378

    Its standard for full blown operating system...

    Its standard for full blown operating system TCP/IP stacks, that's not the same as being supported on
    microcontrollers - corners are often cut on less resource-rich hardware (for instance its not...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4