Ah, I see. Why not make your synthesizer an LMMS plugin, and then you can use it inside LMMS as a native instrument? Alternatively, LMMS will soon support DSSI instruments (dssi.sourceforge.net) - if you made your instrument compatible with this standard you could include it as a native instrument. There are other links on that DSSI page to programs you could use to test your instrument while this is underway.

-Andy

On Mon, Apr 27, 2009 at 11:44 AM, xtrium <xtrium@gmail.com> wrote:
Well, I do :)

In fact, what i am trying to do is to make a song using lmms, saving
it as a mmp, then reading it using my software to convert it to C
arrays. I cannot directily use .mmp files because of its size and the
size of the loading routine (I must keep in mind that my goal is to
stay under 12KiB for the whole synth plus the song data... that is,
once compressed :) ).

2009/4/27 Andy Kelley <superjoe30@gmail.com>:
> Why not use the user interface of LMMS to create your mmp files?
>
> On Fri, Apr 24, 2009 at 1:10 PM, xtrium <xtrium@gmail.com> wrote:
>>
>> Hi,
>>
>> I am currently developing a software synthesizer designed for
>> small-sized executables (such as executable music or intros - so,
>> quite demoscene-oriented) and plan to use LMMS to compose my tunes
>> because it is far more comfortable to use than, say, hard-coding the
>> song in a .c file's arrays :)
>>
>> So I set off reading the (small amount of) documentation about .mmpz
>> files available on the internet, made a really simple project,
>> uncompressed it using lmms -d, and read the file itself.
>>
>> So far, I've been able to read the song's signature and tempo, list
>> instruments and "rhythm/bass line" (in french "Rythme/Ligne de basse")
>> (what is called "pattern" in fl studio), read the patterns inside the
>> instruments, ignore the empty ones and list notes of the other ones.
>>
>>
>> But then I am a bit lost when it comes to put a pattern a some
>> position in the song (the "pos" attribute of patterns seems not to be
>> linked to the pattern's position in the song...). From reading the
>> source code, it seems what I want is referred in "bb_tracks" (by the
>> way, what the hell does "bb" mean here ?) and I found some "bbtco"s in
>> the mmp file (same thing here... tco seems to mean "track controller
>> object", but what is it really ?).
>>
>> In fact, i realized that all notes are stored in the first
>> "rhythm/bass line" (Rhythm/bass line 0) and there is only bbtco's in
>> the other "rhythm/bass lines" but those bbtco's do not refer in any
>> way to any instrument, pattern, or note... I must admit I got a bit
>> lost :)
>>
>>
>> Thanks for your help,
>>
>> --
>> xtrium
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> LMMS-devel mailing list
>> LMMS-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>
>