Basics: Containers – Practice

Let’s have a look to containers in SynthEdit now. It is not a working synthesizer or effect, just an example! We start with a new project and save it.
controls_newsave

A new window will be displayed. It’s the module window, called SynthEdit.
basics_containers_practice_1_newprojectwindow

Right-click inside the module window and insert 1 Keyboard module.
basics_containers_practice_1_insert_keyboard

Right-click inside the module window and insert 1 MIDI to CV module.
basics_containers_practice_1_insert_miditocv

Right-click inside the module window and insert 1 MIDI to CV module.
basics_containers_practice_1_insert_vca

Right-click inside the module window and insert 1 Sound Out module.
basics_containers_practice_1_insert_soundout

I wanna give you a word of advice at this point: rename, rename and again rename your modules (not now, we do it together). Using containers could be really confusing at first! Move the Keyboard module to the left, Sound Out to the right, other modules in the middle. Should look like this:
basics_containers_practice_1_allmodulesplaced

What we wanna do now, is kind of outsourcing the modules in the middle, to have a better overview in the module window. Now it’s just 4 modules in a simple example. In bigger projects with several groups of modules, you will agree, that a bit overview is useful and you will appreciate it.
basics_containers_practice_1_outsourcearrow

This outsourcing will be done with the aid of so-called containers. We will create such a container now. Right-click inside the module window and insert 1 Container.
basics_containers_practice_1_insert_container

Now we have a container module in the module window. Double-click the blue area of the module will open a new window. This new window will hide the module window. You will have to move the new window to see the module window again.
basics_containers_practice_1_container_doubleclick

As you see, the new window is called Container like the Container module. The only thing you see in an empty container window is the IO Mod module in the corner of the window.
basics_containers_practice_1_plaincontainerwindow

Draw a selection rectangle in the module window by holding down left mouse button to select the MIDI to CV and the VCA module.
basics_containers_practice_1_selectionrectangle

Cut(hold down CTRL, press X) the selected modules and paste(hold down CTRL, press V) them in the Container window.
basics_containers_practice_1_modulemove1

Let us move the container down a bit, to clarify that the container stands for the MIDI to CV and the VCA module.
basics_containers_practice_1_modulemove2

Maybe you noticed, the container need 2 connections, to the Keyboard module and to the Sound Out module. One IO Mod module(connection for the Keyboard module) is not enough, because the Sound Out need also an IO Mod module.
basics_containers_practice_1_missing_iomod

Let’s insert the missing IO Mod module in the Container window now …
basics_containers_practice_1_insert_missing_iomod

Move the new IO Mod module to the right side, because it stands for the Sound Out module on the right side. Your workspace should look like this now:
basics_containers_practice_1_complete_workspace

Please keep in mind: When renaming a container while it’s container window is open, the new name will not change directly in the opened container window. You have to close the container window and to open it again! We will rename the Container and both IO Mods together now.
basics_containers_practice_1_completemodules_marked

Let’s give the Container a descriptive name. Descriptive names are really important not to get lost in your own project. Again I give you that advice. Better a longer and descriptive name than a shorter vague name. Remember: You could also use special characters(symbols) like §$%*’#&% in your module names. Right-click the blue area of the Container module and select Properties.
basics_containers_practice_1_renamecontainer_a

We have the MIDI to CV and the VCA module inside the Container. Let’s change the name to MIDI to CV +VCA.
basics_containers_practice_1_renamecontainer_b

You will see, the Container’s module name has changed, while the Container’s window name is still Container. Close the Container window and open it again(double-click the blue area in Container module in module window).
basics_containers_practice_1_renamedcontainer_no_windowchange

The Container window will be labeled MIDI to CV +VCA now.
basics_containers_practice_1_renamedcontainer_windowchange

To know exactly which IO Mod module in the container window stands for which module in module window, we have an IO Mod module on the left side(Keyboard in the module window is also placed left) and another IO Mod module placed on the right side(Sound Out in the module window is also placed on the right side).

Let’s rename the IO Mods in the container window descriptive names now. Rename(right-click the module and select Properties) the left IO Mod module to Keyboard -> in and the right IO Mod module to Sound Out -> out.
basics_containers_practice_1_rename_iomods

Your workspace should look like this now:
basics_containers_practice_1_allrenamed

Don’t care about plug names like MIDI Out in the Keyboard module. It’s just important which data passes the container. In this example data is send from the Keyboard module to >> the container and data leave the container to >> Sound Out module. This is a reliable method to keep track of what’s going on.
basics_containers_practice_1_inout_explanation

Last act is to connect the Keyboard module and the Sound Out module with the containers IO Mods. To connect the container to the outside world, you create the plugs we needed in the container window. Don’t mix connections the Container in module window has(Controls on parent & Spare) with the connections we need to connect the Container with the Keyboard module and Sound Out module. You will see now, how IO Mods work.

Click on the MIDI to CV modules MIDI In plug (and hold down left mouse button) to connect it with the left IO Mods Spare plug.
basics_containers_practice_1_connect_midiin_tospare

You will notice 2 things when done:
1) The left IO Mod module(Keyboard -> in) in Container window has a new plug called MIDI in.
2) The Container module(MIDI to CV + VCA) in module window has a new plug called MIDI In.
basics_containers_practice_1_connected_midiin_tospare

Impressive! Let’s connect the right IO Mod module with the VCA now. Click on the VCA modules Output plug (and hold down left mouse button) to connect it with the right IO Mods Spare plug.
basics_containers_practice_1_connect_output_tospare

You will notice 2 things when done:
1) The right IO Mod module(Sound Out -> out) in Container window has a new plug called Output.
2) The Container module(MIDI to CV + VCA) in module window has a new plug called Output.
basics_containers_practice_1_connected_output_tospare

Our Container module(MIDI to CV + VCA) has 2 nice plugs now and could be connected to the Keyboard module and to the Sound Out module. Your workspace should look like this now:
basics_containers_practice_1_connected_iomods_done

Connect the Keyboard modules MIDI Out plug in the module window with the Containers(MIDI to CV + VCA) MIDI In plug.
basics_containers_practice_1_connect_midiout_to_midiin

Connect the Containers(MIDI to CV + VCA) Output plug in the module window with the Sound Out modules 1 and 2 plug.
basics_containers_practice_1_connect_output_tooutput1

basics_containers_practice_1_connect_output_tooutput2

Your final workspace should look like this. We have a clean module window, the Container and IO Mods have well-defined names.
basics_containers_practice_1_allrenamed_and_connected

You have read: SynthEdit Tutorials / Basics: Containers – Practice