What is MetaModule?

User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

What is MetaModule?

Post by NightRadio »

With MetaModule you can create your own complex modules and save them in the .sunsynth file format.
MetaModule is a full-featured copy of SunVox in a single module. So you can include one SunVox-project into another recursively. Some complex synth or effect (with large amount of the modules) may be hidden in the MetaModule. You also can use it as arpeggiator.

Brief instruction

1) Create a new MetaModule:
Image

Image

2) Press EDIT (under the MetaModule controllers):
Image

3) The internal project editor of MetaModule will open:
Image

4) Add some generators or/and effects. Test it. Press BACK:
Image

Instead of steps 1-4, you can also do the following:
Module view -> Menu -> Load -> select some sunvox file -> the MetaModule (with the loaded project inside) will be created automatically.

5) Now you can use it as a synth if controller 02.Input module points to the input module of the synth (inside MetaModule):
Image

6) Or you can use it as an effect if controller 02.Input module points to the input module of the effect (inside MetaModule):
Image

7) Save this MetaModule to the .sunsynth file. And that's it. Now you can use it in other projects:
Image
User avatar
SolarLune
Posts: 511
Joined: Tue Oct 26, 2010 9:54 pm
Contact:

Re: What is MetaModule?

Post by SolarLune »

Thanks for that little tutorial, NightRadio. I was wondering, is there a way to trigger the MetaModule without actually playing a note from the source sunvox file? Or will it only play if it gets a note input?
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: What is MetaModule?

Post by NightRadio »

It plays when a note received only. No other ways in current version :)
User avatar
geckojsc
Posts: 55
Joined: Tue May 31, 2011 3:46 am

Re: What is MetaModule?

Post by geckojsc »

Maybe we should have a sub-forum for MetaModule instruments, beside the competitions forum?
User avatar
SolarLune
Posts: 511
Joined: Tue Oct 26, 2010 9:54 pm
Contact:

Re: What is MetaModule?

Post by SolarLune »

I think that might be a good idea. Or, we could just post our instruments in the Instruments section, but that wouldn't be very easy to maintain. Maybe with the sub-forum, each person can make a single, constantly updated thread for their instruments (so that it's easy to find instruments from each person)?
User avatar
geckojsc
Posts: 55
Joined: Tue May 31, 2011 3:46 am

Re: What is MetaModule?

Post by geckojsc »

Yeah, that's what I was thinking - that way each MetaModule released could get its own description, feedback, and news regarding updates, etc. And it would be easy to find them for newcomers too.
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: What is MetaModule?

Post by NightRadio »

No problem :)
User avatar
offthesky
Posts: 85
Joined: Sat Mar 26, 2011 9:55 pm
Location: Denver, Colorado
Contact:

Re: What is MetaModule?

Post by offthesky »

hi there, thanks for posting this tutorial. btw, i can get the metamodule to work as an instrument no problem, but i've been trying to get the metamodule to also work simply as an effect... but with no such luck. the child .sunvox i've loaded into my metamodule simply has an echo effect in it, which i've set as the input of the parent metamodule. i've set the metamodule to play(param 3) and everything but when i play sounds through it, nothing goes through. am i missing a step?

Solved: after a bit of further experimentation, i think i figured it out - you have to set the input module to the "1st" module in the chain... it won't work if you set the input module to like the second or 3rd effect in the chain(of the child .sunvox project you're loading into the metamodule)... i had a generator running to the echo effect(making the echo effect the 2nd in the chain) which is why it didn't work... once i deleted the generator, it seemed to work okay as an effect... hope that helps others out there who might also run into this problem...
marlow77
Posts: 5
Joined: Wed Aug 31, 2011 6:59 pm

Re: What is MetaModule?

Post by marlow77 »

Hello all,

I am trying to figure out how to use some standard effects as modulation sources for the metamodules.

For instance--

Filter (with standard effect #22 "random controller value" in the pattern for two tracks of automation (1) Filter cutoff (2) Filter resonance) -->

FILTER--->OUT

If I attach a synth module before the filter I am good to go on using it as a metamodule.

METAMODULE (SYNTH -->FILTER with automation) -->OUT (This works!)

However I want to choose other synths to attach to this filter outside of the metamodule.

for instance-

SYNTH MODULE-->METAMODULE (FILTER with automation only) -->OUT (This doesn't work. :( )

Am I doing something wrong? I started the sub-song and attached to the only effect module in the metamodule (the filter effect module). Can it work this way? it would be so awesome to be able to automate the effects this way in the metamodules. Essentially, this could create limitless envelopes for tweaking input.

I dream of being able to either pitch the metamodule from an external synth (an arpeggio type of pitch system) or be able to use sample offset automation with live input... How cool would that be? Regardless, I am having lots of fun experimenting and Sunvox is such a beautiful engine in sight and sound.

Thanks,

Marlow
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: What is MetaModule?

Post by NightRadio »

Marlow,
please check this example.
The scheme is: Generator -> Metamodule (Filter with automation pattern) -> OUT.
Key points:
  • "Play song" controller of Metamodule is ON;
  • In the second track of the main pattern you can see "C4 02", which means that i'm trying to play C4 note with Metamodule. Of course, Metamodule can't play this note, because it has no any generators, but he sees this note as a PLAY SONG command.
Attachments
metamodule_with_automation.sunvox
(3.25 KiB) Downloaded 963 times
marlow77
Posts: 5
Joined: Wed Aug 31, 2011 6:59 pm

Re: What is MetaModule?

Post by marlow77 »

Thanks, NightRadio! So exciting!!!

Is there a way to pitch a metamodule with a generator that I don't know about??

Seriously great stuff! I am going to making some metamodules to share. Planning on hyper-randomized goodness!

Thanks again,

Marlow
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: What is MetaModule?

Post by NightRadio »

Is there a way to pitch a metamodule with a generator that I don't know about??
Only one way to do this in the current version: use Generator with P.Modulation parameter in MetaModule. If you set P.Modulation, the pitch of Generator can be assigned by input audio signal of Generator. Check these files: examples/simple_examples/phase_modulation.sunvox and phase_modulation2.sunvox
Darkhog
Posts: 250
Joined: Wed Apr 06, 2011 11:03 pm

Re: What is MetaModule?

Post by Darkhog »

NR, please stick it, so when we have over 9000 metamodules instructions how to make one won't get lost.
ccchips
Posts: 2
Joined: Thu Jul 04, 2013 7:51 am

Re: What is MetaModule--user-defined controls

Post by ccchips »

Maybe a dumb question, but what are "user-defined" controls, and how do I define them?
gilzad
Posts: 92
Joined: Wed Dec 19, 2012 6:46 am

Re: What is MetaModule?

Post by gilzad »

Since a MetaModule can consist of several Generators and DSPs, you might want to offer access to some of their controllers.

Once you've loaded a song into a MetaModule, click on 'Controllers'. A dialog will open up and you'll see all the modules you've used inside that song.
Now you can select a controller in the left most column, which will be accessible on the outside (that is the user defined controller). The middle column will attach the selected controller to a module of the inner song. And the right most column will assign your user defined controller to an actual controller of the embedded module.

You can rename the user defined controller by changing the text above the 'Close' button of the Controller-dialog.

I hope this helped.
Post Reply