📄 madplay.1
字号:
.B PPause; press any key to resume..TP 3.B SStop; press any key to replay the current file from the beginning..TP 3.B FForward; advance to the next file..TP 3.B BBack; replay the current file, unless it has been playing for less than 4seconds, in which case replay the previous file..TP 3.B TTime display; change the time display mode. This only works with.B \-v.RB ( \-\-verbose ).The display mode alternates among overall playing time, current timeremaining, and current playing time..TP 3.B +Increase gain; increase the audio output gain by 0.5\ dB..TP 3.B \-Decrease gain; decrease the audio output gain by 0.5\ dB..TP 3.B QQuit; stop decoding and exit..RE.TP.B \-\-no\-tty\-controlDisable keyboard controls during playback. This is the default when standardinput is not a terminal, output is redirected with.B \-o.RB ( \-\-output ),or either of.B \-q.RB ( \-\-quiet )or.B \-Q.RB ( \-\-very\-quiet )is given..SS Miscellaneous.TP.BR \-T " or " \-\-show\-tags\-onlyShow ID3 and/or encoder tags from the input.IR file sbut do not otherwise decode or play any audio. By default only ID3 tags areshown (if any). With.B \-v.RB ( \-\-verbose ),all tags are shown. Encoder tags recognized by.B madplayinclude the Xing VBR header tag and the header tag format written by.BR lame (1)..TP.BR \-V " or " \-\-versionDisplay the effective version and build options for.B madplayand exit..TP.B \-\-licenseDisplay copyright, license, and warranty information and exit..TP.BR \-h " or " \-\-helpDisplay usage information and exit..SH Output FormatsOther than playing on the native audio device, the following output formatsare supported:.TP.B cddaCD audio, 16-bit big-endian 44100\ Hz stereo PCM, padded to 2352-byte blockboundary.RB ( *.cdr ,.BR *.cda ).TP.B aiffAudio IFF, [16-bit] PCM.RB ( *.aif ,.BR *.aiff ).TP.B waveMicrosoft RIFF/WAVE, [16-bit] PCM.RB ( *.wav ).TP.B sndSun/NeXT audio, 8-bit ISDN \(*m-law.RB ( *.au ,.BR *.snd ).TP.B rawbinary [16-bit] host-endian linear PCM, stereo interleaved.TP.B hexASCII hexadecimal [24-bit] linear PCM, stereo interleaved, one sample peroutput line.TP.B esdEnlightened Sound Daemon (EsounD) [16-bit] (give speaker host as.IR path ).TP.B nullno output (usually for testing or timing the decoder).PPDefault bit depths shown in square brackets can be changed with the.B \-b.RB ( \-\-bit\-depth )option..PPNote that EsounD support requires the.I libesdlibrary..SH Time SpecificationsFor options which accept a time or duration argument, the following timespecifications are recognized:.TP.IB hh : mm : ss . dddHours, minutes, seconds, and decimal fractions of a second. This specificationis flexible;.IB hh : mm : ss\c,.IB mmm : ss\c,.BI : ss\c,.IB sss . ddd\c,.BI . ddd\c, and.I ssssare all acceptable. The component values are not constrained to any particularrange or number of digits..TP.IB frac / unitA length of time specified as a rational number, in seconds. This can be usedfor sample-granularity, for example.B 32/44100for 32 samples, assuming a 44100\ Hz sample frequency..TP.IB time1 + time2A composite time made by adding two time values together. This permits mixingthe above specification forms..PPThe resolution of any time value cannot exceed 1/352800000 seconds..SH DIAGNOSTICS.TP.B error: frame #: lost synchronizationIf encountered at the beginning of a file, this means the file containssomething other than an ID3v2 tag before the MPEG audio data. If encounteredin the middle of a file, it may mean the file is corrupt. This message is mostcommonly encountered, however, at the end of a file if the file contains anID3v1 tag that is not aligned to an MPEG audio frame boundary. In this case,the message is harmless and may be ignored..PP.TP.B error: frame #: bad main_data_begin pointerThis message can occur while decoding a Layer\ III stream that has been cut orspliced without preserving its bit reservoir. The affected frame cannot beproperly decoded, but will be used to help restore the bit reservoir forfollowing frames..PPMost other messages indicate a deficiency in the input stream..PPWhen a frame cannot be properly decoded, a concealment strategy is used asfollows:.TP 2\(buIf the previous frame was properly decoded, it is repeated in place of thecurrent frame..TP 2\(buIf the previous frame was.I notproperly decoded, the current frame is muted..SH NOTES.SS Output PrecisionBecause MAD produces samples with a precision greater than 24 bits, by default.B madplaywill dither the samples to the precision of the output format. This produceshigh quality audio that generally sounds superior to the output of a simplerounding algorithm. However, dithering may unfavorably affect an analyticexamination of the output, and therefore it may be disabled by using the.B \-d.RB ( \-\-no\-dither )option..PPThe actual precision of output samples can be requested with the.B \-b.RB ( \-\-bit\-depth )option. Whether the request can be honored depends on the capabilities of theaudio device or output format. If this option is not specified, a typicaldefault depth will be used (often 16) or in the case of output to an audiodevice, the highest bit depth determined to work reliably with the device willbe used..PPNote that bit depths greater than 24 are effectively the same as 24-bitprecision samples padded to the requested depth..SS Ancillary DataMPEG audio streams contain an ancillary data stream in addition to audio data.Most often this does not contain any useful information and may simply consistof padding bits. The MPEG-2 extension to multichannel audio uses part of thisancillary stream to convey multichannel information; presently MAD does notinterpret such data..PPFor applications which have uses for the stream, ancillary data can beextracted with the.B \-\-ancillary\-outputoption..SS Replay Gain.B madplayoptionally supports the Replay Gain proposed standard with the.B \-G.RB ( \-\-replay\-gain )option to make compensating volume adjustments when playing decoded audio fromdifferent sources. There are two Replay Gain profiles:.B radiostrives to make gain adjustments that give all tracks equal loudness, while.B audiophileattempts to give ideal listening loudness. These adjustments are relative to areference of 83\ dB SPL..PPA pre-amp gain is also used in conjunction with Replay Gain to achieve theoverall desired loudness. When Replay Gain is enabled, this pre-amp gaindefaults to +6\ dB, however it can be changed with the.B \-a.RB ( \-\-attenuate ,.BR \-\-amplify )option or keyboard controls..PPNote that when enabled, Replay Gain overrides any relative volume adjustmentsspecified by ID3 tags (RVA2). Replay Gain is also incompatible with the.B \-A.RB ( \-\-adjust\-volume )option; any attempt to use it will be ignored..PPReplay Gain information is read either from an ID3 tag (RGAD) or from anencoder tag written by.BR lame (1).If both are present, the information in the ID3 tag takes precedence. Inaccordance with the proposed standard, if the requested Replay Gain profile isnot available but the alternate is, the alternate is used instead..PPDue to an unfortunate heresy, versions of.BR lame (1)since 3.95.1 write Replay Gain information using a reference of 89\ dB SPLinstead of the 83\ dB specified in the Replay Gain proposed standard. Tocompensate,.B madplayautomatically subtracts 6\ dB from the Replay Gain values read from such tags..PPNote that.B madplaydoes not yet support hard limiting as suggested by the Replay Gain proposedstandard; nor does it automatically reduce the pre-amp gain to avoid clipping..SH CONFORMING TOMAD conforms to Part\ 3 of the ISO/IEC\ 11172 (MPEG-1) international standardfor decoding MPEG audio. In addition, MAD supports the extension to LowerSampling Frequencies (LSF) as defined in Part\ 3 of ISO/IEC\ 13818 (MPEG-2)..PPThe output from MAD has been tested and found to satisfy the ISO/IEC\ 11172-4computational accuracy requirements for compliance. In most configurations,MAD is a.I Full Layer\ III ISO/IEC\ 11172-3 audio decoderas defined by the standard..PPThe ID3 tag parsing library used by.B madplayconforms to the ID3v2.4.0 informal standard..PPWith the exception of the clipping prevention provisions, Replay Gain supportprovided by.B madplayis in accordance with the Replay Gain proposed standard published on July\ 10,2001 by David Robinson..SH BUGSThe resampling algorithm used by.B madplayis one of a linear interpolation, and does not produce optimum qualitysound..PPThe granularity of start and stop times.RB ( \-\-startand.BR \-\-time )is not yet as fine as this document suggests..SH AUTHORRobert Leslie <rob@mars.org>.SH SEE ALSO.BR lame (1),.BR normalize (1),.BR sox (1),.BR wget (1).\" .BR id3tag (1).\" .BR libmad (3).\" .BR libid3tag (3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -