Author Topic: Taking out ttymidi  (Read 232 times)

benh

  • Newbie
  • *
  • Posts: 37
    • View Profile
Taking out ttymidi
« on: October 27, 2021, 12:57:05 AM »
Hi !

I noticed ttymidi is eating CPU in the background on my system where I didn't wire any MIDI ports to the UART.

I'll send a PR making the installation of the ttymidi related components optional in setup.sh (default on or off ? for now it's default without and -m adds midi but I can change it before I submit). That said, before I do that, am I missing anything in pistomp itself that relies on ttymidi being present ? I didn't notice anything on my side but I could have missed something.

Another option could be to always install it but make the enabling of the service optional.

Randall (Admin)

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Taking out ttymidi
« Reply #1 on: October 27, 2021, 07:14:43 PM »
It's a prereq for patchbox.  I'm near certain is not required for USB midi or the midi events generated by pi-Stomp hardware.  I don't know what other functions might rely on it, though.

We could likely disable it by default and include instructions in the wiki on how to enable it where adding serial midi is explained.

I do not like the idea having certain parts of the total install optional though.  Disk space is cheap and plentyful.  Different users having different installations leads to more support calls which I wouldn't care for. 

benh

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Taking out ttymidi
« Reply #2 on: October 27, 2021, 07:54:43 PM »
Yes I tend to side with you on that one, I'll keep the install and just skip the enabling of the service by default unless specified