-
I got a soundfont in which all samples have exactly the same name. The problem is that if I export all those files as wav to apply some effects on Audacity and then I try to import them later, all the names get ovewritten because all names are equal. So I selected all samples -> BULK RENAME -> OVEWRITE EXISTING NAME WITH NUMERICAL ASCENDING SUFFIX. The problem is that at the end, multiple samples still get exactly the same numerical suffix, they are not unique, and even worse, RIGH and LEFT samples get assigned completely different numbers, they should at least have the same NUMBER + R or L at the end (as is the default when importing a sample in polyphone).
Please check attached image in which the same numeric suffix is being applied randomly to completely different samples on different root notes.
-
this is not a bug in Polyphone, but the result of someone making a soundfont without first reading the tutorial. sample names MUST be shorter than 20 characters, otherwise they get corrupted. you can try exporting the samples and detect the properties by hand or find a version of that soundfont in which the sample names are still intact.
regards bottrop -
bottrop on -this is not a bug in Polyphone, but the result of someone making a soundfont without first reading the tutorial. sample names MUST be shorter than 20 characters, otherwise they get corrupted. you can try exporting the samples and detect the properties by hand or find a version of that soundfont in which the sample names are still intact.
regards bottropThank you @bottrop. After reading your comment I selected all samples BULK RENAME and I gave a shorter name `AAA` and then I used the feature of adding Suffix but the same bug happened, even following your suggestion of reducing the sample char count. Please check attached image below, you can see the name are way shorter but the indexes 00, 01... still repeat a lot.
-
thats because the samples have been imported with too long names in that soundfont. the soundfont protocol chops all characters beyond 21 characters and that part is lost FOREVER. open the samples in a wave editor and detect the pitch by ear, save as....
regards -
That's not very simple because for every pitch I have 4 samples (for 4 different velocities). That would consume a lot of time... I know how to program with PHP, Python... is there a way I can "load" a soundfont using a programming language and make the changes and save? I know the sf2 is a binary format, is there some library I can use to load a sounfont and programatically loop the samples? This way I could very easily solve this.
-
i dont think a machine or program can solve that human mess.
from where did you get that soundfont? maybe i will have a look at it.
regards -
Hi,
Thanks a lot for your help! I bought this soundont (inside a pack with other 7) by US$ 150 about 2 or 3 years ago and I never used it, but now I liked it so much that I want to make some changes to the wav files of the samples however it's been impossible because of the mess of the names. I bought a pack with 8 soundfonts and all of them have exactly the same naming problem. I will provide you some links for the soundfonts so you can see the problem:
https://drive.google.com/file/d/1sp1PMtw…/view?usp=drive_link
https://drive.google.com/file/d/1CFJ7R8f…FZ7/view?usp=sharing
https://drive.google.com/file/d/1NHtNFow…/view?usp=drive_link
https://drive.google.com/file/d/10otc0PJ…/view?usp=drive_link
All of those have multiple velocities for the same pitch and the naming is a mess, as you concluded! If polyphone could provide a feature to rename all samples with incrementing suffix but giving the same suffix to the same L/R it would solve this problem. But that bulk rename tool +suffix is not working as expected because, as you said, the person who created this soundfont didnt take care of naming convension. -
tried your links but get no permission, i think because i have to use my google account. can you send a personal message (here) with the links or....?
regards bottrop -
Sorry, I forgot to allow public access. Now I recreated the links, they are below. Thank you!
https://drive.google.com/file/d/1sp1PMtw…ApA/view?usp=sharing
https://drive.google.com/file/d/1CFJ7R8f…FZ7/view?usp=sharing
https://drive.google.com/file/d/1jZEsbcS…x05/view?usp=sharing
https://drive.google.com/file/d/1YIr8WiX…d9U/view?usp=sharing
https://drive.google.com/file/d/1NHtNFow…6dD/view?usp=sharing
https://drive.google.com/file/d/183YvBzi…eKf/view?usp=sharing
https://drive.google.com/file/d/1OOvOq2e…1Ic/view?usp=sharing
https://drive.google.com/file/d/1eVkKNH9…RbZ/view?usp=sharing -
ok, they are in my download folder now. quite a lot, will take some time to investiga all.
will be back
regards -
take a look at this;
https://drive.google.com/file/d/1dwqAH5y…3ri/view?usp=sharing -
Thank you a lot! The file RoyalG_3D.sf2 you created is exactly what I needed: a common prefix to all samples + velocity + root key + same numeric index shared to the L and R + the channel itself as a suffix (L or R). That's awesome!
Would you mind sharing with me how you did this? If you had done this "manually" it think it would take a long long time and it would be prone to some small errors (missing key, assigning wrong velocity...). How did you manage to fix this problem so gracefully? -
i did all of them in about one and a half hour, so if like i can post them in Drive.
it is easy;
select all samples> F2> overwrite names with key as suffix
in the samples folder you see sets of 5 of the same key, L & R
Ctrl-select the first sample of left and right sets from top to bottom> F2> add a 1 tot the name
Ctrl-select the second sample (now first of a set od 4 ) of left and right sets from top to bottom> F2> add a 2 tot the name
etc. -
That's an awesome idea, very clever! I used your idea and improved it only a little bit: i went to the INSTRUMENT folder and used the GUI to select all the samples in the highest velocity range (I just dragged the mouse in the bars) and then all those samples were already selected and it was easy to INSERT STRING AT 0 POSITION (like RG-VEL1-....).
If you really already done that to all the soundfonts it would be nice if you could send me, otherwise no problem at all, your tip was incredibly useful and I can take from now! -
they are here untill years end;
https://drive.google.com/file/d/1cYyjadc…_PS/view?usp=sharing
https://drive.google.com/file/d/1umEij47…t1K/view?usp=sharing
https://drive.google.com/file/d/1oIjTprW…z7l/view?usp=sharing
https://drive.google.com/file/d/1Y5dbJGQ…Gom/view?usp=sharing
https://drive.google.com/file/d/1hjOGZii…jUt/view?usp=sharing
https://drive.google.com/file/d/1-lSsGKF…rFW/view?usp=sharing
https://drive.google.com/file/d/1_uErfSp…mWb/view?usp=sharing
regards -
That's awesome, thank you a lot! These soundfonts are very good but I need to apply a stretch of 20% to the lenght of all samples, and because of that I had to export them and it would be impossible without your help. Thank you, I wish you a merry christmas!
Sign in or register to take part in discussions.
Polyphone needs you!
Polyphone is free but there are costs associated with its website and development. A small donation will help a lot.
Donate
Learn the basics
Try a tutorial
Scroll to
top
top