Running Factories

Running Factories "by hand"

Dependent of the kind of Factory, there are many ways to start running the Factory. When a Factory is selected, there are three ways to start the Factory "by hand":
  1. Start Factory directly. No additional actions are executed by using the values of the Outputs.
  2. Start Factory and execution actions. Actions are executed by using the values of the Outputs, such as creating Wave Windows, creating files and creating messages.
  3. Iterate through some objects, and start the factory for each object and executing actions after running each Factory.

Only the first way is always available for each kind of Factory. The second way is only available for kind of Factories that can have Output Groep for standaard actions. The third way is only avialable for Factory kinds thats use iteration.

Running Factories by another Factories.

Factories can also uses other Factories, or even use itself. This is explained at Factory Nodes [todo: link naar Factory Nodes].

Running Factories for specific applications.

Some Factories are designed to use for specific applications:

  1. Changing the content of a Wave Window. By selecting a Wave Window and start Action that use a specific Factory special designed to changing the content of a Wave window
  2. Creating a Wave inside a Factory, by using a special Node that use a Factory for Creating Wave by (horizontal) Wave Positions
  3. When generation Music, use a Factory as a Player (Music Instrument) which generate a Wave based on Inputs such as the desired frequency, note length, timing etc.
  4. When generation Music, use a Factory to manipulate the total result of a player, or a set players of a Music Stave. For example creating echo or many other sound effects.

Kinds of Factories

There are 10 kinds of Factories
  1. Free Factory
  2. This Factory can be used for general use, used directly or used by another Factory. It has no restrictions on the inputs and the outputs. Running these Factories cause no side effects.

    You can also run all other kinds of factories listed below, directly without causing actions. todo: uitleggen hoe

  3. Factory for executing Actions
  4. By running these Factories, the WaveThunder will execute actions dependent of the values in the Factory Outputs. These actions are:

    1. Creating files
    2. Create Wave Windows
    3. Creating messages

    todo: uitleggen hoe te runnen met actions todo: uitleggen van action-filters

  5. Factory for changing Wave Windows
  6. By running these Factories, the WaveThunder will change the content and the selection of Wave Window. The Factory reads the Wave and the selection, and create a new Wave and a new selection of the Wave.

    First Select the Wave Window to change and eventually make a selection inside the Wave Window. Then start the Factory by using action "Run Factory Change Wave".

    todo: link naar detail

  7. File Iterator Factory
  8. When starting this Factory, you get a dialogbox where you can select files and directories. After selecting files and directory, this Factory iterate through these files and reads them. In the factory you can use the contents of the files such as File Name, Wave, Mno/Stereo, Sample Frequency.

    todo: link naar detail

  9. Table Rows Iterator Factory
  10. This Factory iterate through the rows of a selected Table. In the factory you can use the values of these rows. You can add or remove Inputs and Outputs. You can read and use the values or Waves out of the current row of the selected table by Factory Inputs connected to the table. You can write new values or wave to current row by the Factory Outputs connected to the table.

    todo: link naar detail

  11. Counter Iterator Factory
  12. this Factory iterate by using a counter. In the factory you can only use the counter. When starting the Factory, you must specify the Count of iteration to do.

    todo: link naar detail

  13. Wave Mix Iterator Factory
  14. This Factory can be (re)used by another Factories in a spacial way. It is used in a function with a repeating loop, which will run such factory in every turn. All results (waves) are mixed together in one wave, which becomes the result of that function. It is for example very useful for creating echoes, or adding multiple samples to a Wave
    First a new Wave must be created that is empty or not. Then is is given to this Factory by using a Mix Wave Iteration Loop Node. The Factory is runned multiple times. The Factory has Factory Outputs Sample Wave, Volume and Positions in Time so the given Sample will be added to the Result by mixing it.

    todo: link naar detail

  15. Note Player Factory
  16. This Factory is used by Factory Players for creating Music. For every Note that is processed by the Player by this Factory, this Factory is runned. The Factory has to Create a Wave. The Wave is mixed to the result of the music.

    todo: link naar detail

  17. Music Processor Factory
  18. This Factory is used by Music Windows while generating Music. A result of the Staff or Note Group can use this Factory to manipulate the result. For example to make the result for example more echo, lighter of lower.

    todo: link naar detail

  19. Wave Formula Factory
  20. The Factory generates a Wave Value for each given (horizontal) position of the wave, to create a mono Wave. You can generate sound by using mathematical functions.

    todo: link naar detail


Last updated: 24-11-2025