Python Forum
How to bind a midi signal to tkinter?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to bind a midi signal to tkinter?
#2
I don't see how running the render() function in a different thread makes it slower. Usually people don't want to run a time consuming function in the main thread because the GUI is frozen during the computation. The task of the mainloop() is to process events, not run heavy computations.

It seems to me there must be some other reason for the short blink on the screen, which won't be solved by running the function in the main thread.
Reply


Messages In This Thread
RE: How to bind a midi signal to tkinter? - by Gribouillis - Feb-09-2022, 05:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding MIDI Channels to each Input zach1234 6 1,272 Apr-20-2023, 11:51 AM
Last Post: jefsummers
  mido MIDI-file; how to distinguis tracks? philipbergwerf 2 2,307 Dec-10-2021, 05:06 PM
Last Post: philipbergwerf
  How to open MIDI-file and get events in a list? philipbergwerf 7 5,090 May-29-2021, 08:24 AM
Last Post: j.crater
  Mido and virtual midi ports dore_m 2 4,679 Dec-27-2020, 06:02 AM
Last Post: dore_m
  MIDI FILES TEMPO - MIDO Tetsuo30 9 5,085 Sep-06-2020, 08:17 PM
Last Post: jefsummers
  Real time MIDI with python eythoralex 1 3,512 May-19-2020, 07:17 PM
Last Post: Larz60+
  Please help! Akai APC20 midi controller script versusliveact 0 2,161 Feb-14-2020, 05:37 AM
Last Post: versusliveact
  Parameters for function in bind() kom2 1 2,310 Apr-18-2019, 03:59 PM
Last Post: woooee
  Using MIDI from Python on Windows 7 PythonAndMIDIUser 3 3,484 Jun-16-2018, 06:20 AM
Last Post: buran
  MIDI Inputs NightPython42 3 51,243 Aug-10-2017, 02:37 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020