Page 1 of 1

file format question: SLNK vs SLnK

Posted: Fri Apr 12, 2019 10:28 pm
by queries
Nightradio, I noticed that a file that I started working on had some chunks in it identified as "SLnK" along with "SLNK". It appears to be in the same format as SLNK but I am not sure what the purpose/use of it is.

Only one of the files included with SunVox had chunks of this type. (simple_examples/idm.sunvox)

I noticed that a personal project of mine (which I am loading into Radiant Voices frequently to do some manipulation) also had a few SLnK chunks.

Could you briefly explain what SLnK is used for, so that I can update Radiant Voices to support it?


Re: file format question: SLNK vs SLnK

Posted: Mon Apr 15, 2019 4:13 pm
by NightRadio
I'm not sure I can describe this clearly, but I will try :)

SLNK - input links of the cur_module;
SLNk - output links of the cur_module;
SLnK - slot numbers in the src_module;
SLnk - slot numbers in the dest_module;


Code: Select all

src_module1[ output slot S1 ] --> [ input slot 0 ]          [ output slot 0 ] --> [ input slot D1 ]dest_module1
src_module2[ output slot S2 ] --> [ input slot 1 ]cur_module[ output slot 1 ] --> [ input slot D2 ]dest_module2
src_module3[ output slot S3 ] --> [ input slot 2 ]          [ output slot 2 ] --> [ input slot D3 ]dest_module3
SLNK: src_module1, src_module2, src_module3;
SLNk: dest_module1, dest_module2, dest_module3;
SLnK: S1, S2, S3;
SLnk: D1, D2, D3;

Re: file format question: SLNK vs SLnK

Posted: Mon Apr 15, 2019 9:29 pm
by queries
I'll try to make sense of this and let you know if (when) I have more questions. :)