plan9fox/sys/man
qwx 7048f1ca11 games/opl3: use correct sampling rate
games/dmid uses the same sample rate as the chip for music, but other
applications do not.  opl3 and its older version opl2 (not in 9front)
read an input stream of commands in basically IMF format, something
used in other id Software games and some others, which assumes a
given input sampling rate:  700 Hz for Wolfenstein 3D music, 560 Hz
for Commander Keen, 60 Hz for Ultima 6, etc.

The opl3 emulation on the other hand is not really intended to run at
a sampling rate different that the chip's 49.716 kHz sampling rate.
Previously, we assumed it runs at 44.1 kHz and just used the input
rate as a divisor to get the number of samples per delay tic.

From what I understand, the correct way to use it for accurate
emulation is to run the opl chip emulator at its intended sampling
frequency, then downsample to 44.1 kHz.  This means better output
but more code.  The alternative is to basically do the same as
before rev 8433, except with no buffering, but at accuracy/quality
loss.  This change implements the former and just forks pcmconv to
deal with resampling.
2021-05-05 16:57:19 +02:00
..
1 games/opl3: use correct sampling rate 2021-05-05 16:57:19 +02:00
2 lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable file descriptor, update documentation 2021-05-01 19:58:58 +02:00
3 minor man page typos 2021-04-08 21:42:31 +02:00
4 [9front] [patch] nusb/ether -t rndis 2021-04-01 12:54:08 +02:00
5 /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
6 image(6): fix typo 2020-02-04 21:32:33 +01:00
7 remove juke (use play or zuke instead) 2021-04-13 13:25:24 +02:00
8 ip/tftpd: add -n namespace-file flag (thanks sam-d) 2021-02-23 01:47:33 +01:00
9 man(9): remove accidentally commited indices 2020-05-24 00:26:11 +02:00
fonts
index.html
mkfile /sys/man/9: more pages added 2020-01-04 18:02:54 +01:00
preface.html
preface3.html
preface4.html