do not translate
A step by step tutorial to introduce the template creation in Usine.The purpose is to add the has changed module for outlets of faders, switches and more.
We gone to use an existing template for this example.
In the folder Usine/Templates/default find the text file named ”dataOut03-VertFader.txt” .
Create a new folder named My templates (or whatever the name you want) in the main Template folder.
Copy/paste this file in this new folder and rename it ”dataOut05-HasChanged.txt”.
Open this text file and change the first line (was Vertical Fader) by Has Changed, will be the name you want displayed in your menu. In a second time delete the selected lines here in blue, those parameters are specific to faders and we don’t need them for our purpose.
Now find in this text all the FaderV1 instances and replace them by haschange1
Refer to Internal Messages Language (IML) page to find the Identification number for the module we want: Has Changed = 106:
And replace the fader Identification number (was 172) by this one:
On the next line, you replace fader by in.
This is the name of the inlet of our has changed module. Here in this line we create the link between our source module and the inlet of the has changed module. Note the wire is always created from out to in.:
Now, we can select the module type who will benefit from this new menu, here we add for example the switch (3), listbox (8), fader midi note (13), you can find the complete list in most of templates and in the display_flowtype.
If you need it, here the file you must obtain at the end of this tutorial: