Skip to content

Template 1: Patch + Score

In this template you have access to a patch that receives image files (from scores) and renders it side by side with your patch. The result will be something like this:

Click in the image to open the example in a new tab

Download Patch Template

Compile using the template mode 1


What should your patch include?

You make your patch and the score file can be set using the object [s pd4web-score]. I recomend to use svg files, but you can use any image file (.png, .jpeg).

  • These files must be inside the WebPatch folder. For example, if the score image is called score-measure1.png, you will send to [s pd4web-score] the message symbol score-measure1.png.

Don't forget the symbol word before the file


Extra options

After compile the patch, you will see that, inside the folder WebPatch, will have a file called bula.md. Inside this file, you can write some description about your piece. The file uses markdown to render, you can check the complet syntax in https://www.markdownguide.org/basic-syntax/. Below the example of main command:

# Title 1
## Title 2
### Title 3

**bold text**
*italic text**

* this one item
* this is another item