Coder Social home page Coder Social logo

touchosc2midi's People

Contributors

grejppi avatar gtrainavicius avatar jofemodo avatar spotlightkid avatar velolala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

touchosc2midi's Issues

RPI / Bullseye: error building Touchosc2midi

Hi all.
Some two years now that I'm using touchosc2midi on both Ubuntu 20.04.0 and Raspberry PI "Buster".
For a number of reasons the RPI had to move on to "Bullseye". However, building touchosc2midi on Bullseye following instructions here doesn't work. Can anyone please help me? I know my way around Bash, but I am a complete noob on Python...
Regards, Christiaan

P.S. I can make a fresh RPI/Bullseye installation available over SSH should this help

Cannot run the bridge

I get this error message when I try to start the bridge:

umcaruje@umpc:~/github/touchosc2midi$ touchosc2midi
Traceback (most recent call last):
  File "/usr/local/bin/touchosc2midi", line 9, in <module>
    load_entry_point('touchosc2midi==0.0.7', 'console_scripts', 'touchosc2midi')()
  File "build/bdist.linux-x86_64/egg/touchosc2midi/touchosc2midi.py", line 112, in main
  File "build/bdist.linux-x86_64/egg/touchosc2midi/advertise.py", line 51, in __init__
  File "build/bdist.linux-x86_64/egg/touchosc2midi/advertise.py", line 41, in build_service_info
TypeError: __init__() got an unexpected keyword argument 'type'

elementary OS Freya, Python 2.7.6

Docker builds are broken

$ docker build -t touchosc2midi:latest .
Sending build context to Docker daemon 2.048 kB
Step 1/4 : FROM python:2.7
 ---> 68caceba17ab
Step 2/4 : RUN apt-get update &&    apt-get install -y liblo-dev librtmidi-dev
 ---> Using cache
 ---> 8d14683aef5a
Step 3/4 : RUN pip install touchosc2midi
 ---> Running in 6019c3ca92c8
Collecting touchosc2midi
  Downloading touchosc2midi-0.0.9.tar.gz
Collecting pyliblo<=0.10.0 (from touchosc2midi)
  Downloading pyliblo-0.10.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-ADpx0R/pyliblo/setup.py", line 20, in <module>
        from Cython.Distutils import build_ext
    ImportError: No module named Cython.Distutils

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ADpx0R/pyliblo/
The command '/bin/sh -c pip install touchosc2midi' returned a non-zero code: 1

Support for Python3

Python 2 goes out of support at end of 2019. Python Software Foundation are recommending update to Python 3. Please consider updating touchosc2midi to support being run by Python 3 interpreter.

ImportError: cannot import name build_message

Not sure if this should be a mido issue or touchosc2midi issue. I've installed the application but I'm unable to run it. I couldn't import mido into python, but now I can (after installing mido from source). Yet I still get this import error related to the back ends. I'm on Python2.7 and Budgie Ubuntu

`Traceback (most recent call last):
File "/home/chris/.local/bin/touchosc2midi", line 11, in
load_entry_point('touchosc2midi==0.0.10', 'console_scripts', 'touchosc2midi')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2693, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2324, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2330, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/chris/.local/lib/python2.7/site-packages/touchosc2midi/touchosc2midi.py", line 25, in
import mido

File "/home/chris/.local/lib/python2.7/site-packages/mido/init.py", line 93, in
from .backends.backend import Backend
File "/home/chris/.local/lib/python2.7/site-packages/mido/backends/backend.py", line 3, in
from .. import ports
File "/home/chris/.local/lib/python2.7/site-packages/mido/ports.py", line 16, in
from .parser import Parser
File "/home/chris/.local/lib/python2.7/site-packages/mido/parser.py", line 17, in
from .messages import Message, build_message, get_spec

ImportError: cannot import name build_message`

Investigate latency/jitter after restart

Seems like some resources are not properly free'd on exit, since restarting the application several times leads to delayed display on touchOSC. Receiving from touchOSC is not affected.

Please update to support jack2

python-rtmidi package requires jack1. I'd love to use touchosc on bitwig studio. I'm running KXStudio repos on KDE neon.

The following additional packages will be installed:
jackd1 jackd1-firewire libasound2-dev libjack-dev libjack0 libjack0:i386
librtaudio-dev librtmidi2v5 libzita-alsa-pcmi0 libzita-resampler1
Suggested packages:
libasound2-doc jackd1:i386
The following packages will be REMOVED:
bitwig-8-track bitwig-studio cadence claudia jackd jackd2 jackd2-firewire ladish
libjack-jackd2-0 libjack-jackd2-0:i386 qjackctl wineasio wineasio-i386:i386
The following NEW packages will be installed:
jackd1 jackd1-firewire libasound2-dev libjack-dev libjack0 libjack0:i386
librtaudio-dev librtmidi-dev librtmidi2v5 libzita-alsa-pcmi0 libzita-resampler1

I'm not about to essentially uninstall my entire setup to compile this....

Excessive CPU when idle

When touchosc2midi starts it waits for a message before entering its processing loop. During this initial phase CPU usage is low (~1% on a Raspberry Pi 3B+). After this, when it is in its loop waiting for data CPU usage rises (~10% on a Raspberry Pi 3B+). This is without any OSC traffic, i.e. it is sitting idle waiting for incoming messages. This seems excessively high CPU usage for an idle state.

Multiple Instances

This little program is fantastic - thank you for creating!

Do you know if it is possible to do the following all with one Pi 3...?

I have 5 x ipads running TouchOSC and 5 pieces of midi equipment (5 x behringer P16-M). I've got a 4x4 usb midi interface and also a 1x1 usb midi interface which touchosc2midi recognises all of when I list ports.

I need ipad 1 to be able to control P16M 1, ipad 2 to control P16m 2 and so on...And I was rather hoping to do this all with just one pi 3.

Unfortunately the midi parameters on the P16s use channels 1-16 and control so it's not possible to use the same midi port to control all 5 of them separately (there's no way of altering the midi mapping) - they each need a separate midi out port.

I've had a go at trying to fire up two terminal windows and run touchosc2midi twice, but it throws up error that address is already in use. I tried also seeing if entereing the ips of each iPad - but it won't connect to a manual ip that I enter for some reason.

No module named __init__

when I try to run touchosc2midi, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/touchosc2midi", line 11, in <module>
    load_entry_point('touchosc2midi==0.0.9', 'console_scripts', 'touchosc2midi')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 560, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2648, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2302, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2308, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/touchosc2midi/touchosc2midi.py", line 19, in <module>
    from __init__ import __version__
ModuleNotFoundError: No module named '__init__'

any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.