Comments (5)
Solved. Needed to install the alsa-lib package from Arch Linux Repo.
from munt.
Hi,
I suppose, the build of mt32emu-qt
doesn't include support for ALSA MIDI. This is an optional dependency, and is included in the build on Linux systems only, otherwise the compilation proceeds without ALSA MIDI driver. This is controlled by CMake property mt32emu-qt_WITH_ALSA_MIDI_SEQUENCER
, check if it is enabled. Ultimately, ALSA MIDI driver resides in ALSADriver.cpp
which must be compiled during the build for it to work. If the compilation breaks with this property enabled, some more packages might might need to be added.
Good luck!
from munt.
Hi. Thanks for the quick response.
The build I have includes the following directory:
../munt/mt32emu_alsadrv
I read the readme.txt file in that directory and with the intention to do the following as per the readme notes:
make
su root
make install
After running make
I get the following error:
src/asladrv.cpp:36:10: fatal error: alsa/version.h: No such file or directory
I then checked the contents of
../munt/mt32emu_alsadrv/src
and both alsadrv.cpp and alsadrv.h are present in that folder. Where is the alsa/version.h
supposed to be located?
Can you provide further troubleshooting guidance?
Thanks
from munt.
Hmm, such an error is very likely an indication of missing ALSA development files, AIUI. I have no clue how the related package is named in this OS, so can't be more helpful. However, you probably don't want to compile mt32emu_alsadrv
. That is a separate project unrelated to mt32emu-qt
, and you might miss its features if switched to it. I'd recommend applying further effort to making mt32emu-qt
compiled with full ALSA MIDI support instead.
from munt.
Hi
Thanks. The guidance to ensure the correct option in the mt32emu-qt compile is selected was great.
To provide further context SteamOS is based on Arch Linux.
What distros did you have in mind when writing the code?
I found the following logic in the Cmakelists.txt
file:
find_package(ALSA MODULE)
if(ALSA_FOUND)
add_definitions(-DWITH_ALSA_AUDIO_DRIVER)
list(APPEND EXT_LIBS ${ALSA_LIBRARIES})
include_directories(${ALSA_INCLUDE_DIRS})
list(APPEND mt32emu_qt_SOURCES src/audiodrv/AlsaAudioDriver.cpp)
if(mt32emu-qt_WITH_ALSA_MIDI_SEQUENCER)
add_definitions(-DWITH_ALSA_MIDI_DRIVER)
list(APPEND mt32emu_qt_SOURCES src/mididrv/ALSADriver.cpp)
endif()
endif()
I think the clue to solving this particular issue is where in the OS file structure is the compiler supposed to be looking for ALSA MODULE
and what file names and/or libraries is it looking for to satisfy the find_package
command. Is it distro specific?
Thanks.
from munt.
Related Issues (20)
- More of a question to the creator.
- Guides or information on dumping MT-32 ROM? HOT 5
- DOSBox Patch LCD messages to LCDProc
- Problem writing reverb settings over SysEx HOT 3
- Dosbox r4479: MIDI:Can't find device:mt32 HOT 2
- [Feature Request] Partial exhaustion indicator in UI HOT 4
- [UI Feature Request] Numeric entry Output Gain control
- Make UI better self-documenting
- Application crashes occasionally when a new JACK audio device is started
- UI may show obsolete info when a pinned synth is stopped
- Add basic unit tests
- Improve emulation accuracy of partial allocator implemented in old-gen devices
- New Output Gain textboxes don't work well on Windows HOT 1
- Provide callback to inform clients about events of synth engine running out of available partials
- Add visual indication for events when the synth engine exceeds the currently available partials
- is there any documentation on how to use mt32emu? HOT 2
- SHA1 digests in ROMInfo objects may be initialised incorrectly HOT 1
- Question about using MUNT regarding physical ownership of a tested and working CM-32L unit HOT 12
- [Feature Request] Remember volume or command-line volume option. HOT 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 munt.