logic.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*
  2. * Copyright (c) 1983-2013 Trevor Wishart and Composers Desktop Project Ltd
  3. * http://www.trevorwishart.co.uk
  4. * http://www.composersdesktop.com
  5. *
  6. This file is part of the CDP System.
  7. The CDP System is free software; you can redistribute it
  8. and/or modify it under the terms of the GNU Lesser General Public
  9. License as published by the Free Software Foundation; either
  10. version 2.1 of the License, or (at your option) any later version.
  11. The CDP System is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU Lesser General Public License for more details.
  15. You should have received a copy of the GNU Lesser General Public
  16. License along with the CDP System; if not, write to the Free Software
  17. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  18. 02111-1307 USA
  19. *
  20. */
  21. /******************* OUTPUT FILE TYPES ***************************************/
  22. #define NO_OUTPUTFILE (0)
  23. #define SNDFILE_OUT (1)
  24. #define ANALFILE_OUT (2)
  25. #define PITCH_OUT (3)
  26. #define TRANSPOS_OUT (4)
  27. #define FORMANTS_OUT (5)
  28. #define TEXTFILE_OUT (6)
  29. #define ENVFILE_OUT (7)
  30. #define BRKFILE_OUT (8)
  31. /******************* PROCESS TYPES ***************************************/
  32. #define UNEQUAL_SNDFILE (0)
  33. #define EQUAL_ANALFILE (1)
  34. #define MAX_ANALFILE (2)
  35. #define MIN_ANALFILE (3)
  36. #define BIG_ANALFILE (4)
  37. #define PSEUDOSNDFILE (5)
  38. #define TO_TEXTFILE (6)
  39. #define ANAL_TO_FORMANTS (7)
  40. #define ANAL_TO_PITCH (8)
  41. #define PITCH_TO_PITCH (9)
  42. #define PITCH_TO_BIGPITCH (10)
  43. #define PITCH_TO_ANAL (11)
  44. #define PITCH_TO_PSEUDOSND (12)
  45. #define EQUAL_FORMANTS (13)
  46. #define SCREEN_MESSAGE (14)
  47. #define EQUAL_SNDFILE (15)
  48. #define EQUAL_ENVFILE (16)
  49. #define UNEQUAL_ENVFILE (17)
  50. #define CREATE_ENVFILE (18)
  51. #define EXTRACT_ENVFILE (19)
  52. #define OTHER_PROCESS (20)
  53. /************************** INPUT PROCESS TYPE *****************************************/
  54. #define ANY_NUMBER_OF_ANY_FILES (-3)
  55. #define ALL_FILES (-2)
  56. #define NO_FILE_AT_ALL (-1)
  57. #define SNDFILES_ONLY (0) /* Default */
  58. #define ANALFILE_ONLY (1)
  59. #define TWO_ANALFILES (2)
  60. #define THREE_ANALFILES (3)
  61. #define MANY_ANALFILES (4)
  62. #define FORMANTFILE_ONLY (5)
  63. #define PITCHFILE_ONLY (6)
  64. #define PITCH_OR_TRANSPOS (7)
  65. #define ANAL_AND_FORMANTS (8)
  66. #define PITCH_AND_FORMANTS (9)
  67. #define PITCH_AND_PITCH (10)
  68. #define PITCH_AND_TRANSPOS (11)
  69. #define TRANSPOS_AND_TRANSPOS (12)
  70. #define ANAL_WITH_PITCHDATA (13)
  71. #define ANAL_WITH_TRANSPOS (14)
  72. #define TWO_SNDFILES (15)
  73. #define MANY_SNDFILES (16)
  74. #define ENVFILES_ONLY (17)
  75. #define BRKFILES_ONLY (18) /* NB ONLY WORKS with a SINGLE brkfile */
  76. #define DB_BRKFILES_ONLY (19)
  77. #define SNDFILE_AND_ENVFILE (20)
  78. #define SNDFILE_AND_BRKFILE (21)
  79. #define SNDFILE_AND_DB_BRKFILE (22)
  80. #define MIXFILES_ONLY (23)
  81. #define SNDLIST_ONLY (24)
  82. #define SND_OR_MIXLIST_ONLY (25)
  83. #define SND_SYNC_OR_MIXLIST_ONLY (26)
  84. #define WORDLIST_ONLY (27)
  85. #define ONE_OR_MANY_SNDFILES (28)
  86. #define UNRANGED_BRKFILE_ONLY (29)
  87. #define TWO_WORDLISTS (30)
  88. #define SNDFILE_AND_UNRANGED_BRKFILE (31)
  89. //TW NEW
  90. #define PFE (32)
  91. #define ONE_OR_MORE_SNDSYS (33)