GrooveFactory.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Groove.h - classes for addinng swing/funk/groove/slide (you can't name it but you can feel it)
  3. * to midi which is not precise enough at 192 ticks per tact to make your arse move.
  4. *
  5. * In it simplest terms a groove is a subtle delay on some notes in a pattern.
  6. *
  7. * Copyright (c) 2005-2008 teknopaul <teknopaul/at/users.sourceforge.net>
  8. *
  9. * This file is part of LMMS - https://lmms.io
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public
  13. * License as published by the Free Software Foundation; either
  14. * version 2 of the License, or (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public
  22. * License along with this program (see COPYING); if not, write to the
  23. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  24. * Boston, MA 02110-1301 USA.
  25. **/
  26. #ifndef GROOVEFACTORY_H
  27. #define GROOVEFACTORY_H
  28. #include "Groove.h"
  29. class GrooveFactory
  30. {
  31. public:
  32. static Groove * create(QString grooveType);
  33. private:
  34. GrooveFactory();
  35. };
  36. #endif // GROOVEFACTORY_H