Meriyasu is a type of music used in Japanese kabuki theatre. Typically played as an instrumental shamisen solo, it accompanies passages of dialogue rather than presenting a song in its own right.
Its defining feature is its adaptability to the stage: the music can expand or contract to fit the action. Although it is usually instrumental, meriyasu is classified within nagauta, a form whose name means “long song.”
Sources: Wikipedia
Meriyasu developed as music for kabuki theatre in Japan. Its name derives from the Portuguese word meias, associated with stretchy material and still used in Japanese for knitted garments. The term came to describe music able to lengthen or shorten with events on stage.
Meriyasu is classified as a subset of nagauta. Its usual role as an instrumental accompaniment to dialogue distinguishes it from the sung form suggested by the name nagauta.
Write for shamisen, treating the music as an instrumental solo that supports dialogue. Let the scene lead: identify where a phrase needs to begin, where it should leave room for speech and where the action calls for the music to end.
Create phrases that can be extended, shortened or brought to a close as the stage action requires. You could prepare several ways to connect or end them, then rehearse with the dialogue so that the music follows the performers rather than forcing them into a fixed musical span.