Comments (7)
Hmm... I'm on MacOS
wow, I didn't know that the choice of OS depends on the file name in this case
from golaunchpad.
I'm trying to fix that, and i see some strange
Here Ins, but returns Outs.. is it correct? or on mac it looks another?
from golaunchpad.
hi there! Darwin wasn't mentioned as being supported because I haven't tested it.
So yeah, the name varies depending on (I guess) the midi driver. On linux there doesn`t seem to have have any id/count to differentiate devices so I only support one. There should be 3 devices but depending on the OS the midi in/out can be the same device. So my guess is that darwin return 2 midi devices, the DAW and the MIDI. The MIDI one being IN/OUT even though it's name has OUT.
you could try something like this, it will use the midi out for input, might work (or not)
rxDAW = regexp.MustCompile(`.*LPMiniMK3 DAW OUT$`)
rxMidiIn = regexp.MustCompile(`.*LPMiniMK3 MIDI OUT$`)
rxMidiOut = regexp.MustCompile(`.*LPMiniMK3 MIDI OUT$`)
from golaunchpad.
Seems works to me, i will test and send you PR
rxDAW = regexp.MustCompile(`Launchpad Mini MK3 LPMiniMK3 DAW`)
rxMidiIn = regexp.MustCompile(`Launchpad Mini MK3 LPMiniMK3 MIDI Out`)
rxMidiOut = regexp.MustCompile(`Launchpad Mini MK3 LPMiniMK3 MIDI In`)
Btw, what about checks ins and outs before for's cycles?
So my guess is that darwin return 2 midi devices, the DAW and the MIDI.
And yes, looks like I have only 2 midi devices
from golaunchpad.
Well, now its work, but i receive some signal
2021-03-25T02:36:32.103+0300 INFO main midi/main.go:18 starting wave example
2021-03-25T02:36:32.124+0300 INFO minimk3 minimk3/mk3.go:115 enabling programmer mode
2021-03-25T02:36:32.124+0300 INFO minimk3 minimk3/mk3.go:165 sending wake message
receive signal urgent I/O condition
And i don't know what is that :)
from golaunchpad.
I guess i accepted the merge request a little too fast hehe
I should add some kind of minimal cli for listings midi IDs. Also my gomidi dependency is quite old and might have some bug.
Maybe the out/in inversion in your patch creates some kind of exception. I just noticed you've put the midi in
with a out
name.
from golaunchpad.
As I asked above, in #issuecomment-806244760 outs come from ins, and ins from outs, idk why, but it works for me, for ex on text
I think we could try i find solution :)
from golaunchpad.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golaunchpad.