Re: [hatari-users] removal of --midi-in and --midi-out options |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-users Archives
]
- To: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-users] removal of --midi-in and --midi-out options
- From: eric <eric@xxxxxxxxxxxx>
- Date: Fri, 28 Jul 2023 02:19:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cyberdra.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OUqZxWyx59wbj2rDEh74cfbJU4UdtV2VH8lX30N0GEA=; b=I1nT/gStEn7y4hZXQ/E+tNs0zW +IHFBbm0c0bVYHflEiOXBO0NQEx/xrjoX5Qfv05B+PObuKO9gmCbEIa5hgWAe2SuShSkTMD2zsD8+ zTmz5d9cYVhCYQTTuixFMMkvLwpbooVG986gj8BTRB5YbIWfxy+ygWqLlvARR+xrMbqg=;
Allright, I see.
I forgot to mention that I was testing v2.3.1 and v2.4.1 on 2 different
linux distributions, so it seems the option disappeared because the
2.4.1 I used was compiled with portmidi.
So on archlinux, hatari is compiled with portmidi,
and on nixos without. good to know ;-)
I just compiled hatari without portmidi, and the option is there again ;-)
Problem solved, and thank you, this was solved really fast.
Eric
On 7/28/23 02:06, Eero Tamminen wrote:
Hi,
When Hatari is built with PortMidi, MIDI devices are defined by port
names in the GUI (and config file). PortMidi expects data for those
devices to be real MIDI data!
Only when Hatari is compiled *without* PortMidi, there are --midi-in
and --midi-out device file options (and Hatari does not care what data
is transferred through them).
Currently Hatari does not support both at the same time, it needs to
be built separately for each use-case. As real MIDI device use-case
is much more common, releases are built with PortMidi for Mac.
- Eero
On 28.7.2023 2.20, eric wrote:
First of all, thanks for hatari, it is a wonderful piece of software.
The ability to run a .prg file directly, as well as MIDI support, are
very useful features to help debug.
I noticed that these 2 options disappeared between hatari v2.3.1 and
v2.4.1
--midi-in
--midi-out
I know I can chose real MIDI devices as input or output using the
GUI, but previously I was able to communicate between hatari and a
specific software, just using files
(I was using --midi-in /tmp/midiIN --midi-out /tmp/midiOUT)
Now with newer versions I found no way of doing this.
Is there a workaround/a hack that I could use ?
Thank you
Eric
https://www.theotherdays.net