October 16, 2018, 01:33:12 pm
Welcome, Guest. Please login or register.
Did you miss your activation email
News:

Arturia Forums



Author Topic: Minibrute connection software- future linux option?  (Read 7083 times)

dog01

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 5
Re: Minibrute connection software- future linux option?
« Reply #15 on: December 14, 2016, 11:23:04 am »
thought i just mention that you can send midi cc to the minibrute to change the midi channel without a computer

there a full list of midi cc in the connection manual 

Parameter MIDI      CC     Value
Receive Channel 102cc  1 to 16, 17=All
Send Channel 103cc      1 to 16

i agree though hardware being tied to software to work or even just edit  in my mind is never a good thing...standalone is much better.
regards Dog01


Slo.man

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Minibrute connection software- future linux option?
« Reply #16 on: December 15, 2016, 03:33:22 pm »
so in theory it shouldn't be extremely hard to reverse-engineer
Well, it's done !
Please find my little piece of software in attachment ! The app uses GTK+3-0 and libusb-1.0 (http://libusb.org).
With this app, you'll be able to play with all parameters provided by the win*ows apps, on a GNU/Linux system : Midi in/out channel, audio gate threshold, LFO key retrigger, envelope legato mode, arpeggiator hold, note priority, velocity response and aftertouch response.

Since I've no experience in USB development (and according to the I time spent on it), the app has some limitations:
  • You have to plug in the minibrute before running the app
  • The app will fail to claim the minibrute if your system has already claimed it through its USB-Audio interface.
    Quote
    On my system, snd-usb-audio modules (including snd_usb_audio, snd_usbmidi_lib, snd_rawmidi) are probed automatically as soon as the minibrute is plugged in. You may have to rmmod these module (sudo rmmod snd_usb_audio snd_usbmidi_lib snd_rawmidi) before launching the app... As a consequence, it's not possible to use the MIDI interface at the same time as the configuration panel...
  • The app doesn't detect whether the minibrute has been disconnected... In this case, you have to restart the app
  • Interface is quite ugly


minibruteUI.tar.gz contains sources. To build the app, you have to, in a terminal:
Code: [Select]
cd <DownloadLocation>
tar xvfz minibruteUI-0.0.1.tar.gz
cd minibruteUI-0.0.1
./configure --prefix=/home/<YourUsername>/usr 
make
make install
After that, minibruteUI executable will stands in your home directory (i.e ~/usr/bin/minibruteUI). To install it to another location, you can play with the ./configure prefix parameter. Alternatively, you can simply omit this prefix parameter and skip the "make install" step. In this case, you'll find the executable in the working directory...

minibruteUI is a x86_64-pc-linux-gnu executable.


Two other workarounds that probably would be feasible for Arturia to implement would be, one, to allow the parameters to be edited via the hardware MIDI port, and two, to somehow make a method to change the settings on the synth itself.  The first one should be an easy thing to do, the second, maybe a little less so, but that would be the ideal solution IMO.
+1 for the second way!

Hi, thanks a lot for your work.

I'm new to Linux, recently built a DAW on AVlinux 2016 32bits and i cannot install it.
I checked in synaptic and libusb seems to be already installed:


 


Though i cannot install your program, that's what happens:
Code: [Select]
sam@AVlinux-DAW:~$ cd /home/sam/Downloads/
sam@AVlinux-DAW:~/Downloads$ tar xvfz minibruteUI-0.0.1.tar.gz
minibruteUI-0.0.1/
minibruteUI-0.0.1/config.h.in
minibruteUI-0.0.1/install-sh
minibruteUI-0.0.1/missing
minibruteUI-0.0.1/Makefile.in
minibruteUI-0.0.1/INSTALL
minibruteUI-0.0.1/COPYING
minibruteUI-0.0.1/mkinstalldirs
minibruteUI-0.0.1/src/
minibruteUI-0.0.1/src/mbgui.c
minibruteUI-0.0.1/src/minibrute.c
minibruteUI-0.0.1/src/minibrute.h
minibruteUI-0.0.1/configure
minibruteUI-0.0.1/Makefile.am
minibruteUI-0.0.1/README
minibruteUI-0.0.1/aclocal.m4
minibruteUI-0.0.1/ChangeLog
minibruteUI-0.0.1/depcomp
minibruteUI-0.0.1/configure.ac
minibruteUI-0.0.1/NEWS
minibruteUI-0.0.1/AUTHORS
sam@AVlinux-DAW:~/Downloads$ cd minibruteUI-0.0.1
sam@AVlinux-DAW:~/Downloads/minibruteUI-0.0.1$ ./configure --prefix=/home/sam/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for cairo_create in -lcairo... yes
checking for gtk_button_new in -lgtk... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for size_t... yes
checking for uint16_t... yes
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... yes (version 3.20.7)
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met:

No package 'libusb-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBUSB_CFLAGS
and LIBUSB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
sam@AVlinux-DAW:~/Downloads/minibruteUI-0.0.1$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
sam@AVlinux-DAW:~/Downloads/minibruteUI-0.0.1$ ./configure --prefix=/home/<YourUsername>/usr
bash: YourUsername: Aucun fichier ou dossier de ce type
sam@AVlinux-DAW:~/Downloads/minibruteUI-0.0.1$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
sam@AVlinux-DAW:~/Downloads/minibruteUI-0.0.1$ make install

Anyone can help please ?

BigB

  • Apprentice
  • *
  • Posts: 3
  • Karma: 0
Re: Minibrute connection software- future linux option?
« Reply #17 on: August 06, 2018, 03:20:08 pm »

But this is just a reminder to Arturia that people buy HARDWARE explicitly to be less dependent on software. So why would I still need a computer just to set the midi channel....


We may also remind Arturia that we Linux users pay the same price for the product and don't have access to all features (at least not without a LOT of hassles - and even then). As far as I'm concerned (recent owner of a drumbrute here) this really pisses me of  >:(

 

Carbonate design by Bloc
SMF 2.0.13 | SMF © 2016, Simple Machines