styleguide.txt 1.1 KB

123456789101112131415161718192021222324
  1. ################################################################################
  2. ## Like WORLD, SEKAI follows the Google C++ Style Guide
  3. ## Japanese:
  4. ## http://www.textdrop.net/google-styleguide-ja/cppguide.xml
  5. ## English:
  6. ## http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
  7. ## However, there are several exceptions about variable names.
  8. ## Since these names are generally used in the acoustic signal processing,
  9. ## I employed these names as the variable names.
  10. ## (1) x represents the input signal.
  11. ## (2) y represents the signal after processing.
  12. ## (3) fs represents sampling frequency.
  13. ## (4) f0 represents fundamental frequency (including f0 contour).
  14. ## (5) t0 represents fundamental period.
  15. ## (6) vuv represents voiced/unvoiced information.
  16. ## (7) tmp_* represents temporal value. In WORLD,
  17. ## "temporal" is used as another meaning.
  18. ##
  19. ## I prioritized compatibility with C language over the style guide.
  20. ################################################################################
  21. find . -name "*.cpp" -exec clang-format -i -style=Google {} \;
  22. find . -name "*.h" -exec clang-format -i -style=Google {} \;