-
Notifications
You must be signed in to change notification settings - Fork 3
CLI
B0ney edited this page Jun 6, 2023
·
2 revisions
As we work on the core, it is important to test core features such as playing and rendering project files.
./rmms render flac ./
Playing is similar to rendering a project, but it will automatically connect to an output device.
idea: display progress
Most of the commands should have a --sdout
flag. In doing so, the output will be displayed to standard output (the terminal).
idea:
./rmms render music.rmmp \
--format=pcm \
--rate=44100 \
--channels=2 \
--sdout | someprogram
Idea: If we need extra data, we could contain the raw audio in packets:
{
"track": null,
"chunk": ["base64 data"],
"errors": null,
"ticks": 2345,
"progress": 14.88,
}