# Sibelius Shakuhachi Kinko Notation Plugin Bidirectional plugins for adding shakuhachi Kinko notation to Sibelius scores. ## Features - **Forward direction**: Convert staff notation to Kinko characters - **Reverse direction**: Update staff notes from edited Kinko text - **10 shakuhachi lengths**: 1.3 to 2.4 shaku (G to A) - **Extended symbols**: chu meri (中), dai meri (大), alternative fingerings - **Unicode text**: Works immediately with system Japanese fonts - **Bidirectional editing**: Manual text editing with reverse synchronization - **Extensible architecture**: Migrate to custom calligraphy symbols ## Installation 1. Copy `ShakuhachiKinko.plg` and `ShakuhachiKinkoReverse.plg` to your Sibelius plugins folder: - **Windows**: `C:\Users\[username]\AppData\Roaming\Avid\Sibelius\Plugins` - **macOS**: `~/Library/Application Support/Avid/Sibelius/Plugins` 2. Restart Sibelius or run **Plug-ins > Rescan Plug-ins** ## Usage ### Forward (Staff → Kinko) 1. Select measures containing notes 2. Run **Plug-ins > Text > Add Shakuhachi Kinko Notation** 3. Choose shakuhachi length (default 1.8 shaku) 4. Choose position (above or below staff) 5. Click OK ### Reverse (Kinko → Staff) 1. Edit Kinko text directly in score (double-click text, type new characters) 2. Select measures containing edited Kinko text 3. Run **Plug-ins > Notes and Rests > Update Notes from Kinko** 4. Choose shakuhachi length (must match original) 5. Click OK ### Bidirectional Workflow 1. Create staff notation, run forward plugin to add Kinko text 2. Edit Kinko text directly in score (double-click, edit) 3. Select edited measures, run reverse plugin to update staff notes 4. Optionally run forward plugin again to verify synchronization ## Supported Lengths | Shaku | Key | Semitone Offset | |-------|-----|-----------------| | 1.3 | G | +5 | | 1.4 | F♯ | +4 | | 1.5 | F | +3 | | 1.6 | E | +2 | | 1.8 | D | 0 (baseline) | | 1.9 | C♯ | -1 | | 2.0 | C | -2 | | 2.1 | B | -3 | | 2.3 | B♭ | -4 | | 2.4 | A | -5 | ## Kinko Notation ### Basic Notes - **ロ** (ro) = D4 - **ツ** (tsu) = F4 - **レ** (re) = G4 - **チ** (chi) = A4 - **リ** (ri) = C5 - **ウ** (u) = B4 ### Meri Notation (Pitch Lowering) - **中** prefix (chu meri): lowers by ~half step - Example: **中ロ** (chu ro) = D♯ for 1.8 shaku - **大** prefix (dai meri): lowers by ~whole step - Example: **大ロ** (dai ro) = E for 1.8 shaku ### Extended Symbols - **ウ₃** (san no u): alternative fingering for B (same pitch as ウ) - **カ** (kari): raises pitch, rarely used in traditional scores - Ornaments (ori, suri, atari, keshi): phrase-ending techniques, add manually ### Valid Range - MIDI 62–86 (D4–D6, three octaves) - Notes outside range are skipped - Chords: notation added to top note only ## Adding Subscripts To add Unicode subscript 3 for san no u: - **Windows**: Type u followed by Alt+2083 - **macOS**: Character Viewer > search "subscript 3" - **Copy/paste**: ₃ (Unicode U+2083) The reverse plugin normalizes subscripts (strips them) before pitch lookup. ## Troubleshooting - **"No notes in shakuhachi range found"**: All selected notes are outside D4–D6 range - **Japanese characters not displaying**: Install system Japanese font support - Windows: MS Mincho, MS Gothic, or Yu Mincho - macOS: Hiragino Kaku Gothic (included by default) - Linux: Install `fonts-noto-cjk` or equivalent - **Tied notes showing duplicate notation**: Enable "Update existing notation" checkbox - **Octave ambiguity in reverse**: Duplicate characters (ロツレチリウ appear in multiple octaves) default to first octave; manually adjust pitch if needed ## Future Enhancement: Custom Calligraphy Symbols The plugin architecture supports migration from Unicode text to custom calligraphy symbols: 1. **Prepare calligraphy images**: Create SVG or PNG files (ro.svg, tsu.svg, chu_ro.svg, etc.) 2. **Install as Sibelius symbols**: Edit > Symbols > New Symbol, name with prefix `kinko_ro`, `kinko_tsu`, etc. 3. **Modify forward plugin** (line ~145): Replace `bar.AddText()` with `bar.AddSymbol()` 4. **Modify reverse plugin**: Iterate SymbolItem objects instead of Text objects See [README_Shakuhachi.txt](README_Shakuhachi.txt) for detailed migration steps. Reference implementation: [shakuhachi-ro](https://github.com/chrisrauh/shakuhachi-ro) ## Requirements - Sibelius Ultimate (version 7+) with ManuScript support - Not compatible with Sibelius First or Student editions ## Technical Details - **Architecture**: On-demand synchronization via explicit plugin execution - **Synchronization**: Position-based object lookup (Text.Position = NoteRest.Position) - **Text style**: Uses built-in "Technique" style - **Transposition**: Baseline 1.8 shaku (D), all other lengths offset accordingly - **Normalization**: Unicode subscript stripping for robust reverse lookup ## License This plugin is provided as-is for shakuhachi notation purposes. No warranty expressed or implied. ## Version 1.0 - Initial release with bidirectional Unicode text notation