fm-vector 0.1.0

A notation program's PDF read from its vectors: every notehead, stem, beam and barline where the engraver put it, read into .fmn and compiled to MusicXML, with the words from the PDF's text. No model, no server: it runs in the browser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# fm-vector


Reads the notation back out of a PDF that a notation program wrote (MuseScore, Dorico, Sibelius,
Finale, LilyPond, Musicnotes): every notehead, stem, beam and barline from the PDF's own glyphs and
lines, not pixels. Each bar is compiled before it is kept; a bar that does not add up is left as
a rest and named, never guessed. The score comes out as MusicXML. No model, no server; it builds
to WebAssembly.

```rust
let reading = fm_vector::read_pdf(&std::fs::read("score.pdf")?)?;
std::fs::write("score.musicxml", reading.musicxml)?;
```

Part of [copyist](https://github.com/fermata-music/copyist): why it is free and how well it reads
are in its `WHY.md`. MIT or Apache-2.0.