Closed 0atman closed 3 years ago
Thanks for your help!
No debug info, it seems...
λ miti -debug -sync --record song2.miti
miti v0.6.0-5001293 - musical instrument textual interface
submit bugs to https://github.com/schollz/miti/issues
[debug] 13:14:03 record.go:18: init recording
Use MIDI keyboard to enter notes
Press . to enter rests
Press p to make new pattern
Press m to make new measure
Press backspace to delete last
Press Ctl+C to quit
---------------------------
. .
---------------------------
wrote to 'song2.miti'
[debug] 13:14:12 midiin.go:53: [Midi Through:Midi Through Port-0 14:0] closing midi input
[debug] 13:14:12 midiin.go:53: [Arturia KeyStep 32:Arturia KeyStep 32 MIDI 1 28:0] closing midi input
[debug] 13:14:12 midiin.go:53: [OP-Z:OP-Z MIDI 1 32:0] closing midi input
hmmmm can you try with another keyboard? (its working for me see below)
and are you on the latest version of miti?
and what is your operating system?
./miti --debug --sync --record test.miti
miti v0.6.0-5001293 - musical instrument textual interface
submit bugs to https://github.com/schollz/miti/issues
[debug] 06:42:45 record.go:18: init recording
MidiInAlsa::alsaMidiHandler: unknown MIDI input error!
System reports: Resource temporarily unavailable
Use MIDI keyboard to enter notes
Press . to enter rests
Press p to make new pattern
Press m to make new measure
Press backspace to delete last
Press Ctl+C to quit
---------------------------
pattern 0
instruments op-1:op-1 midi
[debug] 06:42:46 record.go:64: e: {MIDI:62 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.119934055 -0700 PDT m=+0.765879904}
[debug] 06:42:46 record.go:64: e: {MIDI:60 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.120464712 -0700 PDT m=+0.766410558}
D4C4 [debug] 06:42:46 record.go:64: e: {MIDI:65 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.418064566 -0700 PDT m=+1.064010460}
D4C4 F4 [debug] 06:42:46 record.go:64: e: {MIDI:59 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.651587632 -0700 PDT m=+1.297533567}
[debug] 06:42:46 record.go:64: e: {MIDI:60 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.794563247 -0700 PDT m=+1.440509113}
D4C4 F4 B3C4 [debug] 06:42:47 record.go:64: e: {MIDI:65 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:46.976585418 -0700 PDT m=+1.622531357}
[debug] 06:42:47 record.go:64: e: {MIDI:59 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:47.146622728 -0700 PDT m=+1.792568626}
[debug] 06:42:47 record.go:64: e: {MIDI:60 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:47.268368122 -0700 PDT m=+1.914314040}
D4C4 F4 B3C4 F4B3C4 [debug] 06:42:47 record.go:64: e: {MIDI:65 On:true Instrument:OP-1:OP-1 MIDI 1 20:0 Timestamp:2021-08-17 06:42:47.403561367 -0700 PDT m=+2.049507286}
D4C4 F4 B3C4 F4B3C4 F4
Ubuntu 20.04, latest version of miti. I will try with other keyboards I have lying around and update you - thank you!
(by the way @schollz your website doesn't work, so I can't read your miti blogpost)
Don't know if the OP-Z sends midi events, but that didn't work either - I'll try with some other keyboards today.
miti v0.6.0-5001293 - musical instrument textual interface
submit bugs to https://github.com/schollz/miti/issues
Available MIDI devices:
- midi through:midi through port-0 14:0
- arturia keystep 32:arturia keystep 32 midi 1 28:0
- op-z:op-z midi 1 32:0
λ miti --record song2.miti
miti v0.6.0-5001293 - musical instrument textual interface
submit bugs to https://github.com/schollz/miti/issues
Use MIDI keyboard to enter notes
Press . to enter rests
Press p to make new pattern
Press m to make new measure
Press backspace to delete last
Press Ctl+C to quit
---------------------------
---------------------------
Aha! My launchpad mini DOES send midi events! Doubles up, however - key down and key up both send the key.
λ miti --record song2.miti
miti v0.6.0-5001293 - musical instrument textual interface
submit bugs to https://github.com/schollz/miti/issues
Use MIDI keyboard to enter notes
Press . to enter rests
Press p to make new pattern
Press m to make new measure
Press backspace to delete last
Press Ctl+C to quit
---------------------------
pattern 0
instruments launchpad mini:launchpad
E3Db2 E3D2Db2D2D3Db2D3C2C2Bb1 B1Db2Bb1C2B1Bb1C2 B1Bb1B1 C2C2 B1 B1Bb1 Bb1B1B1 C2C2 0 000 E4E4 F4 F4 Gb4 Gb4 Gb4 Gb4
---------------------------
wrote to 'song2.miti'
so this sounds device specific
On the latest release, I can't seem to get input from my Arturia Keystep: