plan9fox/sys/man/1
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
..
0intro /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
2a /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
2c 2c(1): document 7c (arm64) 2019-09-22 19:09:25 +02:00
2l /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
5e /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
abaco /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
acid /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
acme acme(1): add references to appropriate manpages 2021-01-18 17:55:01 -08:00
acmemail acmemail(1): Nail => Mail 2021-02-03 11:09:43 -08:00
alarm /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ap /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ar /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ascii /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
atari document common emulator keys 2020-01-29 19:27:07 +01:00
audio audio(1): fix little typo. 2021-03-13 09:47:48 +01:00
awk /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
basename /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
bc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
bind /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
bitsyload /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
blit /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
bullshit /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
bundle /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cal cal: add -s option to specify the starting day of the week 2021-01-12 13:23:37 +01:00
calendar /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cat /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cb /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
chgrp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
chmod /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cleanname /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cmp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
col /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
colors /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
comm /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
con /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
cpp Always turn on the -+ flag in cpp 2019-06-18 22:47:15 -07:00
cpu cpu(1): refer to oexportfs(4) 2020-12-13 20:11:44 +01:00
crop crop(1): remove duplicate -b option in synopsis 2019-12-10 15:13:44 +10:30
date Add RFC2822 (email style) formatted dates to to date(1). 2019-09-06 08:25:21 -07:00
db /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
dc dc(1): add pi program as example 2018-05-24 15:42:43 +01:00
dd dd(1): update manpage to match program 2021-01-19 15:18:57 -08:00
delkey /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
deroff manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
derp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
diff diff: support unified diff via -u 2020-09-21 09:40:42 -07:00
dmid misc small manpage fixes 2018-10-28 00:05:05 +02:00
doc2txt /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
doctype /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
dpic misc small manpage fixes 2018-10-28 00:05:05 +02:00
dtracy dtracy(1): fix print(2) reference 2019-03-18 02:41:15 +01:00
du /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
echo /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ecp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ed /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
emacs /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
eqn /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
expect /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
faces faces: add -c option to remove faces with button 1 click (thanks sirjofri) 2020-12-04 09:33:55 +01:00
factor /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
file /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
filter /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
fmt /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
forp forp: change indexing to verilog-like semantics 2018-12-06 10:56:32 +00:00
fortune /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
fplot fplot(1): use abs() 2020-11-27 10:35:57 +01:00
freq /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
fstype /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
galaxy /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
games games/glendy: don't use lucida sans in menus by default and bugfix (thanks kemal) 2021-04-02 22:05:15 +02:00
grap /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
graph /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
grep Make 'g' grep recursively by default. 2019-06-04 22:36:32 -07:00
gs /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
gview /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
gzip /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
hg /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
hget hpost: support custom headers (thanks julienxx) 2020-12-17 20:26:38 -08:00
history /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
hoc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
hold /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
htmlroff /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
idiff /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
io /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ircrc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
join /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
jpg /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
kbmap /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
kill /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ktrace /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
leak /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
lens /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
lex /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
lock /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
look /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
lp manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
ls /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mail mail(1): fix typo 2019-11-20 17:46:29 +10:30
man /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
marshal marshal(1): fix example: upas/mail -> mail (thanks fulton) 2021-01-04 00:24:39 +01:00
mc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mines mines(1): fix misleading HISTORY wording 2018-03-17 19:07:50 +00:00
mix /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mk /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mkdir /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mlmgr /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mothra /sys/man/1/mothra: eu regulations require that we disclose we're sending search queries to duckduckgo. 2021-03-02 22:56:58 -05:00
mpc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ms2html /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mtime /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mug /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mus mus: fix note volume and channel selection; simplify 2018-06-26 10:35:23 +02:00
nedmail /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
netstat /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
news /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
newt /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
nietzsche /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
nintendo document common emulator keys 2020-01-29 19:27:07 +01:00
nm /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ns /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
opl3 games/opl3: use correct sampling rate 2021-05-05 16:57:19 +02:00
os os(1): fix a typo 2019-12-02 17:55:53 +02:00
p /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
page page(1): fix troff manual example 2020-01-20 14:59:04 +10:30
paint paint: change colors in the palette with button 3 2020-05-23 20:41:20 +02:00
passwd passwd: make legacy mode explicit 2021-01-17 18:01:53 -08:00
patch /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
pc pc: add $ operator 2018-05-04 11:07:39 +01:00
pcc Always turn on the -+ flag in cpp 2019-06-18 22:47:15 -07:00
pic manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
pipefile /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
play /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
plot /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
plumb /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
pr /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
prof /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
proof /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ps /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ps2pdf /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
pump /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
pwd /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
python /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
qr man pages: SYNOPSYS typo 2018-03-20 18:24:26 +01:00
ratrace /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
rc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
rcpu /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
replica /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
resample resample(1): document -n option 2018-03-20 20:31:25 +00:00
rio rio(1): fix typo 2018-11-04 11:39:04 -08:00
rm /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
rotate /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
rwd /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sam B, Bfn: fix invocation with multiple files, improve manual page 2021-02-27 19:35:06 +01:00
seconds seconds(1): add SOURCE section 2019-12-03 18:25:24 +10:30
secstore /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sed /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
seg /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sega sega(1): fix keys (thanks bigato) 2020-12-08 21:20:13 +01:00
seq /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
size /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sleep /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sort /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
spell /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
spin /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
split /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
spred /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
src /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ssam /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ssh ssh(1): add sshnet(4) reference 2019-04-02 18:46:00 +02:00
stop /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
strings /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
strip /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
sum /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
syscall syscall: utility overhaul 2020-09-20 14:49:12 +02:00
sysinfo sysinfo: minor formatting fix 2018-06-13 16:05:31 +01:00
tail /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tap /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tar document 'T' flag misbehavior (thanks rgl) 2019-11-18 01:06:02 -08:00
tbl /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tcs /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tee /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tel /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
test test: fix expression parser 2021-02-06 15:51:09 +10:30
thesaurus /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
time /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
timepic man pages: SYNOPSYS typo 2018-03-20 18:24:26 +01:00
timmy /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tinyurl /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
torrent torrent(1): update url in examples section 2020-08-21 10:06:22 +09:30
touch /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tput /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
tr /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
trace /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
troff manpages: shut up about tex (1) 2018-02-28 12:55:48 -08:00
troff2html /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
troff2png troff2png(1): add manpage 2021-01-16 16:17:10 -08:00
tweak tweak: support showdata plumb action (thanks sirjofri) 2021-01-16 18:30:50 +01:00
uhtml /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
uniq /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
units /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
uptime /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
vac vac(1): assimilate manpage additions from plan9port and complete usage lines (thanks joe9) 2019-11-21 00:39:07 +01:00
venti /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
vi /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
vmx vmx: add -D option to enable debug messages, use vmdebug for non-fatal "errors" 2020-12-08 10:01:44 +01:00
vnc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
vt vt(1): document optional command argument (thanks sl) 2021-01-23 18:42:46 +01:00
walk [9front] walk: properly format permissions 2021-04-06 14:43:38 +02:00
wc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
who /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
winwatch /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
xargs /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
xd /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
yacc /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
yesterday /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
zuke zuke(1): more fixes (thanks humm) 2021-05-04 15:32:35 +02:00