Giter Club home page Giter Club logo

microdude's People

Contributors

dagargo avatar kant avatar trebmuh avatar

Stargazers

 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

microdude's Issues

Direct access through the connector class not working

Hello,

I have tried to use the connector class without success:

erwan@menhir:~$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from microdude import connector
>>> connector.get_ports()
['MicroBrute:MicroBrute MIDI 1 44:0', 'MicroBrute:MicroBrute MIDI 2 44:1', 'Midi Through:Midi Through Port-0 14:0', 'Midi Through:Midi Through Port-1 14:1', 'Midi Through:Midi Through Port-10 14:10', 'Midi Through:Midi Through Port-11 14:11', 'Midi Through:Midi Through Port-12 14:12', 'Midi Through:Midi Through Port-13 14:13', 'Midi Through:Midi Through Port-14 14:14', 'Midi Through:Midi Through Port-15 14:15', 'Midi Through:Midi Through Port-2 14:2', 'Midi Through:Midi Through Port-3 14:3', 'Midi Through:Midi Through Port-4 14:4', 'Midi Through:Midi Through Port-5 14:5', 'Midi Through:Midi Through Port-6 14:6', 'Midi Through:Midi Through Port-7 14:7', 'Midi Through:Midi Through Port-8 14:8', 'Midi Through:Midi Through Port-9 14:9', 'Terratec Aureon 7.1-Universe:ICE1724 MIDI 28:0', 'UM-1:UM-1 MIDI 1 36:0', 'UM-ONE:UM-ONE MIDI 1 40:0']
>>> c = connector.Connector()
>>> c.connect('MicroBrute:MicroBrute MIDI 1 44:0')
>>> c.get_sequence(6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/MicroDude-1.3-py3.5.egg/microdude/connector.py", line 118, in get_sequence
  File "/usr/local/lib/python3.5/dist-packages/MicroDude-1.3-py3.5.egg/microdude/connector.py", line 133, in get_sequence_fragment
  File "/usr/local/lib/python3.5/dist-packages/MicroDude-1.3-py3.5.egg/microdude/connector.py", line 218, in rx_message
microdude.connector.ConnectorError: Connection error

Could you please help to troubleshoot this ? :)

I'm desperately trying to push some sequences to the microbrute on Linux.

Cheers
Erwan

Unable to connect

First of all, thank you for doing this!

Unfortunately I'm unable to connect to my Microbrute:

~ $ microdude -v
DEBUG:microdude.connector:Initializing...
DEBUG:microdude.utils:Reading config file...
DEBUG:microdude.utils:Config file read.
DEBUG:microdude.connector:Connecting to ...
DEBUG:microdude.connector:Mido backend: <backend mido.backends.rtmidi (loaded)>
DEBUG:microdude.connector:Handshaking...
DEBUG:microdude.connector:Sending message 0x7e, 0x7f, 0x6, 0x1...
DEBUG:microdude.connector:Receiving message 0x7e, 0x7f, 0x6, 0x1...
DEBUG:microdude.connector:Bad handshake. Disconnecting...
DEBUG:microdude.connector:Disconnecting...
INFO:microdude.editor:Not connected
~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp. 
Bus 001 Device 002: ID 0bda:57e1 Realtek Semiconductor Corp. Lenovo EasyCamera
Bus 001 Device 004: ID 1c75:0402 Arturia MicroBrute
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Am I missing something?

Not working on Ubuntu 16.04

Hello,

I know that this Ubuntu release is getting old but I'm getting this :

erwan@menhir:~$ microdude Traceback (most recent call last): File "/usr/local/bin/microdude", line 3, in <module> from microdude.editor import Editor File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible File "/usr/local/lib/python3.5/dist-packages/MicroDude-1.3-py3.5.egg/microdude/editor.py", line 66, in <module> GLib.Error: gtk-builder-error-quark: /home/erwan/.python-eggs/MicroDude-1.3-py3.5.egg-tmp/microdude/resources/gui.glade:24:1 Required gtk+ version 3.20, current version is 3.18 (7)

Do you think that It should be feasible to have it working on this release ?

I will be upgrading soon :)

Cheers
Erwan

l10n French

Hi @dagargo
I'd be glad to provide a French translation for microdude. Unfortunately, I'm unable to do the i18n step. Would you be interested in doing so?

Help on midi ports

Hi dagargo,

I have installed microdude and tried to run the app, but it quits on startup. If I run it from the terminal, I get:

python3 ๎‚ฒ โœ”
Python 3.10.8 (main, Oct 13 2022, 21:13:48) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from microdude import connector
connector.get_ports()
['MicroBrute:MicroBrute MicroBrute 28:0', 'MicroBrute:MicroBrute MicroBrute MIDI Inte 28:1', 'MicroBrute:MicroBrute MicroBrute 28:0', 'MicroBrute:MicroBrute MicroBrute MIDI Inte 28:1']
c = connector.Connector()
c.connect('MicroBrute:MicroBrute MIDI 1 28:0')
IOError while connecting: "unknown port 'MicroBrute:MicroBrute MIDI 1 28:0'"


I got this far by running sudo modprobe snd-seq-dummy ports=4. Before that I got a bunch of other errors after >>>connector.get ports().

Are you able to help with this error? I'm a relative newb when it comes to linux.

Regards,

Mal Smith.

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.