code logs -> 2024 -> Mon, 06 May 2024< code.20240505.log - code.20240507.log >
--- Log opened Mon May 06 00:00:11 2024
01:54 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code
01:54 mode/#code [+o himi] by ChanServ
02:31 Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has quit [Connection closed]
03:13 celticminstrel [celticminst@Nightstar-egstbh.dsl.bell.ca] has quit [Connection closed]
03:16 celticminstrel [celticminst@Nightstar-cbn.6lc.70.67.IP] has joined #code
03:16 mode/#code [+o celticminstrel] by ChanServ
03:52 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
03:52 mode/#code [+ao McMartin McMartin] by ChanServ
04:07
<&McMartin>
[R]: the sound of a MIDI file is tied very tightly to the playback system; MIDI files are mostly just scores. So if you're trying to capture a specific sound you'll need to find the right soundfont or General MIDI emulator to match your target.
04:07
<&McMartin>
If you want it to sound like it did on DOS, you probably need the OPL2 version of the soundtrack, not the MIDI one.
04:08
<&McMartin>
Meanwhile, watching a video in background of someone making a .MOD file
04:31 Degi_ [Degi@Nightstar-fvnegu.pool.telefonica.de] has joined #code
04:33 Degi [Degi@Nightstar-q6ocss.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
04:33 Degi_ is now known as Degi
05:46 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [Ping timeout: 121 seconds]
06:03 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
07:25 Kimo|autojoin [Kindamoody@Nightstar-uq5iqk.mobileonline.telia.com] has joined #code
07:25 mode/#code [+o Kimo|autojoin] by ChanServ
08:52 himi [sjjf@Nightstar-o4k.pal.170.103.IP] has joined #code
08:52 mode/#code [+o himi] by ChanServ
10:16 Kimo|autojoin [Kindamoody@Nightstar-uq5iqk.mobileonline.telia.com] has quit [Ping timeout: 121 seconds]
10:31 Kimo|autojoin [Kindamoody@Nightstar-uq5iqk.mobileonline.telia.com] has joined #code
10:31 mode/#code [+o Kimo|autojoin] by ChanServ
10:56 Kimo|autojoin [Kindamoody@Nightstar-uq5iqk.mobileonline.telia.com] has quit [Connection closed]
14:45 Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has joined #code
14:45 mode/#code [+qo Vornicus Vornicus] by ChanServ
14:59
<&ToxicFrog>
[R]: in terms of actual software, you probably want to use fluidsynth, which can both play the file or render it to disk. You will need an appropriate soundfont as well.
14:59
<&ToxicFrog>
IIRC Doom came with General MIDI, OPL2 (SoundBlaster), and Gravis Ultrasound modes; pick one of the first two (third is also an option but more complicated) + an appropriate soundfont.
15:20
<&[R]>
Ah thanks
15:21
<&[R]>
Yeah, I was curious what was going on, Doom supposedly had its own format, so I'm curious why they're .mid files
15:22
<&[R]>
Not sure if deutex is doing conversion or something. Was also trying to find a tool to see if I could list the contents of the WAD to confirm if a conversion was happening
15:24 [R] [rms@Nightstar-d7h8ki.org] has quit [The TLS connection was non-properly terminated.]
15:25 [R] [rms@Nightstar-d7h8ki.org] has joined #code
15:25 mode/#code [+ao [R] [R]] by ChanServ
15:25
<&[R]>
Did all three of my responses come through?
15:33
<@ErikMesoy>
Yes.
15:35
<&[R]>
TY
15:57
<&[R]>
McM: I actually reread your message. When mpv plays the files, they don't even have a tune, it's just noise.
15:58
<&[R]>
timidity plays silence, complaining about missing instruments, I suspect I need to configure timidity
16:03
<&[R]>
Okay, gzdoom shipped with a soundfont file, didn't see a need to use a different one
16:04
<&[R]>
mpv now sort of sounds like there's a tune, but it's still completely alien to how timidity plays it
16:08
<&[R]>
mpv's behavior just threw me for a loop it seems
16:23 Kimo|autojoin [Kindamoody@Nightstar-lahrb8.mobileonline.telia.com] has joined #code
16:23 mode/#code [+o Kimo|autojoin] by ChanServ
16:23 Kimo|autojoin is now known as Kindamoody
17:07
<&ToxicFrog>
[R]: Doom's MUS format is basically MIDI with some data that Doom doesn't use or can assume to be invariant stripped out, and a few other tweaks like wider dynamic range
17:07
<&ToxicFrog>
Usually MIDI is used for mastering and then midi2mus to pack it into the wad, and mus2midi when unpacking
17:07
<&[R]>
Ah
17:09
<&ToxicFrog>
(or, well, I think both of those tools have been supplanted by more modern ones, and if you're targeting gzdoom you can just use ogg, but you get the idea)
17:11
<&[R]>
Fair
17:11
<&[R]>
I think freedoom at least wants to work on stricter source ports
17:12
<&ToxicFrog>
As for midi support in MPV, my understanding is that mpv doesn't actually support midi natively, it just hands it off to ffmpeg, and ffmpeg in turn uses libmodplug for it (if it was built with that), and libmodplug goes "I'm a tracker player, jim, not a MIDI sequencer" and invokes tiMIDIty to do the actual playing
17:12
<&[R]>
Blasphemy is slightly looser
17:12
<&ToxicFrog>
There are a lot of steps in that chain where things could go wrong
17:12
<&[R]>
Yeah
17:12
<&ToxicFrog>
And yeah, freedoom, and any other WAD that wants to keep vanilla or limit-removing compatibility, will include MUS format music in the wad
17:12
<&ToxicFrog>
With the original masters as MIDI
17:12
<&[R]>
I know that mpv was at some point sending it to timidity, given I had to set an env-var to point it to the installed configuration
17:13
<&[R]>
Ah
17:13
<&ToxicFrog>
(or if it's a PWAD it may include no music at all and let the music from whatever IWAD you're using play)
17:14
<&[R]>
s/blashpemy/blasphemer/
17:15
<&[R]>
Looks like that uses .mus, something I'll have to look into later, Dad's nearly here
17:16
<&ToxicFrog>
And since MUS is just Weird MIDI, playback in-game is going to be heavily engine- and system-dependent -- e.g. gzdoom contains seven different MIDI renderers, some of which are self-contained and some of which require external soundfonts, plus whatever your operating system offers for MIDI support which can be anywhere from "nothing" to "another three or four options"
17:16
<&ToxicFrog>
And the sound for all of those is potentially quite different
17:17
<&ToxicFrog>
I suspect this degree of complication was a significant factor in why MIDI got ditched so completely as soon as games started shipping on CD~
17:17
<&[R]>
Descent II had both redbook and midi music
17:18 Kindamoody [Kindamoody@Nightstar-lahrb8.mobileonline.telia.com] has quit [Connection closed]
17:49 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has joined #code
17:50 Kimo|autojoin [Kindamoody@Nightstar-lahrb8.mobileonline.telia.com] has joined #code
17:50 mode/#code [+o Kimo|autojoin] by ChanServ
17:53
<&ToxicFrog>
Betrayal at Krondor also.
17:53
<&ToxicFrog>
Although the redbook music didn't loop, which was a problem.
17:53
<&ToxicFrog>
But that was a fairly short transitional period.
19:05 Kimo|autojoin [Kindamoody@Nightstar-lahrb8.mobileonline.telia.com] has quit [Connection closed]
20:00
<@gnolam>
https://mstdn.social/@rysiek/112350862604039364
22:44 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Tue May 07 00:00:12 2024
code logs -> 2024 -> Mon, 06 May 2024< code.20240505.log - code.20240507.log >

[ Latest log file ]