This forum is now locked and moved (back) to Plogue's forum http://plogue.com/phpBB3/viewforum.php?f=14
sfz opcode lfoNN_wave
  • From what I can tell, sforzando/aria follows the opcodes lfoNN_wave traditionally as :


    0: triangle1: sine
    2: pulse 75%
    3: square (pulse 50%)
    4: pulse 25%
    5: pulse 12.5%
    6: saw up
    7: saw down

    they have added "-1" for randomization.
    I don't seem to find any function for 8-11.
    13< don't exist at all.

    my two questions are,
    1) What is the specifications of wave=12 (which I love by the way)....
    2) is there any way at this point to map waves on the unused waveforms (8-11) the way <curve>  curve_index=N in aria player?

    Thanks
  • davidvdavidv
    Posts: 453

    -1 is a deprecated extension we added to have an initial random value. Its deprecated because its not pretty, and its not a full random sample&hold like our new SFZLFO_BRAND=12, which samples random, bipolar [-1;1] values twice per period.

    This is the current ARIA LFO numbers:
    SFZLFO_BRAND_DEPRECATED=-1,

    //begin mandatory
    SFZLFO_TRI=0,
    SFZLFO_SINE=1,
    SFZLFO_PULSE75=2,
    SFZLFO_PULSE50=3,
    SFZLFO_PULSE25=4,
    SFZLFO_PULSE12_5=5,
    SFZLFO_SAWUP=6,
    SFZLFO_SAWDOWN=7,

    //end mandatory


    SFZLFO_USER0=8, //used in chipsounds
    SFZLFO_USER1=9,
    //used in chipsounds

    SFZLFO_USER2=10, //future
    user LFO

    SFZLFO_USER3=11, //future user LFO
    SFZLFO_BRAND=12,
    SFZLFO_STEPS,=13

    Steps is a provision for aria to support SFZ 2.0's stepped lfo:


    lfo01_steps=4
    lfo01_freq=1
    lfo01_pitch=1200

    lfo01_step01_oncc73=100 lfo01_step01_smoothcc73=100
    lfo01_step02_oncc73=100 lfo01_step02_smoothcc73=100
    lfo01_step03_oncc73=100 lfo01_step03_smoothcc73=100
    lfo01_step04_oncc73=100 lfo01_step04_smoothcc73=100


    Since there is no explicit type for the STEP lfo in the spec, we felt we needed one.

    so we will add lfo01_type=13 internally as soon as we find a lfoXX_stepYY, in our parser.

    That said our 4 user lfos are stepped anyway, but they are defined outside of SFZ land.


  • Thanks, that clears up everything. I really appreciate your quick response.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!