On 2012-11-29 16:35, Nicola Pandini wrote:
> Il 25/11/2012 18:06, Andreas Persson ha scritto:
>> On 2012-11-25 17:12, Nicola Pandini wrote:
>>> Hi list,
>>> is it possible to control the pan of a<region>  with a midi cc?
>>> I tried pan_onccn=100, but I can only control the pan from
>>> "Center"(cc=0) to "Hard-Right"(cc=127).
>>> I'd like to map cc=0 to "Hard-Left" and cc=127 to "Hard-Right", just
>>> like the LS's global pan cc10.
>> I have been working very slowly on this for a while, but I'm not
>> finished yet. The pan_oncc opcode isn't correctly implemented in LS. If
>> it was, you should be able to set pan=-100 and pan_onccn=200 to do what
>> you want.
>>
>> /Andreas
>
> Ok, now I understand the strange behaviour :-)
> I also found that in a region with pan_oncc8=100, if I set cc8=127 and
> play the note, I can hear the beginning of the sampled sound also in the
> left channel. (I attached an audio example)
>

Yes, I know, there were several details wrong in the LS implementation. 
I hope I've fixed most of them now; please test the version I just 
committed. I tried to emulate the behavior from Dimension LE. (I also 
found a bug in libgig for the pan parameter in soundfonts and a special 
case for the pan parameter in gig files in GigaStudio.)

The sfz LFO still behaves a bit differently than Dimension LE though.

/Andreas


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to