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

Search:

Type: Posts; User: kd5rxt-mark

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    1,190

    Assorted library warnings on first build (only) of TD1.57b1

    Installed TD1.57b1 over TD1.56 (without uninstalling). Building with Arduino 1.8.19 under the following conditions:


    Arduino IDE Configuration (last built with Arduino 1.8.19 + Teensyduino...
  2. Richard: I took another look at my...

    Richard:

    I took another look at my TeensyMIDIPolySynth source & realized that there is one additional difference in my implementation of the USBHost interface that might be pertinent. Because I...
  3. @Rolfdegen (or anyone else who has already...

    @Rolfdegen (or anyone else who has already succeeded in adding an oscilloscope display to your TFT project display):

    I would like to add an oscilloscope display of the (digital) audio stream...
  4. @rvh: Regarding your earlier question on the...

    @rvh: Regarding your earlier question on the use/need for calling myUSB.Task(), the USBhost source shows:


    /**
    * \brief USB main task, responsible for enumeration and clean up stage.
    *
    *...
  5. Wow, how did I miss that ?? Don't I feel a...

    Wow, how did I miss that ?? Don't I feel a little foolish right now !! Thanks for the quick reply, Paul. For my more complex projects (like this one), I always include a "pin usage" diagram in the...
  6. Using Serial5 on T4.1 seems to interfere with T4 Audio Adapter Board

    BACKGROUND: I have continued to expand my TeensyMIDIPolySynth project & am very pleased with how it keeps progressing. The current version uses a T4.1 + Audio Adapter Board + RA8875 display. All...
  7. Replies
    11
    Views
    375

    @InvalidSyntax(2): In my project, I was using...

    @InvalidSyntax(2):

    In my project, I was using the Audio Adapter, which has the headphone jack right on the board. Sorry, I don't have any experience with making use of signals directly from DACs....
  8. Sorry, I overlooked the fact that you are using...

    Sorry, I overlooked the fact that you are using the Teensy LC, which, as Paul pointed out, does not have the required USBhost port. Sorry that I did not really answer your question completely and/or...
  9. @syusaku sano: Using my best guess from your...

    @syusaku sano:

    Using my best guess from your pictures and your description, I am guessing that the connection between the PC and the Line6 pocketPOD is via USB. If that is the case, you will need...
  10. Replies
    11
    Views
    375

    @InvalidSyntax: I can't speak specifically to...

    @InvalidSyntax:

    I can't speak specifically to mixing USB audio with waveforms, but I can tell you that in my TeensyMIDIPolySynth project (which used physical pots read thru analog pin inputs to...
  11. Replies
    331
    Views
    55,266

    @luni: Nice !! Would it be better to move...

    @luni:

    Nice !!

    Would it be better to move the calling of "Serial.println("triggered <--------------");" down into loop(), where the "start" condition is detected, rather than having it called...
  12. Replies
    22
    Views
    413

    donperryjm: FYI: mediafire is not happy with...

    donperryjm: FYI: mediafire is not happy with something about the way you tried to share the file(s):

    28122
  13. Not 100% sure, but I'd bet that tutorial is for...

    Not 100% sure, but I'd bet that tutorial is for the older AVR-based Teensies & isn't appropriate for the Teensy 4.0. Take a look at <this> thread & see if it will get you where you're wanting to go...
  14. Being in the US, not sure if either Adafruit or...

    Being in the US, not sure if either Adafruit or SparkFun are available for you in the UK. If the 74HC595 will work for your application, Adafruit sells the individual ICs (3-pack) & SparkFun sells a...
  15. @BriComp probably meant "full code" rather than...

    @BriComp probably meant "full code" rather than "dull code" !!

    Mark J Culross
    KD5RXT
  16. Replies
    7
    Views
    291

    Q1 (with Q2): with two channels, each with gain...

    Q1 (with Q2): with two channels, each with gain set to 1, the output audio will be a combo of the two inputs without any attenuation or amplification?
    A1 (with A2): Yes. Note that, if the two...
  17. Replies
    15
    Views
    466

    You beat me to the punch . . . sorry to come late...

    You beat me to the punch . . . sorry to come late to the party, but happy that I'm at least walking a similar path !!

    So, how about if, in addition to the interrupt at zero crossing which manages...
  18. Replies
    6
    Views
    197

    @SoulReaver: Whoops, I should have paid more...

    @SoulReaver:

    Whoops, I should have paid more attention to the fact that you are using a T3.2 . . . you are entirely correct that it has 5V-tolerant pins. Mea Culpa !! (I'd use the excuse that I...
  19. Replies
    15
    Views
    466

    I have not messed with either a zero-crossing...

    I have not messed with either a zero-crossing circuit or with dimmers (since the long-ago TRIAC choppers . . . I'm showing my age !!), but could you use the following:

    - globally define &...
  20. Replies
    6
    Views
    197

    @SoulReaver: Looking at the wiring setup image...

    @SoulReaver: Looking at the wiring setup image from your OP, I would check the output signal level from the IR receiver (using an o-scope, not a meter...your meter will not give you the peak value,...
  21. Stick with it, you're very, very close to...

    Stick with it, you're very, very close to accomplishing your intent !! My compliments on your work & your persistence !!

    Try making the simple changes flagged below in RED & see if that makes a...
  22. @NotSo: Let's see if I understand your intent...

    @NotSo:

    Let's see if I understand your intent correctly:

    I) detect a sound & determine its frequency
    II) send a MIDI NoteOn for the note/frequency detected
    III) if/when the sound goes away,...
  23. Maybe you just made a simple typo, but I would...

    Maybe you just made a simple typo, but I would not expect any well-designed device that is intended to provide USB power to be putting out anywhere near 6VDC. Prior to USB 2.0, the USB spec defined...
  24. Replies
    6
    Views
    178

    @ralphhipps: For clarity, the "# key" that...

    @ralphhipps: For clarity, the "# key" that BriComp refers to is the "#" button located above the editor area (not the "#" key on the keyboard). You can use one of the following ways to make use of...
  25. Replies
    2
    Views
    183

    In the Arduino IDE, click on File > Examples >...

    In the Arduino IDE, click on File > Examples > Examples for Teensy 4.1 > USBHost_t36 > (any of the listed examples, for example USBHost_viewer). These will show examples of how to make use of the...
  26. Replies
    9
    Views
    269

    @artUdino (Bertram): Good to hear that you are...

    @artUdino (Bertram):

    Good to hear that you are making great progress.

    [ Again, these suggestions are extemporaneous, as I have not actually tested the code provided below, so take due care once...
  27. I've not used threads, so I may be missing...

    I've not used threads, so I may be missing something simple. Try removing and/or commenting out the RED line above & see what happens . . .

    Mark J Culross
    KD5RXT
  28. @Praxis: Can you post a picture of your setup &...

    @Praxis: Can you post a picture of your setup & wiring ?? Could you possibly have the RX & TX pins misconnected/swapped ?? Try swapping those two pins for a quick test . . . without seeing your...
  29. Replies
    9
    Views
    269

    @artUdino: When I was active as an Assistant...

    @artUdino:

    When I was active as an Assistant Scoutmaster in our local Boy Scout Troop, I used to tell the Scouts: "There are no stupid questions. If you are thinking of asking the question, there...
  30. Replies
    9
    Views
    269

    @artUdino: [ Please note that I am typing this...

    @artUdino:

    [ Please note that I am typing this without actually testing/running it on a Teensy, as I am not where I can actually do any testing (in fact, being lazy, I have not even tried to...
  31. @RobTec: When using the "hold the button for 15...

    @RobTec:
    When using the "hold the button for 15 seconds to reset", you should not unplug the Teensy until the solid red LED extinguishes & the orange LED starts blinking. As long as the red LED is...
  32. Replies
    12
    Views
    334

    @JoeJohnson34: The suggestion (by...

    @JoeJohnson34:

    The suggestion (by MichaelMeissner) to use WS2812B LED strings is well worth considering, as using libraries such as the OctoWS2811.h provided & supported by PJRC makes driving your...
  33. The OP title says T3.5 . . .

    The OP title says T3.5 . . .
  34. @ATORTeensyMan: My understanding from your...

    @ATORTeensyMan:

    My understanding from your initial post is that you want to write a sketch for your Teensy which will accomplish the same functionality as the Python code that you included. I...
  35. Jared: See <

    Jared:

    See <<this>> link for discussion on how the RTC can be set.

    Mark J Culross
    KD5RXT
  36. Russ: I've successfully used these 74HC4067...

    Russ:

    I've successfully used these 74HC4067 MUXs (tow-levels, cascaded for *lots* of analog inputs) on my TeensyMIDIPolySynth. In my project, I used both [2,3,4,5] & [9,10,11,12] for the MUX...
  37. Replies
    21
    Views
    524

    @paulhat: Very good. Good luck with your...

    @paulhat:

    Very good. Good luck with your project & we'll look for your future reports on your success !!

    Mark J Culross
    KD5RXT
  38. Replies
    21
    Views
    524

    Here's my justification for asking the question...

    Here's my justification for asking the question that I did: 38.4kbps can be approximated as 3840 bytes/sec. Using this, I roughly calculated the number of characters that can fit in the 128 byte...
  39. Replies
    21
    Views
    524

    What does your receiver do if you remove the...

    What does your receiver do if you remove the delay(50) ??
  40. Consider using the 75HC595 instead...the 74HC4067...

    Consider using the 75HC595 instead...the 74HC4067 is much better suited to multiplexing multiple analog inputs/output to/from a single Teensy pin. If/when used to drive LEDs (as I found out with my...
  41. Pin 13 also doubles as SCK0. Do you have any SPI...

    Pin 13 also doubles as SCK0. Do you have any SPI peripherals connected and/or in use by chance ??

    Mark J Culross
    KD5RXT
  42. Replies
    17
    Views
    5,044

    Thanks for making me & my TeensyMIDIPolySynth...

    Thanks for making me & my TeensyMIDIPolySynth "world famous for fifteen minutes" (as predicted by Andy Warhol) !! All of the credit goes to the Teensy 4.x & the associated Teensy Audio Adapter Board...
  43. Replies
    1
    Views
    207

    I may not be interpreting your intent 100%...

    I may not be interpreting your intent 100% correctly, but just in case I am, how about if each entry in your array includes a value for its length (# of beats, # of measures, etc.). You keep an...
  44. Replies
    2
    Views
    241

    @toutant: In my

    @toutant:

    In my <<TeensyMIDIPolySynth>> project (original version - I've since converted to using a 7: RA8875 display with all of the pots simulated on the display), I had 48 pots (each 50K) which...
  45. According to < >...

    According to <<this>> webpage, the Rev D Audio Adapter Board uses pin 8 as "DOUT (IN) Audio Data from Audio Shield to Teensy". When you initialize your display, the initialization is very likely...
  46. Replies
    8
    Views
    660

    Guessing: test points ??

    Guessing: test points ??
  47. @mrm: If needed, could you output your PWM...

    @mrm:

    If needed, could you output your PWM clock at 2x the desired frequency & add a discrete hardware flip-flip (will effectively divide input frequency by two) to the PWM output pin to square up...
  48. Sorry, I missed your specific mention of "client...

    Sorry, I missed your specific mention of "client USB" in your original post. Apologies !!

    Mark J Culross
    KD5RXT
  49. @nschagen: If it works for your particular...

    @nschagen: If it works for your particular setup/application, you might look into using a 74HC4067 analog MUX (Adafruit has a nice breakout board). Using this device would allow you to sample 16...
  50. @MarkPing: The pinout information for the...

    @MarkPing:

    The pinout information for the T4.0, including the D+ / D- on the back of the PCB can be found at this <<URL>>.

    Hope that helps,

    Mark J Culross
    KD5RXT
Results 1 to 50 of 367
Page 1 of 8 1 2 3 4