FS#63615 - [milkytracker] No MIDI support with ALSA
Attached to Project:
Community Packages
Opened by Soni L. (SoniEx2) - Sunday, 01 September 2019, 01:00 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 04 September 2019, 19:50 GMT
Opened by Soni L. (SoniEx2) - Sunday, 01 September 2019, 01:00 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 04 September 2019, 19:50 GMT
|
Details
Description:
Milkytracker needs to be compiled with rtmidi for MIDI support. It currently isn't. Additional info: * package version(s) 1.02.00-2 * config and/or log files etc. N/A * link to upstream bug report, if any not an upstream bug Steps to reproduce: 1. connect midi devices 2. open milkytracker 3. notice lack of midi |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 04 September 2019, 19:50 GMT
Reason for closing: Implemented
Wednesday, 04 September 2019, 19:50 GMT
Reason for closing: Implemented
Looking at CMakeLists.txt I see this:
# Linux MIDI support requires ALSA and RtMidi
if(ALSA_FOUND)
find_package(RTMIDI 2.1.0)
if(RTMIDI_FOUND)
message(STATUS "Enabled MIDI support (ALSA/RtMidi)")
add_subdirectory(src/midi)
else()
message("MIDI support disabled (RtMidi unavailable)")
endif()
else()
message("MIDI support disabled (ALSA unavailable)")
endif()
This is an indication that ALSA is required for using RtMidi, but Milkytracker is currently compiled for using Jack 2.
I don't have a MIDI device available right now.
Could you please try installing Jack2 and then connecting the MIDI device with Cadence, possibly using a2jmidid, as described here: https://wiki.archlinux.org/index.php/Professional_audio#JACK
If using Jack + MIDI doesn't work out, I will happily change the compilation settings for Milkytracker.
If both ALSA and Jack support can be used when compiling Milkytracker, I would be happy to look into that as well.
$ pacman -Si milkytracker
Repository : community
Name : milkytracker
Version : 1.02.00-2
Description : Music tracker inspired by Fast Tracker II
Architecture : x86_64
URL : https://milkytracker.titandemo.org/
Licenses : GPL3
Groups : None
Provides : None
Depends On : alsa-lib sdl2
Optional Deps : jack: JACK audio support
Conflicts With : None
Replaces : None
Download Size : 1057.14 KiB
Installed Size : 3684.00 KiB
Packager : Eli Schwartz <eschwartz@archlinux.org>
Build Date : Wed 26 Sep 2018 03:10:33 PM -03
Validated By : MD5 Sum SHA-256 Sum Signature
it's already doing alsa (that is to say: it's already being compiled with jack and alsa together), and jack is optional. either way there's no midi support except through rtmidi. as can be seen here https://github.com/milkytracker/MilkyTracker/tree/master/src/midi/posix
(I don't have a midi device available right now, either, but someone who does tried with jack and couldn't get it to work until they rebuilt with (alsa+)rtmidi.)
The updated version should appear in [community] shortly.