-
Notifications
You must be signed in to change notification settings - Fork 1
/
eupplay.1
150 lines (149 loc) · 3.9 KB
/
eupplay.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
.\" -*- nroff -*-
.\"
.\" EUPPlayer - EUP Interpreter and Audio Synthesizer.
.\" Copyright (C) 1998,2000 Tomoaki HAYASAKA.
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or (at
.\" your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\"
.\" eupplay.1 - nroff -man source for eupplay man page.
.\"
.\" $Id: eupplay.1.in,v 1.4 2000/04/12 23:21:44 hayasaka Exp $
.\"
.TH EUPPLAY 1 "13 Apr, 2000" "Version 0.008" ""
.\"
.\"------------------------------------------------------------------
.\"
.SH NAME
eupplay \- interpret EUP file and produce synthesized PCM data.
.\"
.\"------------------------------------------------------------------
.\"
.SH SYNOPSIS
.PD 0
.BR eupplay " [ "
.B -r
.IR rate " ] [ "
.B -t
.IR format " ] [ "
.B -v
.IR level " ] [ "
.B -d
.IR channel " ] filename"
.P
.PD 1
.\"
.\"------------------------------------------------------------------
.\"
.SH DESCRIPTION
.B eupplay
is a EUP music module interpreter and audio synthesizer.
.B eupplay
reads EUP file and corresponding FM and PCM instruments,
simulate the behavior of Fujitsu's EUP player, FM-TOWNS' sound BIOS
and internal sound devices, and generates PCM audio data.
EUP is originally introduced in Fujitsu's music software Euphony, and
was accepted and widely used by the community of FM-TOWNS users.
.\"
.\"------------------------------------------------------------------
.\"
.SH EXAMPLES
.TP
.BI eupplay\ pon29.eup\ >/dev/dsp
Play the pon29.eup at 8bit/sample, 8000Hz, put to DSP device directly.
.TP
.BI eupplayer\ -r\ 22050\ pon29.eup\ |\ sox\ -r\ 22050\ -t\ .ub\ -\ -t\ .wav\ -\ |\ bplay
Play the pon29.eup at 22050Hz, convert the output to wav with
.B sox,
play it with
.B bplay.
.PP
.\"
.\"------------------------------------------------------------------
.\"
.SH OPTIONS
.TP
\fB\-r \fIrate\fR
Set the output rate to
.I num
samples/sec. By default the output rate is 8000 samples/sec.
.TP
\fB\-t \fIformat\fR
Set the output sample format to
.I format.
The possible formats are:
.RS
.HP
.ub - unsigned 8bit.
.HP
.sb - signed 8bit.
.HP
.uw - unsigned 16bit, LSB first.
.HP
.sw - signed 16bit, LSB first.
.HP
.wu - unsigned 16bit, MSB first.
.HP
.ws - signed 16bit, MSB first.
.\".RE
.P
By default the output sample format is .ub (unsigned 8bit).
.PP
.\"
.\"------------------------------------------------------------------
.\"
.SH ENVIRONMENT
.TP
.B EUP_FMINST
If
.B EUP_FMINST
is set, its value is used as the path to search for FM instrument data
files if none is found in the directory of the EUP file. If it is not
set,
.B .:/usr/local/share/fj2/tone:/usr/share/fj2/tone
is used.
.TP
.B EUP_PCMINST
If
.B EUP_PCMINST
is set, its value is used as the path to search for PCM instrument
data files if none is found in the directory of the EUP file. If it
is not set,
.B .:/usr/local/share/fj2/tone:/usr/share/fj2/tone
is used.
.\"
.\"------------------------------------------------------------------
.\"
.SH BUGS
.B eupplay
can not produce stereo output :-(
.PP
.B eupplay
can not drive FM-TOWNS' internal audio devices even if you
run it on FM-TOWNS.
.PP
Many features, such as LFO, are not yet implemented.
.PP
.\"
.\"------------------------------------------------------------------
.\"
.SH AUTHOR
Tomoaki HAYASAKA <hayasaka@postman.riken.go.jp>.
.PP
.\"
.\"------------------------------------------------------------------
.\"
.SH SEE ALSO
.BR sox "(1), " bplay "(1)"