登录
本论坛汇聚了来自世界各地的人们,因此大家使用英文交流。

How to make a loop that contains the last sample?

分类:帮助与提问
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    The number won't increase to the last sample, so how to make a loop that contains the last sample?
  • 422 17
    消息来自 bottrop,发表于
    paste a little silence, noise or whatever at the end of the waveform.
    regards bottrop
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    That's nothing but a workaround. I'm seriously looking for an actual solution to this problem (bugfix needed?).
  • ZI 203 0
    消息来自 ziyametedemircan,发表于
    SoundFont 2.01 Technical Specification - Page 26
    SoundFont 2.04 Technical Specification - Page 21

    6.3 Sample Data Looping Rules
    ....

    "In actuality, because of the various interpolation algorithms used by wavetable synthesizers, the data surrounding both the loop start and end points may affect the sound of the loop. Hence both the loop start and end points must be surrounded by continuous audio data. For example, even if the sound is programmed to continue to loop throughout the decay, sample data points must be provided beyond the loop end point. This data will typically be identical to the data at the start of the loop. A minimum of eight valid data points are required to be present before the loop start and after the loop end.

    The eight data points (four on each side) surrounding the two equivalent loop points should also be forced to be identical. By forcing the data to be identical, all interpolation algorithms are guaranteed to properly reproduce an artifact-free loop."
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    I never heard of such a requirement. The data before and after should be always well known as a sound with a loop initiated by the start and end commands always becomes a 1-dimensional wave (prefixed and suffixed by infinite silence) that can easily be interpolated. I don't get it.
  • 422 17
    消息来自 bottrop,发表于
    well, the fact you never heard of it, does not mean it is not true. like our friend Zya wrote, there has to be a margin before and after the loop-points, so pasting a little silence at the end is not a workaround, it is the only way.
    regards bottrop
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    Who made this kind of restriction? WHO DID IT?
  • ZI 203 0
    消息来自 ziyametedemircan,发表于
    EMU inc. Creator of soundfond format.

    Please download read the specification. http://freepats.zenvoid.org/sf2/sfspec24.pdf 
    see Page 20 (last paragraph) -21 (continued)

    6.3 Sample Data Looping Rules

    SoundFont 2.04 Technical Specification - Page 21
    SoundFont 2.01 Technical Specification - Page 26
  • 消息来自 ziyametedemircan,发表于
    I added two pictures for a better understanding.


    The first picture is where Loop starts, the second is where it ends.


    You can see that the inside and outside areas must match (complements) at both points.
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    The outer points shouldn't be necessary if the algorithm for previous or next sample handles loops correctly:

    https://i.imgur.com/zv9XUny.png 

    All points are perfectly defined. The "data surrounding both the loop start and end points" doesn't affect the sound of the loop because the algorithm is working correctly.

    And apparently even Polyphone itself breaks "the soundfont standard", if you say 4 points are required on each side but Polyphone requires 0 to the left and 1 to the right...

    This is actually problematic. When a sample is added from external software whose loop covers the entire sound, Polyphone alters it making it unusable.
  • ZI 203 0
    消息来自 ziyametedemircan,发表于
    You haven't even read the specification, have you?
  • 422 17
    消息来自 bottrop,发表于
    "This is actually problematic. When a sample is added from external software whose loop covers the entire sound,"
    which external software?
  • 71 0
    消息来自 Sylvia,发表于
    Hello everyone!

    Like all of you, SoundFont limitations are very problematic for me. They have not been updated for 14 years now, and ever since Creative abandoned the original X-Fi, 2.04 has been the last version.

    The only real solution to this issue is to make a new format that is not bound by this limitation.

    Do you want to work on a new standard with me?

    https://sites.google.com/site/strixsound…dfont-format-version 
  • PG 9 2
    消息来自 Piotr Grochowski,发表于
    You're clearly a fan of all those limitations...

登录或注册后即可参与讨论。

Polyphone 需要您!

Polyphone 是免费的,但其网站和开发都会产生费用。一笔小小的捐赠就能帮上大忙。

捐赠
学习基础知识 试试教程
返回
顶部