Suggestion for tools to use programming GUI + MIDI?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 375 times
- Been thanked: 209 times
- Contact:
Suggestion for tools to use programming GUI + MIDI?
Hi!
I was considering if I should try programming Midi drum pattern browser plugin or actually, stand alone program. Now searching suitable tools for it. What would be needeed:
- GUI, should have also support for drag'n'drop source, so that midi could be dragged from app to DAW
- Midi, so that there is libs for opening midi files & manipulating them in memory (change tempo)
- Midi connection, so that program can send midi to daw.
I can program python, perl, C/C++, bash, and most likely many more languages would work ok for me.
Sure making proper plugin would be great, but I don't think I have time & energy for that, but quick hack should be doable.
I was considering if I should try programming Midi drum pattern browser plugin or actually, stand alone program. Now searching suitable tools for it. What would be needeed:
- GUI, should have also support for drag'n'drop source, so that midi could be dragged from app to DAW
- Midi, so that there is libs for opening midi files & manipulating them in memory (change tempo)
- Midi connection, so that program can send midi to daw.
I can program python, perl, C/C++, bash, and most likely many more languages would work ok for me.
Sure making proper plugin would be great, but I don't think I have time & energy for that, but quick hack should be doable.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 1067
- Joined: Mon May 12, 2014 7:11 am
- Has thanked: 15 times
- Been thanked: 36 times
Re: Suggestion for tools to use programming GUI + MIDI?
Qt/Qml
or PyQT perhaps
I kinda started a simple sample file browser once with pyqt. Never got around to actually finish it.
https://github.com/rghvdberg/simple_sample_browser
or PyQT perhaps
I kinda started a simple sample file browser once with pyqt. Never got around to actually finish it.
https://github.com/rghvdberg/simple_sample_browser
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 375 times
- Been thanked: 209 times
- Contact:
Re: Suggestion for tools to use programming GUI + MIDI?
On irc wxPython was suggested.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
- SpotlightKid
- Established Member
- Posts: 260
- Joined: Sun Jul 02, 2017 1:24 pm
- Has thanked: 57 times
- Been thanked: 61 times
Re: Suggestion for tools to use programming GUI + MIDI?
You might one check Patroneo for some inspiration regarding the GUI, PyQT usage and sequencing. The program does not import or export MIDI, though, AFAIK.
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 375 times
- Been thanked: 209 times
- Contact:
Re: Suggestion for tools to use programming GUI + MIDI?
Comparing PyQT and wxPython:
https://opensource.com/article/17/4/pyq ... s-wxpython
Simple text editor is shorter in wxPython, and both implement drag & drop, so wxPython will be my choise. And in addition, I have programmed wxWidget code with C++ (loooong time ago).
Have to look midi libs, will it be https://github.com/vishnubob/python-midi or https://github.com/olemb/mido/
And then there is sending midi over jack midi.
https://opensource.com/article/17/4/pyq ... s-wxpython
Simple text editor is shorter in wxPython, and both implement drag & drop, so wxPython will be my choise. And in addition, I have programmed wxWidget code with C++ (loooong time ago).
Have to look midi libs, will it be https://github.com/vishnubob/python-midi or https://github.com/olemb/mido/
And then there is sending midi over jack midi.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
- Linuxmusician01
- Established Member
- Posts: 1547
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland (Europe)
- Has thanked: 784 times
- Been thanked: 144 times
Re: Suggestion for tools to use programming GUI + MIDI?
From a Linux user that cannot program if his life depended on it: please use C! The only applications that I could compile on Linux and that run stable are C applications. I think that programming in Python Ruby and what have you not is more pleasant for most programmers, but from a users perspective I hope that those languages die out like Latin and Sanskrit.
Sorry or the rant, but this has been bugging me for ages. I don't understand why somebody would want to program an application that's buggy and doesn't work anymore after a few years.
Sorry or the rant, but this has been bugging me for ages. I don't understand why somebody would want to program an application that's buggy and doesn't work anymore after a few years.
-
- Established Member
- Posts: 2036
- Joined: Sat Jun 11, 2016 12:05 am
- Has thanked: 10 times
- Been thanked: 22 times
Re: Suggestion for tools to use programming GUI + MIDI?
People are still using C and not C++ ?Linuxmusician01 wrote:From a Linux user that cannot program if his life depended on it: please use C! The only applications that I could compile on Linux and that run stable are C applications. I think that programming in Python Ruby and what have you not is more pleasant for most programmers, but from a users perspective I hope that those languages die out like Latin and Sanskrit.
Sorry or the rant, but this has been bugging me for ages. I don't understand why somebody would want to program an application that's buggy and doesn't work anymore after a few years.
In any case, a C/C++ app can be made obsolete like any other.
-
- Established Member
- Posts: 1516
- Joined: Sun Jan 27, 2019 2:25 pm
- Location: Italy
- Has thanked: 385 times
- Been thanked: 299 times
Re: Suggestion for tools to use programming GUI + MIDI?
Maybe you had a bad experience with some badly written programsLinuxmusician01 wrote:From a Linux user that cannot program if his life depended on it: please use C! The only applications that I could compile on Linux and that run stable are C applications. I think that programming in Python Ruby and what have you not is more pleasant for most programmers, but from a users perspective I hope that those languages die out like Latin and Sanskrit.
Sorry or the rant, but this has been bugging me for ages. I don't understand why somebody would want to program an application that's buggy and doesn't work anymore after a few years.
Python and Ruby in their current standard implementations are unsuitable for audio programming for a number of reasons (including the way they manage memory and their general performance) but using C does not make programs automatically better: if anything, if the coder is not skilled in low level programming (i.e. memory management, again ) it's very likely that the program will have serious issues, such as segmentation faults.
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]
Please donate time (even bug reports) or money to libre software
Jam on openSUSE + GeekosDAW!
Please donate time (even bug reports) or money to libre software
Jam on openSUSE + GeekosDAW!
-
- Established Member
- Posts: 2348
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 9 times
- Been thanked: 468 times
Re: Suggestion for tools to use programming GUI + MIDI?
Development in python is nice for quick prototyping, or to write some development tools. But, for release a application it's a bad choice in my opinion as well. The ongoing development in python modules gives a shit on backward compatibility. Python development is really, really fast, so that only virtual envs could ensure that your prototype or the tool you've written still work next month the same way as last month.
And it could bite you really hard, when you realize that numpy comes now to a completely different result on a plain, simple math operationon with arrays then in the last release.
This may render your work useless really fast.
And it could bite you really hard, when you realize that numpy comes now to a completely different result on a plain, simple math operationon with arrays then in the last release.
This may render your work useless really fast.
On the road again.