Csound Csound-dev Csound-tekno Search About

[Csnd] Multiple Soundfonts and sfpassign limit

Date2013-12-18 15:57
FromAzfar Jafri
Subject[Csnd] Multiple Soundfonts and sfpassign limit
Hello,

Can anybody please help on this issue:

I am trying to load multiple soundfonts and using sfpassign to generate
corresponding indices to be used in sfplay as below:

gifile1	sfload	   "<>"
gifile2	sfload	   "<>"
gifile3	sfload	   "<>"
.
.
.

sfpassign 1000, gifile1
sfpassign 2000, gifile2
sfpassign 3000, gifile3
.
.
.
With these starting indices, sfplay doesn't work. However, if I change the
above lines to smaller numbers, it works.

For example, this works:
sfpassign 0, <>
sfpassign 300, <>

But for the third soundont's starting index, it doesn't work. 
sfpassign 600, <>

I want to leave a safe distance between these numbers so that they have no
chance of overlapping hence I initially started out with 1000,2000,....

Steven Yi has just pointed out that the limit for sfpassign starting index
is 512. Is there a workaround to this problem? The issue is that a typical
GM/GS soundfont contains around 230-250 presets. So it would seem that I am
stuck with two soundfonts maximum (I want to avoid using sfpreset). Thanks.

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 16:36
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: sfonts
AttachmentsNone  

Date2013-12-18 20:05
FromAzfar Jafri
Subject[Csnd] Re: sfonts
So, no workaround then for this, John?

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730852.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 20:26
FromVictor Lazzarini
SubjectRe: [Csnd] Re: sfonts
fluidsynth opcodes?

Victor
On 18 Dec 2013, at 20:05, Azfar Jafri wrote:

> So, no workaround then for this, John?
> 
> Regards,
> 
> Azfar
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730852.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-12-18 20:31
FromAzfar Jafri
Subject[Csnd] Re: sfonts
Sorry, I should have mentioned that before but I am using Csound for iOS and
fluid synth being a DLL is not available in that.

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730854.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 20:38
FromAzfar Jafri
Subject[Csnd] Re: sfonts
Is there any particular reason behind the limit being 512?

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730855.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 21:11
FromVictor Lazzarini
SubjectRe: [Csnd] Re: sfonts
I don't know. We will have a look.

Victor
On 18 Dec 2013, at 20:38, Azfar Jafri wrote:

> Is there any particular reason behind the limit being 512?
> 
> Regards,
> 
> Azfar
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730855.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-12-18 21:24
FromAzfar Jafri
Subject[Csnd] Re: sfonts
Thanks a lot, Victor.

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730858.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 21:31
FromVictor Lazzarini
SubjectRe: [Csnd] Re: sfonts
OK, I've increased the max presets, arbitrarily,  to 16384. Is that enough?
In git develop branch now.

Victor
On 18 Dec 2013, at 21:24, Azfar Jafri wrote:

> Thanks a lot, Victor.
> 
> Regards,
> 
> Azfar
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730858.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-12-18 23:11
FromAzfar Jafri
Subject[Csnd] Re: sfonts
That would be quite enough! Thanks a lot. Much appreciated!!!

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730860.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-18 23:18
FromAzfar Jafri
Subject[Csnd] Re: sfonts
I am using Csound for iOS v 5.19.02.2. My whole project is based on that
version. Could you be kind enough to touch that as well?

Sorry to ask but can please point me towards the git location? I can't seem
to find it. Thanks.

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730861.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-19 00:22
FromAzfar Jafri
Subject[Csnd] Re: sfonts
I am an absolute illiterate Victor when it comes to git and building. Just so
you know why I am asking these directions:)

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730862.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-19 07:14
FromVictor Lazzarini
SubjectRe: [Csnd] Re: sfonts
This is Csound 6, and we will be releasing a new version just after Christmas, which will contain this change.
I am sorry but we do not maintain Csound 5 anymore. I suggest that you move your project to Csound 6 to take
advantage of any new updates etc. 

Victor
On 18 Dec 2013, at 23:18, Azfar Jafri wrote:

> I am using Csound for iOS v 5.19.02.2. My whole project is based on that
> version. Could you be kind enough to touch that as well?
> 
> Sorry to ask but can please point me towards the git location? I can't seem
> to find it. Thanks.
> 
> Regards,
> 
> Azfar
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730861.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-12-19 08:13
FromAzfar Jafri
Subject[Csnd] Re: sfonts
Thanks for this, Victor. Looking forward to the new version. 

Regards,

Azfar



--
View this message in context: http://csound.1045644.n5.nabble.com/Multiple-Soundfonts-and-sfpassign-limit-tp5730840p5730865.html
Sent from the Csound - General mailing list archive at Nabble.com.