Connexion
Ce forum permet à des personnes du monde entier de communiquer, c′est pourquoi les messages échangés sont en anglais.

Bug with bulk rename

  • BA 53 0
    Message de batata004 le
    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.
  • 351 14
    Message de bottrop le 1
    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
  • BA 53 0
    Message de batata004 le
    bottrop, le -
    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
    Thank 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.
  • 351 14
    Message de bottrop le
    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
  • BA 53 0
    Message de batata004 le
    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.

Connectez-vous ou inscrivez-vous pour participer à la discussion.

Polyphone a besoin de vous !

Polyphone est gratuit mais il y a des coûts associés à son site web et à son développement. Un petit coup de pouce aidera beaucoup.

Faire un don
Apprenez les bases Voir le tutoriel
Haut de
page