L

Latest activity Postings About

    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Ok, so for anyone coming to this thread in the future with a similar problem, here's the sequence of steps that seem to have resolved my issues: make sure midi ports are closed in midi host application close serial monitor upload sketch open...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Some days gone by, @PaulS ' solution drastically reduced hanging, but it still happens from time to time with midi ox being unable to close the midi port, forcing me to reboot the computer. I believe this is tied to Serial monitor being open.
    • L
      ladansedesdamnes reacted to MatrixRat's post in the thread Teensy usb midi problem with Like Like.
      Perhaps when uploading, Windows does not have enough time to sort out the initial device disconnect (Cache flushes included) before Teensy usbMIDI is back online pestering Windows for a connection.. Make sure all your stuff is backed up!
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Good call (kinda feel dumb for not thinking of that)! So far (30 minutes into using it connected directly to motherboard usb port), it seems to have resolved the issue with hanging. Weirdly on my laptop, directly connected (without any hub) I...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Ok, some more debugging. I seem to have gotten it to work somehow for a short while. After going through 3 different cables without success and finally connecting through a different powered USB hub (changing usb port and - automatically -...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Well, in a weird way it's good to know I'm not the only one having issues. I had thought of using a different computer for midi sequencing BUT given the nature of needing the usb port for both uploading code and sending midi, I'd always need some...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      usb.read() always returns false in the main sketch but works fine in the test sketch. There are no compilation errors. Also now midiox is hanging whenever I try to turn the midi port off... I have to disconnect the teensy from usb for the...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      I tried enabling the midi output in Reaper, and playback happened without error. Disabling it, uploading code to the teensy and re-enabling the midi output, which didn't show any error. I managed to do this for a couple of times and then without...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      I tried with other midi hosts, and whenever the port hangs I get the same error as in midi OX: "Teensy MIDI: There is not enough memory available for this task. Quit one or more applications to increase available memory, and then try again." -...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      It does have that option, but it never is able to re-connect to it. I tried resetting all midi devices to no avail. I also tried using a different DAW to check if it was a software problem, but any other seems to also be unable to communicate...
    • L
      ladansedesdamnes replied to the thread Teensy usb midi problem.
      Sorry, some more details if needed: Windows 10, Teensy 4.1, Teensyduino 1.59, Arduino IDE 2.0, using Visual Micro under Visual Studio 22 (although this happens both under VS/VM and regular Arduino IDE).
    • L
      I'm working on a program that receives midi data from a daw (sysex + note events) and processes this information. I have simulation functions to emulate a sample midi data stream setup in my program, and everything works fine with that, I'm using...
    • L
      I believe VM is falling back to the basic SdFat library and not defaulting to the platform-appropriate version of the library. I will report this to the forums and see what they suggest. I can obviously manually add the library to the project...
    • L
      Based on the "it should work" assumption I checked the compiler output, which showed it was indeed using the correct version of the SD library (which it was). I created a clean sketch from scratch with just my SD card code in the Arduino IDE and...
    • L
      I tried including the Teensy SD library locally in the project to avoid there being conflicts with the Arduino SD library and still get the same error. Only way to make it go away is to reduce character count or straight up use SdFat EDIT: just...
    • L
      For reference, I found the problem. SD library follows classic fat rules, so filenames are limited to 8 characters + extension. Adding the increments was going over that.
    • L
      Just realized I cut the conditional while removing all the debug print statements. Updated code.
    • L
      I'm creating a data logger sketch using SD card. The teensy receives the log name via external message, checks if that file exists and, if so, increments it with a suffix ("_X"). That part is working fine. Whenever I try to actually create the...
    • L
      I'm using the exact code snippet on TeensyThreads git // this method is experimental ThreadWrap(Serial, SerialXtra); #define Serial ThreadClone(SerialXtra) int thread_func() { Serial.println("begin"); }
    • L
      Just as stated in the title, using ThreadWrap just as described in readme.md to make Serial thread-safe produces an Intellisense error in VS (using Visual Micro, fyi): Error code #E0248: "pointer to reference is not allowed". ThreadWrap is also...
  • Loading…
  • Loading…
Back
Top