Loop Crossfade SFZ Opcode

Author
hessgar
Max Output Level: -90 dBFS
  • Total Posts : 6
  • Joined: 2005/02/18 11:56:38
  • Status: offline
2007/11/06 13:04:15 (permalink)

Loop Crossfade SFZ Opcode

Does anyone know the correct opcode for crossfading loop sample points. The Cakewalk Synth book by Simon Cann references one but it does not seem to work.
#1

6 Replies Related Threads

    lawapa
    Max Output Level: -68 dBFS
    • Total Posts : 1144
    • Joined: 2005/01/09 19:14:51
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/08 00:39:20 (permalink)
    What is the loop_mode set to?


    Here's what I've come across. It takes an audio editor to define a good loop. And to crossfade a sound that's looped. If you attempt to do this by guessing___ Well lets just say at the sample level it's quite a few hit/miss before you get close.

    Set loop_ mode and loop_start=/loop_end= these must be be defined in samples and the xfin_lovel=/xfin_hilevel=/xfout_lovel=/xfout_hivel=

    This is almost impossible without knowing where the xf start/ends in samples.
    #2
    hessgar
    Max Output Level: -90 dBFS
    • Total Posts : 6
    • Joined: 2005/02/18 11:56:38
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/08 09:27:09 (permalink)
    I am using it to loop a mellotron sample set. I used an audio editor to determine the exact sample loop points and I correctly set the loop_start and loop_end points. With this I have a very good tron sample set. Although I really don't need to crossfade the loop points to blend the start and end of the loop I just wanted to understand it better. If I understand loop crossfading correctly, it allows one to crossfade not between samples but the loop_start and loop_end points of an existing sample for smoother looping.

    I did not really want to edit the raw .wav files but I liked the idea of editing the SFZ file to aid in my understanding of the capabilities of the SFZ format.

    Finally, my guess is although loop_crossfade is listed in Simon's book, it may not be currently implemented in the present versions Dim Pro or Rapture (I have both).
    #3
    lawapa
    Max Output Level: -68 dBFS
    • Total Posts : 1144
    • Joined: 2005/01/09 19:14:51
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/09 00:02:43 (permalink)
    You do have the sfz 2 update installed? I think this was the first update to Dpro available.

    The Loop_crossfade= Should work if the loop length is not exceeded by the time designation.

    Set the loop_crossfade=.05 and work up. My bad not samples but time in milisecs.

    Also all edits to a sfz file= save the notepad/reload the sfz in Dpro.
    post edited by lawapa - 2007/11/09 00:17:38
    #4
    hessgar
    Max Output Level: -90 dBFS
    • Total Posts : 6
    • Joined: 2005/02/18 11:56:38
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/09 12:07:19 (permalink)
    I am running Dim Pro version 1.2 and Rapture version 1.1.

    When I try to load an SFZ with the following line

    <region> sample=CelloG2.wav key=g2 loop_mode=loop_continuous loop_start=107772 loop_end=200959 loop_crossfade=2 volume=14 tune=-2

    I get the following error:

    Unknown opcode: loop_crossfade

    --- End of log for c:\program files\cakewalk\dimension pro\multisamples\newtron\cello_loop.sfz

    If I remove the loop_crossfade command it loads correctly.
    #5
    lawapa
    Max Output Level: -68 dBFS
    • Total Posts : 1144
    • Joined: 2005/01/09 19:14:51
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/09 20:13:37 (permalink)
    A 2 second crossfade might not work on a loop that is not 2 seconds long. .02 would be a better starting place.

    Some of the expansion packs also come with sfz updates if I remember correctly.
    #6
    hessgar
    Max Output Level: -90 dBFS
    • Total Posts : 6
    • Joined: 2005/02/18 11:56:38
    • Status: offline
    RE: Loop Crossfade SFZ Opcode 2007/11/09 21:08:17 (permalink)
    Since the loop was a mellotron the loop time really is longer than loops fo rother instruments (total loop time is 2.11 seconds, starting at 2.44 seconds and ending at 4.56 seconds). This is one of the shortest tron loops I have (for example on the flutes the average loop is 5.2 seconds starting at 1.7 seconds and ending at 6.9 seconds.

    Even when I set the time to 0.02 I get the same response. I have all the free the expansion packs and they work fine. Also since it says unknown opcode and not a value error is why I can't figure out why it give me that error.

    Finally do you know of any sfz files that use this opcode in any of Dim Pro's free expansion packs?
    post edited by hessgar - 2007/11/09 21:25:00
    #7
    Jump to:
    © 2024 APG vNext Commercial Version 5.1