Hello, can someone please explain me why the following isn't working?
I am trying to loop a sample and have it continue looping during the
release phase (I have tried other ways also but nothing works for me).
If I use "kenv linsegr 1, 0.01, 1, 1, 0" instead the looping also
stops at the time of the 'note off' event.
Anyway, if you try the following code you can see that "kenv linsegr
1, 1, 0" actually also specifies a release segment (although the
documentation does not specify "ia, idur1, ib " as optional).
Sorry, I didn’t realise that it has default release segments. I’m not sure. I would also expect the loop to continue for the duration of the release segment. If I swap out loscil3 with a phasor/tab combo it works.
Just a shot in the dark, but perhaps loscil is reading (or trying to read) the release loop points from the sound file, and there might be potential for conflicts/issues related to that?
fre. 15. jan. 2021 kl. 12:55 skrev Rory Walsh <rorywalsh@ear.ie>:
Seems like a bug to me but I’d like to see what others think before filing an issue on github?
Nice, but I would really like to use loscil3 (for interpolation and such).
It seems perhaps there is a bug in loscil3?
Sorry, I didn’t realise that it has default release segments. I’m not sure.
I would also expect the loop to continue for the duration of the release
segment. If I swap out loscil3 with a phasor/tab combo it works.
If I use “kenv linsegr 1, 0.01, 1, 1, 0” instead the looping also
stops at the time of the ‘note off’ event.
Anyway, if you try the following code you can see that “kenv linsegr
1, 1, 0” actually also specifies a release segment (although the
documentation does not specify "ia, idur1, ib " as optional).
Hello, can someone please explain me why the following isn’t working?
I am trying to loop a sample and have it continue looping during the
release phase (I have tried other ways also but nothing works for me).
Thanks for testing that. What I (also) meant was that perhaps the opcode is trying (and failing) to read this info, and an issue happens regardless of the info being present in the file or not.
Did you also try to not enter explicit release loop points as arguments to the opcode (as these will probably override the info in the file)?
eI also now noticed the loscil3phs opcode, seemingly a copy of loscil3 with a phase output, Could be something to try, if it misbehaves the same way. And also try lposcil (lposcil3) as an alternative.
But it does seem there is something wrong with loscil release looping, so please also report an issue on github with the example you posted here showing the error.
all best
Øyvind
fre. 15. jan. 2021 kl. 13:58 skrev Søren Jakobsen <sorenkj@gmail.com>:
The test .wav-file I am using does indeed have loop information. I
just tried deleting this info from the file, but the problem is still
there.
Just a shot in the dark, but perhaps loscil is reading (or trying to read)
the release loop points from the sound file, and there might be potential
for conflicts/issues related to that?
fre. 15. jan. 2021 kl. 12:55 skrev Rory Walsh <rorywalsh@ear.ie>:
Seems like a bug to me but I’d like to see what others think before
filing
an issue on github?
Nice, but I would really like to use loscil3 (for interpolation and
such).
It seems perhaps there is a bug in loscil3?
Sorry, I didn’t realise that it has default release segments. I’m not
sure.
I would also expect the loop to continue for the duration of the
release
segment. If I swap out loscil3 with a phasor/tab combo it works.
If I use “kenv linsegr 1, 0.01, 1, 1, 0” instead the looping also
stops at the time of the ‘note off’ event.
Anyway, if you try the following code you can see that “kenv linsegr
1, 1, 0” actually also specifies a release segment (although the
documentation does not specify "ia, idur1, ib " as optional).
Hello, can someone please explain me why the following isn’t
working?
I am trying to loop a sample and have it continue looping during
the
release phase (I have tried other ways also but nothing works for
me).
Thanks for the tip - lposcil3 works perfectly!
Yes I also tried letting loscil3 read the loops from the file, like
this: "asig loscil3 1, 1, 123, 1, -1, 0, ftlen(123), -1, 0,
ftlen(123)" - makes no difference, though I just noticed that the
sound actually does start to fade out towards the end, but the fadeout
is cut off before it finishes.