Skip to content

Conversation

@davy7125
Copy link

Integration improvement (fix #11):

  • preprocessor variable to loose the xml and libsnd dependencies
  • namespace SfTools
  • smallSf now a class variable
  • C++11 not needed anymore (struct initialization)
  • dynamic declaration of array now ok with visual C++ (fix MSVC build #10)
  • warning and unused variables removed

Bug fix:

New feature:

Improvement:

  • the attenuation is stored in the ogg file so that we can revert it during the extraction

Integration improvement (fix musescore#11):
* preprocessor variable to loose the xml and libsnd dependencies
* namespace SfTools
* smallSf now a class variable
* C++11 not needed anymore (struct initialization)
* dynamic declaration of array now ok with visual C++ (fix musescore#10)
* warning and unused variables removed

Bug fix:
* sample links now kept in the soundfont (fix musescore#9)
Now possible to convert back from sf3 to sf2 (option y)
Soundfont 2.04 can be converted also (sm24 chunk was rejected)
The attenuation before compressing is stored as a comment in
the ogg data so that the attenuation can be reverted when
uncompressing it
Adapted the documentation
Fix a bug: the iver and irom don't stop the conversion
@hmoffatt
Copy link

@davy7125 the code on the your branch doesn't compile. sfconvert.cpp is missing semicolons at lines 121-122, and sf.smallSf does not exist at line 131.

@hmoffatt
Copy link

Also, I converted an SF3 of mine back to SF2 and it sounds terrible, nothing like the original SF2 (or SF3).

@Jojo-Schmitz
Copy link

Seems a rebase is needed to fix merge conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert sf3 to sf2 Code improvements MSVC build sample links are removed

3 participants