Originality is not often the good solution in naming scripts. This is the lesson we can learn from one of the most powerful script I saw, which is able to unglue items, recalling their source files, even if it was merged with several different item sources. Once you have published your script, just open a thread on REAPER JSFX/ReaScript.
4.) Making Drum Track Template
OK, hopefully now we are going to actually make sound come out.
What we are going to do is we are going to set up a simple track that will act as a drum machine, so to speak. This is going to take a while to set up, but after we are done setting it up I will show you how to save it as a track template so you won't have to re-make it every time you want to use it in a song.
First, right click and hit insert new track like this:
now you will see the menu to add a VST or VSTi to your track. You should be familiar with this little window from back in step 3. Go in and find the plugin called 'VSTi: ReaSamplOmatic5000 (Cockos)'.and add it.
Now, change all of the settings in this plugin to look EXACTLY like this:
Now download this file. Save it somewhere where it's safe and sound (not your downloads folder). Now click that Browse button in the picture above and find that file you just downloaded and open it. Now click that black square. It should drop a mad beat every time you click it.
We have successfully made a track which can make a kick drum sound. Now let's make it able to make more types of sounds.
First, make a copy of ReaSamplOmatic5000 by ctrl+clicking and dragging down the listing of it like this (or by copying and pasting if you want to do it that way):
Now, change Note Start and Note End to 50. Download this file, save it somewhere safe (like with your first file), and browse to it.
Duplicate by ctrl+clicking again. Now, change Note Start and Note End to 54. Download this file, save it somewhere safe (like with your first file), and browse to it.
Duplicate by ctrl+clicking again. Now, change Note Start and Note End to 58. Download this file, save it somewhere safe (like with your first file), and browse to it.
Now you should be seeing something like this:
And when you click different effects on the left and click the corresponding black squares on the right you should be able to hear four different types of noises.
OK, so X out of that window. If you need it again just hit that FX button. () Let's make a drum beat as a reward for all our hard work.
This might be a good time to teach you how to zoom in and out. You can either do it with the scroll wheel on your mouse, or if you don't have one of those you can use the plus and minus buttons on the corner of the scroll bars.
OK so first we need a blank strip of MIDI data. To draw blank MIDI data, ctrl+click and drag somewhere inside the lane of your track:
you get this
drag that midi data to the beginning of the song and then drag the end of it to measure 5.1
right now the midi is looping. we don't want that. we can tell because of the part where it goes in.
right click on it and go to loop item source and uncheck it.
now it will mostly take away the part where it goes in. Why it does not fully take it away I will never know. If you drag the end of the data back and fourth it will go away for some reason.
Double click on that MIDI data. It should open something like this.
This is a grid you can draw notes on. Make sure the Grid setting at the bottom says 1/8 for now. Then draw some notes, maybe some that look like this here dance beat:
You can play your beat with the buttons in the lower left of that picture up there.
Get familiar with this note drawing screen. If you are anything like me you will be using it a lot.
RIGHT CLICK AND DRAG to draw a box around things and select them.
COPY AND PASTE is your friend. to move the playhead click on some grey space on the ruler up at the top.
OK, so now that you have set up your drum track you should save it. X out of that window you were making beats in and right click on your drum track and click save tracks as track template.
YOU SHOULD SAVE RIGHT IN THE FOLDER IT OPENS UP IN!!!!!
Save it as 'Drum Track' or something like that. Now when you right click and go to insert track from template it should be there as an option
If you click this it will give you a drum track just like the one you just set up. Inconceivable!