I recently read Junichiro Tanizaki’s short story “A Blind Man’s Tale”, from the book Seven Japanese Tales. It’s a story about a blind shamisen player from the early 1600s, when the shamisen was still a new instrument in Japan. There are a few interesting passages related to this, but I like this one in particular, about a secret shamisen player’s code related to the iroha alphabet and the pitches of the samisen.
The iroha alphabet is a poem from the Heian period that uses every Japanese syllable just once. The order is the key thing, so the first syllable of the poem would probably be the open first string, the second syllable would be position 1 on the first string, and so on for 48 pitches.
The poem goes like this:
Iro ha nihoheto
Chirinuru wo
Wa ka yo tare so
Tsune naramu
Uwi no okuyama
Kefu koete
Asaki yume mishi
Wehi mo sesu
It could make be an interesting technique for composing melodies, or a secret shamisen ninja code for those so inclined.