Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration and sample links #26

Closed
wants to merge 3 commits into from
Closed

Integration and sample links #26

wants to merge 3 commits into from

Conversation

davy7125
Copy link

@davy7125 davy7125 commented Nov 5, 2018

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:

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 #10)
* warning and unused variables removed

Bug fix:
* sample links now kept in the soundfont (fix #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
@davy7125
Copy link
Author

davy7125 commented Nov 5, 2018

The conversion tool can now convert back from sf3 to sf2 (fix #22)
bug fixed: the sm24 chunk doesn't stop the program anymore
improvement: the attenuation is stored in the ogg file so that we can revert it during the extraction

Fix a bug: the iver and irom don't stop the conversion
creator = 0;
product = 0;
copyright = 0;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You changed the indentation of everything.

The new indentation is also not the MuseScore indentation style (which is a bit weird, but at least consistently used in MuseScore-related code).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry for that I began to edit the files inside my project and I am used to automatically indent files. You could still reopen the files with an IDE or some advanced text editor for reindenting them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes the diff illegible and therefore impossible to review, though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will not blame you if this pull request is closed without being integrated ;-)
The code is working in Polyphone, that's what I wanted

@mirabilos
Copy link
Contributor

mirabilos commented Dec 5, 2018 via email

@mirabilos
Copy link
Contributor

Hmm, if we have a chance to get this relicenced, maybe there’s a chance you can clean this up (to use the MuseScore coding style to keep the diff legible) so it can be considered for inclusion, and rebase the version in Polyphone on the latest sftools one then?

@davy7125 davy7125 closed this Aug 30, 2020
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.

Code improvements MSVC build sample links are removed
2 participants