Add new instructions to README

This commit is contained in:
Starbeamrainbowlabs 2019-02-21 23:50:40 +00:00
parent 222b197bc6
commit 5c81eabebe
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -12,6 +12,21 @@
This somewhat convoluted process prevents anyone from automatically rescaling it along the way. This somewhat convoluted process prevents anyone from automatically rescaling it along the way.
If the above doesn't work, it's probably LibreOffice Draw scaling it even though you've told it not to. In that case, try this:
```bash
# Convert MIDI -> SVG
./MusicBoxConverter.exe --input song.midi --output score.svg
# Convert it to png
inkscape -e score.png score.svg
# Convert the PNG to PDF, rotating by 90 degrees
convert score.png -rotate 90 score.pdf
# Split the PDF up into multiple pages for the printer
# -s1 Don't scale the output
# -m Sets the output paper size. Defaults to A4 (21x29.7cm) if unspecified, but may need to reduce by a cm or 2 on each side (as below) if things get cut off.
pdfposter -s1 -m 20x28.7cm score.pdf print.pdf
```
## Useful Links ## Useful Links
- [ffmpeg - showspectrumpic manual](https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic) - [ffmpeg - showspectrumpic manual](https://ffmpeg.org/ffmpeg-filters.html#showspectrumpic)
- [Frequency to Musical Note Converter](https://newt.phys.unsw.edu.au/music/note/) - [Frequency to Musical Note Converter](https://newt.phys.unsw.edu.au/music/note/)