mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-30 20:42:44 +00:00
Initial Commit
This commit is contained in:
74
ProjectNow/NodeServer/node_modules/synth-js/man/help.txt
generated
vendored
Normal file
74
ProjectNow/NodeServer/node_modules/synth-js/man/help.txt
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
NAME
|
||||
synth - JavaScript MIDI-to-WAV synthesizer
|
||||
|
||||
SYNOPSIS
|
||||
synth -i filename [options]
|
||||
|
||||
DESCRIPTION
|
||||
Parses MIDI file and synthesizes sinusoidal raw audio in WAV format.
|
||||
|
||||
OPTIONS
|
||||
-i, --input filename
|
||||
[Required] Specify path of MIDI file (without extension) as input
|
||||
|
||||
-o, --output filename
|
||||
Specify path of WAV file (without extension) as output
|
||||
Default to input
|
||||
|
||||
-s, --sample-rate number
|
||||
Specify explicitly the sample rate in Hz of WAV output.
|
||||
Default 44100
|
||||
|
||||
-b, --bits-per-sample number
|
||||
Specify explicitly the bits per sample of WAV output.
|
||||
Default 16
|
||||
|
||||
-d, --duration number
|
||||
Specify explicitly the relative note duration before rest.
|
||||
Default 1
|
||||
|
||||
-S, --skip json|file
|
||||
Specify either JSON literal or path of JSON file containing meta events or
|
||||
source file with which to match and omit MIDI tracks from WAV output. If
|
||||
source file is specified, imports function that accepts a track and
|
||||
returns a boolean specifying whether to skip or not.
|
||||
Default []
|
||||
|
||||
Example Usage:
|
||||
synth -i file -S [{\"text\":\"Drums\"},{\"text\":\"Timpani\"}]
|
||||
synth -i file -S skip.json
|
||||
|
||||
skip.json:
|
||||
|
||||
[
|
||||
{
|
||||
"text": "Drums"
|
||||
},
|
||||
{
|
||||
"text": "Timpani"
|
||||
}
|
||||
]
|
||||
|
||||
synth -i file -S skip.js
|
||||
|
||||
skip.js:
|
||||
|
||||
module.exports = function (track) {
|
||||
// ...logic for determining whether to skip
|
||||
return skip;
|
||||
};
|
||||
|
||||
-v, --verbose
|
||||
Verbose output
|
||||
|
||||
-D, --dry-run
|
||||
Run verbosely without generating WAV file
|
||||
|
||||
-h, --help
|
||||
Display the help page
|
||||
|
||||
AUTHOR
|
||||
Patrick Roberts
|
||||
|
||||
COPYRIGHT
|
||||
Synth is available under the MIT License.
|
66
ProjectNow/NodeServer/node_modules/synth-js/man/synth.1
generated
vendored
Normal file
66
ProjectNow/NodeServer/node_modules/synth-js/man/synth.1
generated
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
.TH SYNTH 1
|
||||
.SH NAME
|
||||
\fIsynth\fR \- JavaScript MIDI\-to\-WAV synthesizer
|
||||
.SH SYNOPSIS
|
||||
.B synth
|
||||
\-i
|
||||
.BR filename
|
||||
[options]
|
||||
.SH DESCRIPTION
|
||||
.B \fIsynth\fR
|
||||
parses MIDI file and synthesizes sinusoidal raw audio in WAV format.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR \-i ", " \-\-input " " \fIfilename\fR
|
||||
[Required] Specify path of MIDI file (without extension) as input
|
||||
.TP
|
||||
.BR \-o ", " \-\-output " " \fIfilename\fR
|
||||
Specify path of WAV file (without extension) as output
|
||||
.PP
|
||||
.RS
|
||||
Default to \fIinput\fR
|
||||
.RE
|
||||
.TP
|
||||
.BR \-s ", " \-\-sample\-rate " " \fInumber\fR
|
||||
Specify explicitly the sample rate in Hz of WAV output.
|
||||
.PP
|
||||
.RS
|
||||
Default 44100
|
||||
.RE
|
||||
.TP
|
||||
.BR \-b ", " \-\-bits\-per\-sample " " \fInumber\fR
|
||||
Specify explicitly the bits per sample of WAV output.
|
||||
.PP
|
||||
.RS
|
||||
Default 16
|
||||
.RE
|
||||
.TP
|
||||
.BR \-d ", " \-\-duration " " \fInumber\fR
|
||||
Specify explicitly the relative note duration before rest.
|
||||
.PP
|
||||
.RS
|
||||
Default 1
|
||||
.RE
|
||||
.TP
|
||||
.BR \-S ", " \-\-skip " " \fIjson\fR|\fIfile\fR
|
||||
Specify either JSON literal or path of JSON file containing meta events or
|
||||
source file with which to match and omit MIDI tracks from WAV output. If
|
||||
source file is specified, imports function that accepts a track and
|
||||
returns a boolean specifying whether to skip or not.
|
||||
.PP
|
||||
.RS
|
||||
Default []
|
||||
.RE
|
||||
.TP
|
||||
.BR \-v ", " \-\-verbose
|
||||
Verbose output
|
||||
.TP
|
||||
.BR \-D ", " \-\-dry\-run
|
||||
Run verbosely without generating WAV file
|
||||
.TP
|
||||
.BR \-h ", " \-\-help
|
||||
Display the help page
|
||||
.SH AUTHOR
|
||||
Patrick Roberts
|
||||
.SH COPYRIGHT
|
||||
.B \fIsynth\fR is available under the MIT License.
|
Reference in New Issue
Block a user