dy / wavefont

Typeface for rendering waveform/data
https://dy.github.io/wavefont/scripts/
SIL Open Font License 1.1
411 stars 7 forks source link

y-shift encoding strategy #19

Closed dy closed 1 year ago

dy commented 3 years ago

Values are chosen to be direct positive values from 0-100 range from U+0100 unicode range. No negatives. What would be the right approach to shift? Factors:

0. Absolute shift

1. Cursive + 1 up/down

2. Cursive + n up/down

A mix of 0. and 1.: relative offsets to any amount.

2.1 Cursive with copy-paste compensation

3. A separate font for sample values (caps-only, or like linefont)

Since bars are almost always 0-aligned, with little decorative shifts up/down, that hardly affects baseline shift (can be handled on copy/paste events); and samples data doesn't need full bar value, but rather single point with nice shift ability, mb there's a sense switching from bars font to samples font for small-scale cases.

That samples font would be just timedata font with features:

Originally posted by @dy in https://github.com/audio-lab/wavefont/issues/18#issuecomment-780170992

dy commented 1 year ago

Accents add step up or down, but would be meaningful to have +10 accents for faster jumps.

dy commented 1 year ago

Som