Welcome, Guest
Username: Password: Remember me

TOPIC: Loops values not what I expect from loaded sf2

Loops values not what I expect from loaded sf2 4 months 3 weeks ago #1

  • Nathanial Hendler
  • Nathanial Hendler's Avatar
  • Offline
  • New Member
  • Posts: 2
I have a soundfont file that polyphone opens and seems to handle correctly in every way except one. The sample loop points are what I expect for the first sample, but then every sample after that doesn't have a loop point. The first sample is "flute-C1". When I look at the shdr chunk in the sf2 file, I see this...

In [317]: print(shdr_data[0])
{'name': 'flute-C1', 'start': 0, 'end': 141542, 'startLoop': 42514, 'endLoop': 51303, 'sampleRate': 44100, 'originalPitch': 24, 'pitchCorrection': 0, 'link': 0, 'type': 1}

... and in Polyphone, when I look at the sample, I see loop values that match those values. However, the second sample is this...

{'name': 'flute-D2', 'start': 141588, 'end': 287199, 'startLoop': 43730, 'endLoop': 55446, 'sampleRate': 44100, 'originalPitch': 38, 'pitchCorrection': 0, 'link': 0, 'type': 1}

... yet when I look at it in Polyphone, the start and stop are both "0".

Does Polyphone get the sample loop values from the shdr chunk, or does it get the value from somewhere else? The behavior is hard for me to understand. Thank you.
Last Edit: 4 months 3 weeks ago by Nathanial Hendler. Reason: type-o
The administrator has disabled public write access.

Loops values not what I expect from loaded sf2 4 months 3 weeks ago #2

  • Nathanial Hendler
  • Nathanial Hendler's Avatar
  • Offline
  • New Member
  • Posts: 2
I guess the soundfont has bad loop points. They seem to be absolute to the wav file, and not offsets. Sorry for the trouble.
The administrator has disabled public write access.

Loops values not what I expect from loaded sf2 4 months 2 weeks ago #3

  • csw900
  • csw900's Avatar
  • Offline
  • Senior Member
  • Posts: 71
  • Thank you received: 13
Loop points are primarily contained in the .wav sample files. You can see them if you view the samples in a .wav editor.

csw900
csw900
The administrator has disabled public write access.
Time to create page: 0.053 seconds
indian porn movies free download indian sex xxx tube com www xxxx porn video