Discussion:
[LAU] Yoshimi and Midish issue (no notes played)
Jeanette C.
2018-06-18 16:26:41 UTC
Permalink
Hey hey,
I have an issue - again with Yoshimi and the commandline MIDI sequencer
Midish. Yoshimi will not receive any notes from Midish, though the connection
is made, as seen by a message on the Yoshimi commandline.

Midish uses the ALSA Sequencer API, but only offers the port when it is
running.

Midish does work fine with LinuxSampler, hardware and setBfree. I don't know
which of the two, Yoshimi or Midish, does something special to prevent them
from working together.

Will, if you'd like to test it, I have seen the midish is available as a
package in Debian and Ubuntu. On Arch it is in AUR.
Here's the simplest test:
bash prompt # rmidish
[within midish]
dnew 0 "name of your keyboard under aconnect -li" ro
dnew 1 "yoshimi" wo
inew keyboard {0 0}
onew yosh {1 0}
tnew test_track
fnew test_filt
fmap {any keyboard} {any yosh}
tsetf test_filt
r
[play notes on your keyboard]
s
[stops recording]
p
[should play the notes back]
s
exit
[press enter twice, if Midish doesn't quit immediately]

Sorry, it's a long list of commands, but you should be able to copy them
verbatim, except for the alsa SEQ name of your input device.


Any idea what might be happening? I can see the connects and disconnects, but
nothing more.

Best wishes,

Jeanette

--------
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s

... About some useless information,
Supposed to fire my imagination <3
(Britney Spears)
Will Godfrey
2018-06-19 18:11:20 UTC
Permalink
On Mon, 18 Jun 2018 18:26:41 +0200 (CEST)
Post by Jeanette C.
Hey hey,
I have an issue - again with Yoshimi and the commandline MIDI sequencer
Midish. Yoshimi will not receive any notes from Midish, though the connection
is made, as seen by a message on the Yoshimi commandline.
Midish uses the ALSA Sequencer API, but only offers the port when it is
running.
Midish does work fine with LinuxSampler, hardware and setBfree. I don't know
which of the two, Yoshimi or Midish, does something special to prevent them
from working together.
Will, if you'd like to test it, I have seen the midish is available as a
package in Debian and Ubuntu. On Arch it is in AUR.
bash prompt # rmidish
[within midish]
dnew 0 "name of your keyboard under aconnect -li" ro
dnew 1 "yoshimi" wo
inew keyboard {0 0}
onew yosh {1 0}
tnew test_track
fnew test_filt
fmap {any keyboard} {any yosh}
tsetf test_filt
r
[play notes on your keyboard]
s
[stops recording]
p
[should play the notes back]
s
exit
[press enter twice, if Midish doesn't quit immediately]
Sorry, it's a long list of commands, but you should be able to copy them
verbatim, except for the alsa SEQ name of your input device.
Any idea what might be happening? I can see the connects and disconnects, but
nothing more.
Best wishes,
Jeanette
I had a go at this (for yoshimi) and can confirm the same results.
Unfortunately I don't know anything about Midish, and the only error report it
seems to give is that it can't connect to the alsa port, but doesn't say which
one - even though yoshimi reports it as connected.

Also, it doesn't seem to actually create 'test_track' anywhere that I can find,
so I don't know what that is supposed to do.

I do know yoshimi works perfectly correctly with aplaymidi and handles all MIDI
messages.

Sorry I can't give more help.

Will.
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Jeanette C.
2018-06-19 18:17:47 UTC
Permalink
Jun 19 2018, Will Godfrey has written:
...
Post by Will Godfrey
Unfortunately I don't know anything about Midish, and the only error report it
seems to give is that it can't connect to the alsa port, but doesn't say which
one - even though yoshimi reports it as connected.
...
Could be that there is a default device set up in .midishrc. For the
moment I am connecting midish to a2j_midi_bridge and on the JACK side
connect a2j to Yoshimi. So it must be something about the sequencer port
connection process that is problematic. Because I don't think that
a2j_midi_bridge transforms MIDI data as such.

Best wishes,

Jeanny

--------
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s

You should take me as I am
'Cause I can promise you
Baby, what you see is what ytou get <3
(Britney Spears)

Loading...