A new plugin for MuseScore 2 Scales, Chords,Reverse Paste,Knit

• Jan 5, 2019 - 17:09

Write Tune Plugin for MuseScore 2, Data import/export to Sonic PI and a lot of other stuff.

The Github link

The ReadMe page:

Writetune1.qml (Under construction)

Adds many functions to MuseScore 2

Added functions:

  1. File import export of duration and pitch information in a text format.

  2. Copy from score to a text window


  1. Paste from text window to score

  2. Paste from text window to score and halve the durations of elements.

  3. Paste from text window to score and double the durations of elements.

  4. Paste from text window the melodic inversion.


  1. Allow the entry of rests, notes and chords into the score.


  1. Create scales in the score



  1. Paste Reverse


  1. Knit a rest, note or chord into a tune (scale example)


  1. Knit Tunes combine two tunes together alternating notes


  1. Knit a Tune Using a Rythmn Pattern

Used on one staff at a time. Ignores rests in the tune but applies rests in the rythmn snippet.

a. Open uo the Knit Rythm page
b. Select the tune, press Sync and then Copy0
c. Select the rythmn snippet, press Sync and then Copy1
d. Select target measures (sufficient to hold the results), press Sync and then press Knit Rythmn.



Pay attention to the Synchronization field

This code depends on a selection being made in the score. The synchronization field and the Sync button, allow this plugin to synchronize the insertion point in the score with the selection in Musescore.

Best practice: Use mouse to mark a selection in th4e score, then click on the Sync button in the plugin.

Sonic Pi data

The stegtest.rb file contains Sonic Pi code that creates a song using steganography. It has been altered to produce the strings to import the two staffs into MuseScore 2 using this plug in.
The two strings were copied from Sonic Pi and pasted into the file stegtest.txt. This file was opened with the plugin and pasted into an empty score and the score was then titled etc. and saved, and exported into pdf and wav formats.

The playBeethoven.rb is a Sonic Pi program that takes the exported text format and plays the music using Sonic Pi. It uses the file atest.txt. The playbeethoven.rb code will need to be altered to reflect the file path to the atest.txt file.




Sonic Pi


Joe, some broken image links in your post made it hard to get an immediate impression. But now that I've skimmed through the GitHub README, I have a clearer picture of your WriteTune plugin. Looks like a lot of creative and practical applications. Thanks for contributing.

Do you still have an unanswered question? Please log in first to post your question.