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

Search:

Type: Posts; User: Stendall

Search: Search took 0.00 seconds.

  1. Replies
    42
    Views
    2,782

    Working. Huge thanks Frank. Extendable to each...

    Working.
    Huge thanks Frank. Extendable to each and every contributor that makes Teensy great.

    Thank you all.
  2. Replies
    42
    Views
    2,782

    Hi Paul. I'm sorry to bother you but I think the...

    Hi Paul.
    I'm sorry to bother you but I think the mic input have lost it's functionality in 1.52 Beta #2.
    hardware Teensy 4 + Teensy Audio adapter Rev D

    I have it tested with a simple script...
  3. Replies
    82
    Views
    7,340

    Thanks Paul. I hope you live long and prosper. :)

    Thanks Paul.
    I hope you live long and prosper. :)
  4. AudioOutputUSB & AudioOutputUSB Teensy 4.0

    Hi.
    Anyone knows how it's the USB audio input/output support/roadmap for Teensy 4.0?
    I've searched through the forum but can't find news about this newer than September 2019.

    I've screwed my...
  5. Replies
    29
    Views
    1,327

    Hi Bob. Forget about Teensy now. Just put one...

    Hi Bob.
    Forget about Teensy now.
    Just put one resistor 47K in parallel with the input source, now a 10 uF capacitor in series with the live wire of the signal, and from the capacitor output to the...
  6. Replies
    29
    Views
    1,327

    Try in a breadboard just one 47k parallel...

    Try in a breadboard just one 47k parallel resistor with a series 10uF capacitor.
    Just to check if the problem is the impedance.
  7. Replies
    29
    Views
    1,327

    Hi Bob. Some ideas: Is there a reason to use...

    Hi Bob.

    Some ideas:
    Is there a reason to use AudioInputAnalogStereo with a mono input?

    By the way your components legs are way too log.
    That doesn't matter a lot in the output (amplfied...
  8. Replies
    29
    Views
    1,327

    It is Marshall o Marshal? Are you using audio...

    It is Marshall o Marshal?
    Are you using audio cables (shielded)?
    Hi pitch or low pitch noise?
  9. Replies
    4
    Views
    297

    Hi donperryjm. Just to start: What Teensy...

    Hi donperryjm.

    Just to start:
    What Teensy model are you using?
    Are you using a USB car charger to power the Teensy?
    If not, are you using a linear regulator or a switching power supply? What...
  10. I see why the two speed variables don't do the...

    I see why the two speed variables don't do the trick for you:
    You do all in one loop:


    if (tempSpeed < MySpeed)
    { ...
  11. Yep. Use 2 variables to store velocity. One will...

    Yep. Use 2 variables to store velocity.
    One will have the real_velocity reported by the GPS, the other one will have the virtual_velocity used to calc the pitch.
    Use a PID or similar algorithm to...
  12. That depends on what is the pitch you want to be...

    That depends on what is the pitch you want to be the minimum ( for 0kph I guess) and that the maximum (for 45kph)
    Instead using pow that in the event of readings outside scale do not limit function...
  13. I assume that you mean that pitch tone speeds up...

    I assume that you mean that pitch tone speeds up slow compared with the car speed.
    The first question will be what is your top speed reading from the GPS.
    Second will be if GPS really update your...
  14. More seconds means more memory. More memory means...

    More seconds means more memory. More memory means to use other MCU more expensive and maybe a whole new board design.
    10 seconds * 2 (16 bits) * 2 (audio channels) * 44100 (Hz) = 1764000 Bytes =...
  15. Sorry alonper, I don't know what it's the real...

    Sorry alonper, I don't know what it's the real number of total delay. Because among other things depends on your hardware (PC USB host chipset, OS, drivers, USB ubs you use... and so on).
    In fact...
  16. There is a physical law you cannot escape. If...

    There is a physical law you cannot escape.
    If the latency of the teensy+audio adapter+usb host+PC usb drivers it's for instance 10ms, you cannot configure in ASIO a buffer value that it's less than...
  17. You welcome. Just remember that no all audio...

    You welcome.
    Just remember that no all audio objects use the same amount of audio blocks (AudioMemory).
  18. I think you are short on audio memory. You are...

    I think you are short on audio memory.
    You are allocating 12 blocks (AudioMemory(12)) for 11 objects.
    Progressively add more memory compile and try until there is no noise. Then add a few more...
  19. Replies
    4
    Views
    1,409

    I've used your sketch and can see the crosstalk...

    I've used your sketch and can see the crosstalk even at 48Mhz (teensy 3.1).
    An rough calculation show that the audio leakage it's about 0.0018 in amplitude for a 0.6 sine.
    I think the crosstalk...
  20. Replies
    4
    Views
    1,409

    The crosstalk it's worse if you overclock the...

    The crosstalk it's worse if you overclock the teensy (3.1).
    At 72MHz it's not bit deal, but at 96 and 120 some times it's very noticeable.
  21. Are you sure you get exactly this noise (180hz...

    Are you sure you get exactly this noise (180hz peak) when you use batteries?
    Maybe you having more than one noise source. The noise from wall outlet and environmental noise.
    Did you put the 1uF...
  22. What is the mains power frequency in your house?....

    What is the mains power frequency in your house?.
    60 hz. ?

    I think you could have a power supply issue.
    The first line looks like 180hz. Second harmonic of 60hz
  23. Try moving a little bit to the right the teensy...

    Try moving a little bit to the right the teensy and audio board and then use a shorter path for VCC and GND to the mic board. Right now you using more than 20cm of cable if you take into account the...
  24. From the audio design tool: micGain(dB); When...

    From the audio design tool:
    micGain(dB);
    When using the microphone input, set the amplifier gain. The input number is in decibels, from 0 to 63.

    From control_sgtl5000.h:
    bool micGain(unsigned...
  25. Replies
    20
    Views
    3,676

    Programers always have to think about what they...

    Programers always have to think about what they are doing xD
  26. Replies
    20
    Views
    3,676

    As Frank says the correct thing to do its correct...

    As Frank says the correct thing to do its correct the warnings... in code.
    I've been programming since 13 years old in assembler, C, C++, Pascal, Perl, Java, ASP, PHP, bash and so many languages I...
  27. Replies
    10
    Views
    2,287

    uint8_t < 1000 ????? You have invented the 10...

    uint8_t < 1000 ?????
    You have invented the 10 bits byte.

    By the way, for instance you may need volatile if you update one variable in a ISR routine and use it outside the ISR.
  28. Replies
    14
    Views
    3,584

    Pins 6, 7, 10, 12 and 14 are used in the audio...

    Pins 6, 7, 10, 12 and 14 are used in the audio shield for SD card slot and memory flash.
    If you don't use SD slot and don't have soldered the memory flash you can use those pins as alternate.
    ...
  29. Replies
    14
    Views
    3,584

    Of course you need more includes and code, like...

    Of course you need more includes and code, like the SPI and audio library includes. I've just put the relevant part for the issue with SPI pin remapping.
    You just need to add the SPI remapping...
  30. Replies
    14
    Views
    3,584

    Time ago I've had the same problem but with...

    Time ago I've had the same problem but with ST7735.
    Fixed like this:


    #define TFT_CS 21
    #define TFT_DC 20
    #define TFT_RST 3
    #define TFT_MOSI 7
    #define TFT_SCLK 14...
  31. Replies
    39
    Views
    28,581

    The Adafruit_ST7735 still do not work well with...

    The Adafruit_ST7735 still do not work well with audio shield.
    Doesn't have the begin() function to call inside setup() after SPI pins remap.
    The library setup the SPI pins in the constructor which...
  32. Replies
    59
    Views
    25,506

    Chris, the Sinclar Spectrum runs in a 8 bit...

    Chris, the Sinclar Spectrum runs in a 8 bit processor with no multiply o divide 4Mhz processor (and the processor has to refresh the ram in software).
    And the Spectrum runs the processor at 3.5Mhz...
  33. Sorry to bump up this oldie, but I still don't...

    Sorry to bump up this oldie, but I still don't give up on using ST7735 tft (hardware SPI) and audio shield at the same time.
    The problem is that there's no begin() function on ST7735 library and I...
  34. Replies
    10
    Views
    3,130

    ¿Are you powering preamp through a LED?

    ¿Are you powering preamp through a LED?
  35. Granted that you get some sort of sample and hold...

    Granted that you get some sort of sample and hold that take less than 1ns and somehow you can read the sample, process and do something with it in only 1 clock step.
    Problem is that if I'm not wrong...
  36. Thread: Guitar Input

    by Stendall
    Replies
    10
    Views
    3,743

    Try the line-in input. The datasheet shows that...

    Try the line-in input.
    The datasheet shows that SGTL5000 has 29K input impedance on line-in while the mic-in has 2.9K.
    Line-in it's match closely the guitar impedance and will give better results.
  37. Thread: Guitar Input

    by Stendall
    Replies
    10
    Views
    3,743

    I've been using for a time my guitar with the...

    I've been using for a time my guitar with the line-in input of the teensy audio board (tuner sketch) with no problem at all.
    Gives plenty of signal with all pickups. Singles and humbucker.
    Maybe...
  38. Replies
    5
    Views
    2,334

    You don't need any external library to accomplish...

    You don't need any external library to accomplish that.
    The USB HID support of the Teensy core libraries already support key modifiers like the media keys you need.

    There is one page explaining...
  39. Replies
    6
    Views
    3,726

    Thank you very much Paul.

    Thank you very much Paul.
  40. Replies
    6
    Views
    3,726

    I will like to notice that also the MICBIAS 1.0uF...

    I will like to notice that also the MICBIAS 1.0uF capacitor is misplaced.
    It should be on the left of the 2.2K resistor. Between the pin 16 and ground.
  41. Replies
    17
    Views
    4,260

    If you are to use the PWM to control a stepper...

    If you are to use the PWM to control a stepper motor, why didn't use something like the motor library?:
    https://www.pjrc.com/teensy/td_libs_Stepper.html...
  42. Thank you cartere. I've tried but still don't...

    Thank you cartere.
    I've tried but still don't work. The display just lights up.
    The ST7735 constructor won't take 2 parameters like the example (ILI9341_t3(TFT_CS, TFT_DC)). The display it's a...
  43. Audio adaptor boad + ST7735 (Using hardware SPI)

    Hi guys,

    I have lying around some ST7735 TFTs (160x128), some Teensys 3.1 and one Teensy audio adaptor boad.
    I've been trying to build up some kind of realtime audio spectrum view. Like this:...
Results 1 to 43 of 43