As I read the code the index must be less than 512; not sure if this is right or reasonable ==John ff Quoting Azfar Jafri : > 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. > > > 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"