Search results

  1. K

    RPM Sensor for Car

    To make use of a different pin, simply connect a blue wire between your existing pin (40) & your desired pin (23). In addition to defining your desired pin (23) as an input, make sure to continue to define the existing pin (40) as an input so that the external signal is not affected by the...
  2. K

    Teensy dead or excessive boot time after flashing

    @cdalio: referring to the button on the T4 as a "BOOT" button is incorrect. The button on a Teensy is a "PROGRAM" button, & is used to initiate reprogramming of the T4. The only hardware action that will cause an initial boot on the Teensy is to apply power from a powered-off state. If your...
  3. K

    RPM Sensor for Car

    It is always best, when possible, to post your complete sketch, not just the portion that you think might be problematic. With a complete post, anyone else can copy/paste your sketch into the Arduino IDE & attempt to reproduce your problem for troubleshooting purposes. Although you're...
  4. K

    RPM Sensor for Car

    @hsn6827: I'd first get rid of the unnecessary threading. Since you're only using one thread, threading is only adding overhead, with no benefit. Instead, make use of the timer library, setup a periodic timer, & count RPM from there. Or, better yet, use the frequency measurement capability...
  5. K

    Let's talk of possible new accessory boards

    @BriComp: If that combo would provide an easy, out-of-the-box, Wi-Fi capability to the T4, I'd definitely be interested !! I've had very good luck using serial between two T4's, so I'd personally lean towards the serial interconnection, but would be willing to investigate the other...
  6. K

    Teensy not recognised but blink sketch load

    @MOCmaniac: I may be misreading what you are saying. With the T4.1 outside the case as shown in your picture (nothing else connected), unless you are connecting directly to the microUSB connector on the T4.1 itself, USB would not work with just those two USB D+ & D- wires. GROUND is needed as...
  7. K

    Teensy not recognised but blink sketch load

    @MOCmaniac (Arnaud): it's not easy to tell for sure how much clearance you have between the T4.1 & the top cover of the case, but check to make sure that the PROGRAM button is not getting pressed by the top cover or by any wires when the case is closed. Hope that helps . . . Mark J Culross KD5RXT
  8. K

    SparkFun Analog/Digital MUX Breakout - CD74HC4067 has issue with audio board

    @tkvalentine: If you want, you can take a look at where I described the first version of my TeensyMIDIPolySynth (TMPS) in <this> post. The description includes the fact that I used 74HC4067 MUXes to take inputs from 48 pots, 42 push-buttons, & to drive 42 LEDs (the LEDs were eventually...
  9. K

    MicroMod Serial Ports Query

    Take a look at the informational spreadsheets that @KurtE makes available <here>, which should give you the needed info for the specific MicroMod pins that support the built-in Serial ports. Hope that helps . . . Mark J Culross KD5RXT
  10. K

    [posted] Polaron DIY drum machine

    Not knowing exactly what errors you are seeing (posting the output from your build would be beneficial), I thought I'd give this a shot (I have no prior experience with T3.5/T3.6, as I usually use T4.x). I started by downloading the source from the link provided in p#29, selected "Serial +...
  11. K

    Limit to FLASHMEM usage?

    Oops, sorry !! I missed that !! Mark J Culross KD5RXT
  12. K

    Limit to FLASHMEM usage?

    It would be very helpful if you could post your entire sketch for others to look at. Make sure to use the CODE tags (</>) right above where you compose your reply. Mark J Culross KD5RXT
  13. K

    Forum completely inaccessible in Brazil (Error 403 Forbidden)

    Unless & until this changes, could you try using a VPN where the server is in a region other than Brazil ?? Mark J Culross KD5RXT
  14. K

    New polyhonic Teensy DIY Sampler

    Make sure to read the datasheet for the 74HC4067 analog mux carefully. It works great, but you must respect the required settling time after setting the address lines & before reading the output. Mark J Culross KD5RXT
  15. K

    Limit to FLASHMEM usage?

    @TravisSmith: What TD version are you using (TD 1.59 is the latest that has been formally released, & TD 1.60b4 (0.60b4 for the newer IDE) is the latest beta version), & which compiler optimization setting are you using ?? There have been known problems with prior versions of TD when using...
  16. K

    Issue with Stepper Motor with Builtin Decoder

    Could you temporarily add some gearing to scale up the number of counts from the encoder to get a multiplied measurement for comparison (8:1 gearing to get 8x the counts) ?? Mark J Culross KD5RXT
  17. K

    W25Q16JVSSIM Compatibility with Teensy 4.0 Design Using MIMXRT1062DVL6B

    Here's a previous <post> by @PaulStoffregen indicating that your part should work (found by using the forum search for "W25Q16JVSSIM"). Hope that helps . . . Mark J Culross KD5RXT
  18. K

    Using a display with the second SPI lane (Teensy 4.1)

    You're welcome !! Glad I could help !! Mark J Culross KD5RXT
  19. K

    New polyhonic Teensy DIY Sampler

    @Rolfdegen: I think you meant "damaged" rather than "defective" on your Teensy4 modules. You wouldn't want a future reader to get the wrong impression...the T4s were working fine when you received them. Mark J Culross KD5RXT
  20. K

    Using a display with the second SPI lane (Teensy 4.1)

    @Gabriel M: I am using a different display (RA8875), and since it is known not to always be well behaved with other devices on the same bus, I am using the SPI1 interface to connect it to my T4.1, so should be somewhat equivalent to your setup. My working setup uses the following: MOSI1 : D26...
  21. K

    Bad USB Jack

    The info card that came with your T4.1 shows the D+ / D- pads on the bottom of the T4.1 (also shown in <this> post). You should easily be able to wire to those pads, plus VUSB & GND in place of connecting to the broken microUSB connector. Hope that helps . . . Mark J Culross KD5RXT
  22. K

    regular ticking noise (4.0+audio shield) when playing from sd

    How are you listening to the output from the Teensy Audio Adapter ?? Are you using the HEADPHONE output or the LINE OUT ?? Either connecting the HEADPHONE signals to a monophonic external device (speaker, etc.) and/or shorting the L & R signals from the HEADPHONE interface together (e.g. into...
  23. K

    My Teensys keep dying!

    @mrneedmore: Have you looked at the Teensy Audio Tutorial <here> ?? After viewing this (& following along with your own actual hardware), it's very likely that you could do the programming yourself. Take a look, you might be surprised at how easy it can be . . . Mark J Culross KD5RXT
  24. K

    Out-of-sync issue

    Unless you made intentional core file modifications, the Teensy records at a default rate of 44100, not 48000. Playing a recording made at this rate back at 48000 will cause it to complete in 92% of real time (faster). Mark J Culross
  25. K

    Teensy4.X I2C issues if using Audio.h

    Yes, it appears that you have had a positive experience identical to mine, which has been that, when I2C audio control is being utilized, everything plays nicely together with the T4.x processors communicating over a shared hardware serial interface (much simpler, very efficient, & very...
  26. K

    Teensy 4.0 constant reboot magics

    It would be much easier to provide specific help if you would post a complete sketch. This would allow others to load & compile your sketch locally, as well as to evaluate your complete sketch for errors, etc. Without this, it is almost impossible to provide any kind of meaningful advice. Add...
  27. K

    Dynamic allocation a no-no on Teensy/Arduino?

    @putty: reply with some unrelated comment (joke, etc.) and/or correct my intentoinal mispelling mitsakes as an indirect indication that you are not a chatGPT bot . . . I'll wait . . . Mark J Culross
  28. K

    Teensy4.X I2C issues if using Audio.h

    In my TeensyMIDIPolySynth (TMPS) project, I have a T4.1 that controls/manages the traditional 5-pin DIN serial MIDI IN/OUT interfaces, the USBmidi IN/OUT interfaces, & the USBhostMIDI IN/OUT interfaces for up to 7 USB devices, as well as fully controlling/managing an RA8875 touchscreen display...
  29. K

    No sound at the headphone output with audio board

    @Cordel: Here are the initialization calls that I have used in a short test sketch, written to test the modulated/tunable strings audio object that @h4yn0nnym0u5e created for our use: sgtl5000_1.enable(); sgtl5000_1.muteLineout(); sgtl5000_1.dacVolume(1.0f)...
  30. K

    Teensy JTAG Bootloader probing

    Towards the bottom of <this> page, you'll find a description of how the bootloader process works. Hope that helps . . . Mark J Culross KD5RXT
  31. K

    Inconsistent Behavior in FlasherX on Teensy 4.1 – Random Bootloader Failure After Flash

    @SpicyTech404: Just for completeness, can you post the source for the .hex that you are sending via FlasherX (looking for the .ino file, not the .hex file) ?? Mark J Culross KD5RXT
  32. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e: I just finished adding a "distortion" slider (using your added strings.setDriveLevel() function) & and an associated enable/disable button to the (per-voice) strings menu in my TeensyMIDIPolySynth (TMPS), which (I agree) adds a very interesting effect to the strings. I do think...
  33. K

    AudioSynthKarplusStrong object with modulation/tuning input

    My musician son was over for a visit today, so of course he wanted to tinker around with the latest version of my TeensyMIDIPolySynth (TMPS). He noticed something that I had not previously paid any attention to: if you press a key on the MIDI keyboard (generating a call to noteOn()) but never...
  34. K

    AudioSynthKarplusStrong object with modulation/tuning input

    I can report that this version works as well as the prior. I did, as before, include these files locally in my project source directory (in general, I prefer not to overwrite any core files, to avoid the case where an intentional and/or unintentional update then overwrites my custom...
  35. K

    MTP Problem

    I'm not sure that is correct. I quite often use the mechanisms shown below to temporarily exclude sections of my code, and no complaints are generated by the compiler: #define IGNORE_THIS #define INCLUDE_THIS void setup() { } void loop() { #ifndef IGNORE_THIS for (int i = 0; i < 10; i++)...
  36. K

    AudioSynthKarplusStrong object with modulation/tuning input

    Here's a <link> to a folder on my Google Drive containing a few example recordings from my TeensyMIDIPolySynth (TMPS). Each of these recordings started as a MIDI file played by Aria Maestosa, with audio routed from the LINE OUT on the TMPS into a Pyle PAD43MXUBT USB soundcard mixer plugged into...
  37. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e (any anyone else that may stumble upon this thread in the future): Here are some measurements comparing the audio processor loading of the original unmodulated strings audio object vs. the updated modulated/tuneable strings object, as made use of in my TeensyMIDIPolySynth (TMPS)...
  38. K

    AudioSynthKarplusStrong object with modulation/tuning input

    I think that adding the modulated strings audio object to the existing synth_karplusstrong.* source files (with updated class names ending in "Mod") would be good. This would match the way the the original unmodulated waveform audio object & the newer modulated waveform audio object are both...
  39. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e: I am extremely pleased & ver much appreciative for what you have accomplished !! Before testing your latest updates, I set out to build a much simpler example sketch to finally convince myself that calling noteOff() without a preceding call to noteOn() really was causing the...
  40. K

    AudioSynthKarplusStrong object with modulation/tuning input

    With the addition of SUSTAIN PEDAL processing (requested by my son who is an accomplished pianist, as he was putting an early version of my TMPS thru its paces), the "simple" logic tree for calling noteOff() grew many more branches (e.g. a key is released, but the pedal is active, so wait either...
  41. K

    AudioSynthKarplusStrong object with modulation/tuning input

    As a side note (reminded by seeing Paul's <response> to your other post with the requested PR for remedying on optimization hang), curiously, I noticed during yesterday's testing that the hacked up test sketch does not create the desired sound if any of the LTO optimizations are used to build ...
  42. K

    AudioSynthKarplusStrong object with modulation/tuning input

    I'll take a look later today, but note that I initially hacked the test sketch to only call noteOn(), with no calls to noteOff(). Thinking that I was causing the problem by never calling noteOff(), I added those after the fact. The problem is observed the same either way, so not sure that...
  43. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e: OK, I've spent some time hacking up the audio portion of my TeensyMIDIPolySynth (TMPS) source files (which normally would require a cooperative touchpanel display managed by a T4.1 to setup & activate all of the controls & configuration) & have come up with a way to (hopefully)...
  44. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e: I finally found some time to play/test today's update to the modulated/tunable strings audio object. Unfortunately, it seems that today's latest version has some kind of a flaw (it causes my T4.0 audio processor to appear to hang). I don't have the ability to understand exactly...
  45. K

    AudioSynthKarplusStrong object with modulation/tuning input

    Forgot to mention that, instead of replacing the standard synth_karplusstrong.* files with these updates, I have just copied the new source files to my local TMPS folder & made the two sets of classes unique by adding "Modulated" to the names of the new classes. Along with this, I have defined...
  46. K

    AudioSynthKarplusStrong object with modulation/tuning input

    @h4yn0nnym0u5e: I don't currently make use of setFeedbackLevel(), & don't anticipate making use of it in my TeensyMIDIPolySynth (TMPS) implementation. EMBARRASSING ADMISSION: When I was doing my processor loading tests, I didn't realize that I had my LIMIT_POLY constant set to 10 (after stating...
  47. K

    Teensy 4.1 Arduino IDE Compile fails after Java update to Java 8 update 451 (64bit)

    Not sure what may be going on in your specific environment, but as a point of reference, I can confirm that my build PC also received the same Java 8 update 451 & my TeensyMIDIPolySynth project (which, with the exception of usbMIDI.send_now(), does make use of that same list of functions on a...
  48. K

    AudioSynthKarplusStrong object with modulation/tuning input

    No offense taken at all. I enjoy getting other perspectives . . . it's an opportunity to see things from a different point of view. No one person can know or think of every way to do something...I'm especially a creature of habit in my software implementations, as I usually am in life in...
  49. K

    AudioSynthKarplusStrong object with modulation/tuning input

    I was thinking particularly about the mixers. There are multiple places where there are several 4-source mixers in parallel at the same level in order to accommodate the number of input objects making up a mix (e.g. the different LFO waveform & DC level & modulation depth & noise generators for...
Back
Top