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
    29
    Views
    2,791

    To look inside applications on MacOS using the...

    To look inside applications on MacOS using the finder try right-click "show package contents" to see the internals.

    Then its Contents/Java/hardware/......
  2. I think I erroneously assumed from "recorded"...

    I think I erroneously assumed from "recorded" that this was audio (been doing a lot of this recently) -
    if this a data-logger style application then the 1/f noise knee would be more important than...
  3. Yes, SDcards get hot, they dissipate a lot of...

    Yes, SDcards get hot, they dissipate a lot of power for a small device. [ especially when writing them ]
  4. My observations on this circuit. Firstly the...

    My observations on this circuit.

    Firstly the AD8225 and OP2177 aren't rail-to-rail, which can be very limiting operating from a single 5V.
    Have a look at devices like the OPA1692 or AD8586 for...
  5. I annotated my T4.0 pin-out card with dots on...

    I annotated my T4.0 pin-out card with dots on each of the pins used by the AudioShield
    so I don't have to keep pulling up the schematic of the shield. Might be a useful addition to
    the cards in...
  6. Input_Start needs to be declared volatile.

    Input_Start needs to be declared volatile.
  7. Some audio devices use TRS as balanced mono...

    Some audio devices use TRS as balanced mono signal, using T and R as the hot/cold signals.
    Sometimes TRS is used as stereo though, so it can get confusing.

    There are combined XLR/TRS connectors...
  8. Replies
    9
    Views
    859

    Just had a thought about this - I think I use...

    Just had a thought about this - I think I use new/delete for the variable sized FFT to get its data vectors, so
    its not using tightly coupled memory. I suspect its limited by memory...
  9. Replies
    7
    Views
    235

    I've stared at the code again and think I've...

    I've stared at the code again and think I've found a bug to do with this:



    void AudioFilterBiquad::setCoefficients(uint32_t stage, const int *coefficients)
    {
    if (stage >= 4) return;...
  10. Replies
    9
    Views
    859

    gfft? Is this just the FFT's or including...

    gfft?

    Is this just the FFT's or including screen updates?
  11. Replies
    38
    Views
    787

    3W, not 4W, so 1.75W in the regulator, but as I...

    3W, not 4W, so 1.75W in the regulator, but as I say still far too much without good thermal design (heatsinking).
  12. Replies
    6
    Views
    173

    Yes, its pullups for I2C:...

    Yes, its pullups for I2C: https://en.wikipedia.org/wiki/I%C2%B2C#Physical_layer

    However if you are 3.3V driving 5.0V the pullups might be an issue with the protection diodes
    in the Teensy driving...
  13. Replies
    11
    Views
    307

    Using differential signalling is going to...

    Using differential signalling is going to maximize your change of success for this, so lets hope it works first time!
  14. Replies
    6
    Views
    220

    I just picked one of the examples - have you...

    I just picked one of the examples - have you checked if they compile (and copied how they set things up)?
  15. Replies
    38
    Views
    787

    You appear to have a DPak or DPak2 linear...

    You appear to have a DPak or DPak2 linear regulator without any thermal plane? The T4 can easily take 0.25A at full speed,
    plus you have other circuitry, so lets estimate 0.3A, so dropping from...
  16. Replies
    5
    Views
    166

    You need to include at least one audio object...

    You need to include at least one audio object that generates a clock, for instance AudioInputI2S or AudioOutputI2S.
    Without a clocked object nothing ever happens.
  17. Replies
    11
    Views
    375

    I think we're at cross-purposes, I'm talking...

    I think we're at cross-purposes, I'm talking about methods of generating sampled sinusoids that are way faster than sincosf,
    3 add/subs and 2 muls to generate both sin and cos per sample. Its the...
  18. Replies
    11
    Views
    375

    I have some code using one of the techniques for...

    I have some code using one of the techniques for generating sines (in fact this one generates quadrature,
    ie cosine and sine simultaneously), in one of my experiment branches of the Audio library:...
  19. Replies
    6
    Views
    220

    I see these errors: ...

    I see these errors:



    /Users/markt/teensy_sketchbook/libraries/RMCS2303drive/src/RMCS2303drive.cpp:25:19: error: comparison between distinct pointer types 'HardwareSerial*' and...
  20. Replies
    11
    Views
    375

    Great, but note that I just skimmed the datasheet...

    Great, but note that I just skimmed the datasheet for the pinout and the application circuit - always worth doing.
  21. Replies
    11
    Views
    375

    It will work fine with only 16 bits, I2S is...

    It will work fine with only 16 bits, I2S is designed to be smart about this.

    There are several ways to sythesize sine waves efficiently, table lookup is not the only way as there are several...
  22. Replies
    7
    Views
    235

    From my reading of the code yes, but why not...

    From my reading of the code yes, but why not actually try it to be sure?
  23. Replies
    5
    Views
    168

    In general using a delay style function will be...

    In general using a delay style function will be inaccurate as it only accounts for time in the delay call,
    not time outside it. If there were a nanos() call (which could be useful for the T4 ...)...
  24. "The CPU values are in percent" means the units...

    "The CPU values are in percent" means the units are percent. So 0.59 means 0.59%, or as a fraction 0.0059 of the time.

    2,4 means 2 blocks live last time, 4 blocks live being the maximum ever...
  25. Replies
    7
    Views
    235

    Just do biquad.setBandpass(0,1000,1); ...

    Just do

    biquad.setBandpass(0,1000,1);

    again. Each stage definition will terminate the string of filter stages unless it is for a stage one more than the last one,
    so redefining the first...
  26. Replies
    4
    Views
    198

    I'd suggest starting with a good tutorial on...

    I'd suggest starting with a good tutorial on state machines, this is rather lengthy but looks to be a good guide:
    https://barrgroup.com/Embedded-Systems/How-To/State-Machines-Event-Driven-Systems
    ...
  27. The CPU values are percent, so if there was an...

    The CPU values are percent, so if there was an overload it would have to be in the low-level
    DMA interrupt(s). From the low and constant value is suggests no processing is done in
    the Audio...
  28. Replies
    9
    Views
    316

    I'm pretty sure I can see a solder short in the...

    I'm pretty sure I can see a solder short in the third image, one of the top pin row has a little blip
    of solder over the horizontal bus trace?
  29. Replies
    4
    Views
    198

    Figure out the states you need to represent this,...

    Figure out the states you need to represent this, I think you probably need:

    IDLE
    PRESSED
    PRESSED_LONG

    Use a variable to explicitly record the current state so you can respond to the...
  30. Replies
    7
    Views
    168

    I think the 4mA is the max nominal output drive...

    I think the 4mA is the max nominal output drive current setting for a pin - not the abs max current you can actually draw - I can't
    remember seeing that in the datasheet when I was looking.
  31. Replies
    7
    Views
    216

    The issue I see from the videos seems to involve...

    The issue I see from the videos seems to involve speckling and artifacts that might be to do with
    the colour mapping, doesn't seem to be just shape issues. It also might not be resampling suitable...
  32. Replies
    7
    Views
    216

    Forum rule?

    Forum rule?
  33. Each interrupt can capture the timestamp when it...

    Each interrupt can capture the timestamp when it fires, the main code can wait for these to change and take the
    difference perhaps?
  34. Replies
    7
    Views
    216

    can you be specific as to what is happening?...

    can you be specific as to what is happening?
    Pics perhaps?

    Forum rule?
  35. Replies
    4
    Views
    164

    I think this page is what you want for separate...

    I think this page is what you want for separate powering:
    https://www.pjrc.com/teensy/external_power.html

    if everything's 5V and not needing lots of current this is usually simple, use one...
  36. Replies
    4
    Views
    164

    The ATmega32u4 datasheet says absolute maximum...

    The ATmega32u4 datasheet says absolute maximum 40mA per pin.

    But input pins take no current(*), provided the voltage is within the supply rails, which it should be
    if the switch / pot in question...
  37. Use whatever Vcc you have. Most people wouldn't...

    Use whatever Vcc you have. Most people wouldn't bother and just use internal pullups - it that's unreliable there
    might be some benefit from small caps. (Note the issue is not normally a problem...
  38. Replies
    9
    Views
    396

    Perhaps the alignment optical feedback system...

    Perhaps the alignment optical feedback system isn't programmed for the connector, or there are reflection/glare
    issues - good pick-and-place machines finalize the orientation and position using a...
  39. Have you used...

    Have you used AudioProcessorUsage/AudioProcessorUsageMax/AudioMemoryUsage/AudioMemoryUsageMax?
    Always worth chucking this in when experimenting:



    void loop ()
    {
    static unsigned long...
  40. Replies
    12
    Views
    319

    actually yes I believe so - arm_q15_to_flt...

    actually yes I believe so - arm_q15_to_flt perhaps? Something like that.

    I was assuming so given the use of floats...
  41. It would indeed be feasible for the envelope -...

    It would indeed be feasible for the envelope - the "mult_hires" variable in AudioEffectEnvelope is a fixed point 2.30
    value you could sample with an extra method.

    For the waveform itself the...
  42. Replies
    12
    Views
    319

    Dividing by a constant is likely slower than...

    Dividing by a constant is likely slower than multiplying by the reciprocal -


    const float recip = 1.0f/INT16_MAX ;

    ...
    blockFloat[i] = blocka->data[i] * recip;

    I'm not sure if the...
  43. Replies
    8
    Views
    291

    Some plastic film are stacked, some are wound,...

    Some plastic film are stacked, some are wound, and some wound types can be much more inductive and
    not likely to be much use for high speed decoupling.

    Standard practice is MLCC for high speed...
  44. Replies
    9
    Views
    286

    14 bit resolution for CC is perfectly possible -...

    14 bit resolution for CC is perfectly possible - it takes more bytes on the wire of course which can be an issue,
    and the MIDI sender has to know to use the 14 bit extensions for the controls in...
  45. Replies
    25
    Views
    687

    I suspect the residual noise from slewing is...

    I suspect the residual noise from slewing is because its only a 1st-order correction to the previously discontinuous gain
    changes - the derivative of the gain still has discontinuities at the start...
  46. Replies
    10
    Views
    339

    Forum rule?

    Forum rule?
  47. Some metal components are actually available with...

    Some metal components are actually available with kapton tape pre-fitted - its the industry-standard way to fix this kind of issue ;)
  48. 345Hz is the rate of audio blocks in the audio...

    345Hz is the rate of audio blocks in the audio lib, could that "320Hz" actually be 345Hz?
    If so I suspect some problem like insufficient AudioMemory - certainly posting your code would
    allow...
  49. Replies
    12
    Views
    366

    You'll need the audio lib to run at 96kSPS from...

    You'll need the audio lib to run at 96kSPS from what you say, and have a bespoke version of AudioOutputUSB
    that decimates its input by 2 to drive out at 48kSPS

    Or just use 96kSPS throughout, I...
  50. Replies
    3
    Views
    133

    Do you have a hot-air rework station? Without...

    Do you have a hot-air rework station? Without that it may be difficult to successfully reattach to the PCB - and
    even so you'd need to be very careful about temperature as these plastic parts will...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4