dagargo / microdude Goto Github PK
View Code? Open in Web Editor NEWEditor for Arturia MicroBrute
License: GNU General Public License v3.0
Editor for Arturia MicroBrute
License: GNU General Public License v3.0
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
I can see in the code that the mido version needed is 1.2.1. The current Debian Stretch version is 1.1.8. Do you think it could be possible to make microdude able to build with the 1.1.8 version provided by Debian Stretch?
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?
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
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?
Hi dagargo,
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.