1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745
|
# encoding: utf-8
"""
Copyright 2011 iACT, Universite de Montreal, Jean Piche, Olivier Belanger, Jean-Michel Dumas
This file is part of Cecilia 5.
Cecilia 5 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Cecilia 5 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Cecilia 5. If not, see <http://www.gnu.org/licenses/>.
"""
import os, sys, cecilia
from .images import *
BUILD_RST = False
APP_NAME = 'Cecilia5'
APP_VERSION = '5.3.5'
APP_COPYRIGHT = 'iACT, 2017'
FILE_EXTENSION = "c5"
PRESETS_DELIMITER = "####################################\n" \
"##### Cecilia reserved section #####\n" \
"#### Presets saved from the app ####\n" \
"####################################\n"
if sys.platform == "win32":
FILE_ENCODING = "mbcs"
else:
FILE_ENCODING = "utf-8"
DEFAULT_ENCODING = sys.getdefaultencoding()
ENCODING = sys.getfilesystemencoding()
if '/%s.app' % APP_NAME in os.getcwd():
RESOURCES_PATH = os.getcwd()
os.environ["LANG"] = "en_CA.UTF-8"
else:
RESOURCES_PATH = cecilia.Resources.__path__[0]
if not os.path.isdir(RESOURCES_PATH) and sys.platform == "win32":
RESOURCES_PATH = os.path.join(os.getenv("ProgramFiles"), "Cecilia5", "Resources")
TMP_PATH = os.path.join(os.path.expanduser('~'), '.cecilia5')
PREFERENCES_FILE = os.path.join(TMP_PATH, 'ceciliaPrefs.txt')
DOC_PATH = os.path.join(TMP_PATH, 'doc')
MODULES_PATH = os.path.join(RESOURCES_PATH, 'modules')
AUTOMATION_SAVE_PATH = os.path.join(TMP_PATH, 'automation_save')
SPLASH_FILE_PATH = os.path.join(RESOURCES_PATH, "Cecilia_splash.png")
MODULE_COMPILE_BACKUP_PATH = os.path.join(TMP_PATH, 'moduleCompileBackup.c5')
MODULE_RUNTIME_BACKUP_PATH = os.path.join(TMP_PATH, 'moduleRuntimeBackup.c5')
# Meter icons
ICON_VUMETER = catalog['vu-metre2.png']
ICON_VUMETER_DARK = catalog['vu-metre-dark2.png']
# Plugin icons
ICON_PLUGINS_KNOB = catalog['knob-trans-sm.png']
ICON_PLUGINS_KNOB_DISABLE = catalog['knob-disab-sm.png']
ICON_PLUGINS_ARROW_UP = catalog['arrow_up.png']
ICON_PLUGINS_ARROW_UP_HOVER = catalog['arrow_up_hover.png']
ICON_PLUGINS_ARROW_DOWN = catalog['arrow_down.png']
ICON_PLUGINS_ARROW_DOWN_HOVER = catalog['arrow_down_hover.png']
# Toolbox icons
ICON_TB_LOAD = catalog['load-normal-trans.png']
ICON_TB_LOAD_OVER = catalog['load-hover-trans.png']
ICON_TB_SAVE = catalog['save-normal-trans.png']
ICON_TB_SAVE_OVER = catalog['save-hover-trans.png']
ICON_TB_RESET = catalog['reset-normal-trans.png']
ICON_TB_RESET_OVER = catalog['reset-hover-trans.png']
ICON_TB_SHOW = catalog['show-normal-trans.png']
ICON_TB_SHOW_OVER = catalog['show-hover-trans.png']
ICON_TB_HIDE = catalog['hide-normal-trans.png']
ICON_TB_HIDE_OVER = catalog['hide-hover-trans.png']
ICON_TB_RECYCLE = catalog['recycle-normal-trans.png']
ICON_TB_RECYCLE_OVER = catalog['recycle-hover-trans.png']
ICON_TB_PLAY = catalog['play-normal-trans.png']
ICON_TB_PLAY_OVER = catalog['play-hover-trans.png']
ICON_TB_EDIT = catalog['edit-normal-trans.png']
ICON_TB_EDIT_OVER = catalog['edit-hover-trans.png']
ICON_TB_OPEN = catalog['open-normal-trans.png']
ICON_TB_OPEN_OVER = catalog['open-hover-trans.png']
ICON_TB_CLOSE = catalog['close-normal-trans.png']
ICON_TB_CLOSE_OVER = catalog['close-hover-trans.png']
ICON_TB_TIME = catalog['time-normal-trans.png']
ICON_TB_TIME_OVER = catalog['time-hover-trans.png']
ICON_TB_DELETE = catalog['delete-normal-trans.png']
ICON_TB_DELETE_OVER = catalog['delete-hover-trans.png']
# RadioToolbox icons
ICON_RTB_POINTER = catalog['pointer-normal-trans.png']
ICON_RTB_POINTER_OVER = catalog['pointer-hover-trans.png']
ICON_RTB_POINTER_CLICK = catalog['pointer-click-trans.png']
ICON_RTB_PENCIL = catalog['pencil-normal-trans.png']
ICON_RTB_PENCIL_OVER = catalog['pencil-hover-trans.png']
ICON_RTB_PENCIL_CLICK = catalog['pencil-click-trans.png']
ICON_RTB_ZOOM = catalog['zoom-normal-trans.png']
ICON_RTB_ZOOM_OVER = catalog['zoom-hover-trans.png']
ICON_RTB_ZOOM_CLICK = catalog['zoom-click-trans.png']
ICON_RTB_HAND = catalog['hand-normal-trans.png']
ICON_RTB_HAND_OVER = catalog['hand-hover-trans.png']
ICON_RTB_HAND_CLICK = catalog['hand-click-trans.png']
# PrefRadioToolbox icons
ICON_PREF_AUDIO = catalog['audio-normal-trans.png']
ICON_PREF_AUDIO_OVER = catalog['audio-hover-trans.png']
ICON_PREF_AUDIO_CLICK = catalog['audio-click-trans.png']
ICON_PREF_CECILIA = catalog['cecilia-normal-trans.png']
ICON_PREF_CECILIA_OVER = catalog['cecilia-hover-trans.png']
ICON_PREF_CECILIA_CLICK = catalog['cecilia-click-trans.png']
ICON_PREF_FILER = catalog['filer-normal-trans.png']
ICON_PREF_FILER_OVER = catalog['filer-hover-trans.png']
ICON_PREF_FILER_CLICK = catalog['filer-click-trans.png']
ICON_PREF_PATH = catalog['path-normal-trans.png']
ICON_PREF_PATH_OVER = catalog['path-hover-trans.png']
ICON_PREF_PATH_CLICK = catalog['path-click-trans.png']
ICON_PREF_MIDI = catalog['midi-normal-trans.png']
ICON_PREF_MIDI_OVER = catalog['midi-hover-trans.png']
ICON_PREF_MIDI_CLICK = catalog['midi-click-trans.png']
# PaletteToolBox icons
ICON_PTB_PROCESS = catalog['process-normal-trans.png']
ICON_PTB_PROCESS_OVER = catalog['process-hover-trans.png']
ICON_PTB_RANDOM = catalog['random-normal-trans.png']
ICON_PTB_RANDOM_OVER = catalog['random-hover-trans.png']
ICON_PTB_WAVES = catalog['waves-normal-trans.png']
ICON_PTB_WAVES_OVER = catalog['waves-hover-trans.png']
# Input icons
ICON_INPUT_1_FILE = catalog['input-1-file.png']
ICON_INPUT_2_LIVE = catalog['input-2-live.png']
ICON_INPUT_3_MIC = catalog['input-3-mic.png']
ICON_INPUT_4_MIC_RECIRC = catalog['input-4-mic-recirc.png']
# Crossfade icons
ICON_XFADE_LINEAR = catalog['xfade-linear.png']
ICON_XFADE_POWER = catalog['xfade-power.png']
ICON_XFADE_SIGMOID = catalog['xfade-sigmoid.png']
# Mario bros
ICON_MARIO1 = catalog['Mario1.png']
ICON_MARIO2 = catalog['Mario2.png']
ICON_MARIO3 = catalog['Mario3.png']
ICON_MARIO4 = catalog['Mario4.png']
ICON_MARIO5 = catalog['Mario5.png']
ICON_MARIO6 = catalog['Mario6.png']
# Grapher background
ICON_GRAPHER_BACKGROUND = catalog['Grapher_background.png']
# About icon
ICON_CECILIA_ABOUT_SMALL = catalog['Cecilia_about_small.png']
# Doc frame icons
ICON_DOC_PREVIOUS = catalog['previous_24.png']
ICON_DOC_NEXT = catalog['next_24.png']
ICON_DOC_UP = catalog['up_24.png']
# Audio drivers
if sys.platform == 'darwin' and '/%s.app' % APP_NAME in os.getcwd():
AUDIO_DRIVERS = ['portaudio']
elif sys.platform == 'darwin':
AUDIO_DRIVERS = ['portaudio', 'jack']
elif sys.platform == 'win32':
AUDIO_DRIVERS = ['portaudio']
else:
AUDIO_DRIVERS = ['portaudio', 'jack']
# MIDI drivers
MIDI_DRIVERS = ['portmidi']
# plugin types
PLUGINS_CHOICE = ['None', 'Reverb', 'WGVerb', 'Filter', 'Chorus', 'Para EQ', '3 Bands EQ', 'Compress', 'Gate',
'Disto', 'AmpMod', 'Phaser', 'Delay', 'Flange', 'Harmonizer', 'Resonators', 'DeadReson', 'ChaosMod']
NUM_OF_PLUGINS = 4
# Audio settings
SAMPLE_RATES = ['22050', '44100', '48000', '88200', '96000']
BIT_DEPTHS = {'16 bits int': 0, '24 bits int': 1, '32 bits int': 2, '32 bits float': 3}
BUFFER_SIZES = ['8', '16', '32', '64', '128', '256', '512', '1024', '2048']
AUDIO_FILE_FORMATS = {'wav': 0, 'aif': 1, 'au': 2, 'sd2': 4, 'flac': 5, 'caf': 6, 'ogg': 7}
AUDIO_FILE_WILDCARD = "All files|*.*|" \
"Wave file|*.wave;*.WAV;*.WAVE;*.Wav;*.Wave;*.wav|" \
"AIFF file|*.aif;*.aiff;*.aifc;*.AIF;*.AIFF;*.Aif;*.Aiff|" \
"Flac file|*.flac;*.FLAC;*.Flac;|" \
"OGG file|*.ogg;*.OGG;*.Ogg;|" \
"SD2 file|*.sd2;*.SD2;*.Sd2;|" \
"AU file|*.au;*.AU;*.Au;|" \
"CAF file|*.caf;*.CAF;*.Caf"
POLY_CHORDS = {'00 - None': [0], '06 - Major': [0, 4, 7, 12], '07 - Minor': [0, 3, 7, 12], '08 - Seventh': [0, 4, 7, 10],
'10 - Minor 7': [0, 3, 7, 10], '09 - Major 7': [0, 4, 7, 11], '13 - Major 11': [0, 4, 7, 11, 18],
'15 - Minor 7b5': [0, 3, 6, 10], '16 - Dimini.': [0, 3, 6, 9], '12 - Minor 9': [0, 3, 7, 10, 14],
'11 - Major 9': [0, 4, 7, 11, 14], '17 - Ninth': [0, 4, 7, 10, 14], '14 - Minor 11': [0, 3, 7, 10, 17],
'04 - Serial': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], '05 - Whole T.': [0, 2, 4, 6, 8, 10],
'01 - Phasing': [0, 0.1291, 0.1171, 0.11832, 0.125001, 0.12799, 0.11976, 0.138711, 0.12866, 0.13681],
'02 - Chorus': [0, 0.291, 0.371, 0.2832, 0.35001, 0.2799, 0.2976, 0.38711, 0.3866, 0.3681],
'03 - Detuned': [0, 0.8291, 0.9371, 1.2832, 1.35001, 0.82799, 0.92976, 1.38711, 1.3866, 0.93681]}
# Menu Ids
ID_OPEN = 1002
ID_OPEN_RANDOM = 1003
ID_SAVE = 1004
ID_SAVEAS = 1005
ID_UNDO = 1013
ID_REDO = 1014
ID_COPY = 1016
ID_PASTE = 1017
ID_SELECT_ALL = 1018
ID_REMEMBER = 1019
ID_PLAY_STOP = 1034
ID_BOUNCE = 1035
ID_BATCH_FOLDER = 1036
ID_BATCH_PRESET = 1037
ID_USE_SOUND_DUR = 1040
ID_USE_MIDI = 2052
ID_MARIO = 3002
ID_OPEN_RECENT = 4000
ID_OPEN_BUILTIN = 4100
ID_OPEN_AS_TEXT = 4500
ID_UPDATE_INTERFACE = 4501
ID_SHOW_SPECTRUM = 4550
ID_MODULE_INFO = 4600
ID_DOC_FRAME = 4601
ID_GRAPH_FRAME = 4602
# Fonts
if sys.platform.startswith('linux') or sys.platform == 'win32':
CONTROLSLIDER_FONT = 7
LABEL_FONT = 7
MENU_FONT = 8
CLOCKER_FONT = 10
ENTRYUNIT_FONT = 7
GRAPHER_AXIS_FONT = 8
GRAPHER_LEGEND_FONT = 8
TEXT_LABELFORWIDGET_FONT = 7
SECTION_TITLE_FONT = 10
TAB_TITLE_FONT = 9
SPLITTER_FONT = 7
LIST_ENTRY_FONT = 9
else:
CONTROLSLIDER_FONT = 10
LABEL_FONT = 10
MENU_FONT = 11
CLOCKER_FONT = 14
ENTRYUNIT_FONT = 10
GRAPHER_AXIS_FONT = 10
GRAPHER_LEGEND_FONT = 10
TEXT_LABELFORWIDGET_FONT = 10
SECTION_TITLE_FONT = 14
TAB_TITLE_FONT = 10
SPLITTER_FONT = 9
LIST_ENTRY_FONT = 12
# Colours
BACKGROUND_COLOUR = "#666666"
GRAPHER_BACK_COLOUR = "#D1D1D1"
TITLE_BACK_COLOUR = "#333333"
SECTION_TITLE_COLOUR = "#CCCCCC"
WHITE_COLOUR = "#FFFFFF"
LIGHTGREY_COLOUR = "#999999"
GREY_COLOUR = "#666666"
BLACK_COLOUR = "#000000"
BORDER_COLOUR = "#444444"
CLOSEBOX_INSIDE_COLOUR = "#8896BB"
TEXT_LABELFORWIDGET_COLOUR = "#FFFFFF"
GRADIENT_DARK_COLOUR = "#313740"
WIDGET_BORDER_COLOUR = "#BBBBBB"
KNOB_BORDER_COLOUR = "#929292"
POPUP_BACK_COLOUR = "#80A0B0"
POPUP_DISABLE_COLOUR = "#888888"
POPUP_LABEL_COLOUR = "#FFFFFF"
POPUP_DISABLE_LABEL_COLOUR = "#333333"
LABEL_LABEL_COLOUR = "#FFFFFF"
LABEL_BACK_COLOUR = "#666666"
CPOLY_COLOUR = "#555555"
TOGGLE_LABEL_COLOUR = "#FFFFFF"
ENTRYUNIT_HIGHLIGHT_COLOUR = "#222222"
ENTRYUNIT_BACK_COLOUR = "#666666"
SLIDER_BACK_COLOUR = "#666666"
SLIDER_KNOB_COLOUR = "#444444"
SLIDER_PLAY_COLOUR_HOT = "#004400"
SLIDER_PLAY_COLOUR_PRESSED = "#00FF00"
SLIDER_PLAY_COLOUR_OVER = "#FFFFFF"
SLIDER_PLAY_COLOUR_NO_BIND = "#FFFF00"
SLIDER_REC_COLOUR_HOT = "#440000"
SLIDER_REC_COLOUR_PRESSED = "#FF0000"
SLIDER_REC_COLOUR_OVER = "#FFFFFF"
CONTROLSLIDER_BACK_COLOUR = '#99A7CC'
CONTROLSLIDER_KNOB_COLOUR = '#ABABAB'
CONTROLSLIDER_SELECTED_COLOUR = '#333333'
CONTROLSLIDER_TEXT_COLOUR = '#FFFFFF'
CONTROLLABEL_BACK_COLOUR = "#6F7F97"
PLUGINPOPUP_BACK_COLOUR = "#506077"
TR_BACK_COLOUR = "#6F7F97"
TR_BORDER_COLOUR = '#BBBBBB'
TR_PLAY_NORMAL_COLOUR = '#009911'
TR_PLAY_CLICK_COLOUR = '#007A29'
TR_RECORD_OFF_COLOUR = '#6E3131'
TR_RECORD_ON_COLOUR = '#FF0000'
PREFS_FOREGROUND = '#222222'
PREFS_PATH_BACKGROUND = '#AAAAAA'
# Hue, Brightness, Saturation
COLOUR_CLASSES = {'green': [100., 0.25, .75],
'forestgreen': [85., 0.3, .6],
'olivegreen': [75., 0.4, .6],
'lightgreen': [65., 0.45, .4],
'blue': [230., 0.35, .55],
'marineblue': [220., 0.4, .45],
'royalblue': [203., 0.43, .4],
'lightblue': [190., 0.5, .35],
'red': [0., .28, .75],
'brightred': [355., 0.35, .65],
'brightblue': [350., 0.45, .55],
'brightgreen': [345., 0.5, .45],
'orange': [20., 0.35, .85],
'khaki': [18., 0.4, .7],
'tan': [16., 0.47, .55],
'chorusyellow': [14., 0.55, .4],
'filterred': [342., 0.44, .47],
'compblue': [240., 0.44, .22],
'grey': [0., 0.34, 0.],
'green1': [100., 0.25, .75], # filters popup and freq
'green2': [85., 0.3, .6], # filters Q
'green3': [75., 0.4, .6],
'green4': [65., 0.45, .4],
'blue1': [230., 0.35, .55], # dry/wet, amplitude, balance
'blue2': [220., 0.4, .45],
'blue3': [203., 0.43, .4],
'blue4': [190., 0.5, .35],
'red1': [0., .28, .75], # Pitch, transposition
'red2': [355., 0.35, .65],
'red3': [350., 0.45, .55],
'red4': [345., 0.5, .45],
'orange1': [22., 0.35, .85], # post-processing knob lines
'orange2': [18., 0.4, .7],
'orange3': [16., 0.47, .55],
'orange4': [14., 0.52, .45],
'purple1': [290., 0.3, .65], # process specific parameters
'purple2': [280., 0.4, .6],
'purple3': [270., 0.47, .55],
'purple4': [260., 0.52, .45]
}
# ToolTips
TT_TRANSPORT = """TRANSPORT
Triangle: Launch playback. Click again to stop.
Circle: Realtime recording of the output sound to a file.
"""
TT_CLOCK = """CLOCKER
Current time of playback.
"""
TT_SEL_SOUND = """SOUND SELECTOR
Select source sound.
Click on the popup to open a standard dialog to choose the soundfile to play.
Click on the triangle to open the popup window with pre-loaded soundifles.
Right-click on the popup to open a "recently used soundfiles" popup window.
"""
TT_INPUT_MODE = """MODULE'S INPUT MODE
1 - Soundfile: load a soundfile in a sampler or a table.
2 - Mic: use the live input signal to feed the module's processing.
Only available with a csampler.
3 - Mic 1: use the live input signal to fill (only once at the beginning
of the playback) a sampler buffer or a table.
4 - Mic (circular): use a double buffer to continuously fill the sampler
with new samples from the live input sound. Only available with a csampler.
"""
TT_OUTPUT_TOOLS = """OUTPUT TOOLS
Speaker: Play sound in Player app.
Scissors: Edit sound in Editor app.
Arrows: Use last output sound as source sound.
"""
TT_INPUT_TOOLS = """INPUT TOOLS
Speaker: Play loaded sound in Player app.
Scissors: Edit loaded sound in Editor app.
Triangle: Toggle for source sound controls.
"""
TT_CFILEIN_TOOLS = """INPUT CONTROL TOOLS
Speaker: Play loaded sound in Player app.
Scissors: Edit loaded sound in Editor app.
Clock: Set duration of output to source sound duration.
"""
TT_GRAPHER_TOOLS = """GRAPHER LINE TOOLS
Floppy: Save current line parameters to the disk.
Folder: Load current line parameters from disk.
Arrow: Reinitialize current line parameters.
Eye: Show/Hide current line on grapher.
"""
TT_PRESET = """PRESET
Choose a preset to load.
"""
TT_PRESET_TOOLS = """PRESET MANAGEMENT
Floppy: Save a preset.
X: Delete a preset.
When saving or deleting a preset, you'll be asked to save the module.
"""
TT_OUTPUT = """OUTPUT FILE
Name of output file.
Click to open a standard saving dialog.
"""
TT_DUR_SLIDER = """DURATION SLIDER
Set duration of output.
Shift-click or double-click in slider knob to set value from keyboard.
"""
TT_GAIN_SLIDER = """GLOBAL GAIN SLIDER
Adjust gain of output.
Shift-click or double-click in slider knob to set value from keyboard.
"""
TT_CHANNELS = """OUTPUT CHANNELS
Select number of channels for output.
"""
TT_PEAK = """PEAK DISPLAY
Displays peak amplitude of output.
Double-click to reset.
"""
TT_GRAPH_POPUP = """GRAPHER SELECTOR
Select parameter line for editing.
"""
TT_RES_SLIDER = """RECORDING RESOLUTION
Adjust resolution of recorded automation on graph.
"""
TT_GRAPHER_POINTERS = """GRAPHER EDITING TOOLS
Arrow: Use pointer tool - shortcut = "v".
Magnifying glass: Use zoom tool - shortcut = "z".
Hand: Use hand tool - shortcut = "h".
Pencil: Use pencil tool - shortcut = "p".
"""
TT_GRAPHER_GENERATORS = """GRAPHER LINE GENERATORS
Rand line: Use stochastic function generators.
Sine wave: Use waveform function generators.
Gears: Use function processors.
"""
TT_SLIDER_LABEL = """SLIDER LABEL
Show the parameter's name.
Click to select in grapher.
Shift-click to solo in grapher.
Right-click starts midi learn.
Shift-Right-click removed midi binding.
Double-click to set OSC bindings.
"""
TT_SLIDER_AUTO = """SLIDER AUTOMATION CONTROLS
Triangle: Playback controls.
- Dark green: Off
- Light green: Play with visual update
- Yellow: Play without visual update.
Circle: Record movements of this slider.
"""
TT_SLIDER_DISPLAY = """SLIDER DISPLAY
Show the parameter's value
Click in to enter value from keyboard.
Click and scroll on value to increment/decrement,
left<->right position of the mouse controls the increment size.
"""
TT_RANGE_LABEL = """RANGE SLIDER LABEL
Show the parameter's name.
Functions listed below apply to the minimum value if the
click is on the left side of label and to the maximum
value if the click is on the right side of label.
Click to select in grapher.
Shift-click to solo in grapher.
Right-click starts midi learn.
Shift-Right-click removed midi binding.
Double-click to set OSC bindings.
"""
TT_RANGE_DISPLAY = """RANGE SLIDER DISPLAY
Show the parameter's value
Click in to enter value from keyboard. Two values,
separated by a coma, must be given.
"""
TT_SPLITTER_LABEL = """SPLITTER SLIDER LABEL
Show the parameter's name.
Splitter slider sends its values on the mouse release (mouse up).
"""
TT_SPLITTER_DISPLAY = """SPLITTER SLIDER DISPLAY
Show the parameter's value
Click in to enter value from keyboard. Three values,
separated by a coma, must be given.
"""
TT_SAMPLER_OFFSET = """OFFSET SLIDER
Offset time in seconds into source sound.
"""
TT_SAMPLER_LOOP = """LOOP MODE
Direction of loop.
"""
TT_SAMPLER_XFADE_SHAPE = """CROSSFADE SHAPE
Shape of the crossfade. Linear, equal power or sine/cosine.
"""
TT_SAMPLER_START = """START FROM LOOP
If checked, start directly from loop in point (instead of the beginning of the file).
"""
TT_SAMPLER_LOOP_IN = """LOOP IN SLIDER
Set loop in point in seconds.
Right-click on the label to start midi learn.
Shift-Right-click on the label to remove midi binding.
Double-click on the label to set OSC bindings.
"""
TT_SAMPLER_LOOP_DUR = """LOOP DURATION SLIDER
Set loop duration in seconds.
Right-click on the label to start midi learn.
Shift-Right-click on the label to remove midi binding.
Double-click on the label to set OSC bindings.
"""
TT_SAMPLER_CROSSFADE = """CROSSFADE DURATION SLIDER
Set duration of loop crossfade in percent.
Right-click on the label to start midi learn.
Shift-Right-click on the label to remove midi binding.
Double-click on the label to set OSC bindings.
"""
TT_SAMPLER_GAIN = """GAIN SLIDER
Set input gain of source sound.
Right-click on the label to start midi learn.
Shift-Right-click on the label to remove midi binding.
Double-click on the label to set OSC bindings.
"""
TT_SAMPLER_TRANSPO = """TRANSPOSITION SLIDER
Set transposition of source sound.
Right-click on the label to start midi learn.
Shift-Right-click on the label to remove midi binding.
Double-click on the label to set OSC bindings.
"""
TT_SAMPLER_AUTO = """SLIDER AUTOMATION CONTROLS
Triangle: Playback controls.
- Dark green: Off
- Yellow: Play without visual update.
Circle: Record movements of this slider.
"""
TT_STOCH_TYPE = """ALGORITHM
Type of random distribution.
"""
TT_STOCH_INTERP = """INTERPOLATION
Interpolation method between points.
"""
TT_STOCH_POINTS = """POINTS
Number of points over which to draw the function.
"""
TT_STOCH_MIN = """MIN
Minimum value (mapped over range of parameter).
"""
TT_STOCH_MAX = """MAX
Maximum value (mapped over range of parameter).
"""
TT_STOCH_X1 = """X1
Distribution specific first parameter.
"""
TT_STOCH_X2 = """X2
Distribution specific second parameter.
"""
TT_WAVE_SHAPE = """WAVE TYPE
Waveshape of the function generation.
"""
TT_WAVE_POINTS = """POINTS
Number of points over which to draw the function.
"""
TT_WAVE_AMP = """AMPLITUDE
Amplitude of the waveform, centered around the middle of the grapher.
"""
TT_WAVE_FREQ = """WAVEFORM FREQUENCY
Number of cycles to draw.
"""
TT_WAVE_PHASE = """WAVEFORM PHASE
Initial phase of the waveform.
"""
TT_WAVE_WIDTH = """PULSE WIDTH
Pulse width of the waveform (duty cycle when it applies).
"""
TT_PROC_TYPE = """ALGORITHM
Type of the processor to use.
"""
TT_SCATTER_X = """SCATTER X
Amount of horizontal deviation.
"""
TT_SCATTER_Y = """SCATTER Y
Amount of vertical deviation.
"""
TT_OFFSET_X = """OFFSET X
Horizontal offset.
"""
TT_OFFSET_Y = """OFFSET Y
Vertical offset.
"""
TT_GRAPHER = """GRAPHER BINDINGS
Pointer tool:
- Click and drag line to move it horizontally.
- Double-click on line to toggle between curved and straight segments.
- Click on point or drag to select points.
- Click and drag to move point or selected points.
- Holding Alt key when dragging clip the horizontal position.
- Holding Shift+Alt key when dragging clip the vertical position.
- Double-click anywhere to add point.
- Delete key to delete selected points.
Pencil tool:
- Click anywhere to add point.
- Click and drag to add multiple points.
Zoom tool:
- Click and drag to zoom a region.
- Escape key to reset zoom level.
Hand tool:
- When zoomed, click and drag to move view of the grapher."""
TT_POPUP = """POPUP
Choose amongst a predefined list of elements.
"""
TT_TOGGLE = """TOGGLE
Two states button usually used to start/stop processes.
"""
TT_BUTTON = """BUTTON
A simple trigger.
Both mouse down and mouse up trigger an event.
"""
TT_GEN = """LIST GENERATOR
List entry, useful to send list of discreet values.
"""
TT_POLY_LABEL = """POLYPHONY VOICES
Number of independent notes generated.
"""
TT_POLY_CHORD = """POLYPHONY CHORDS
Pitch mapping between individual notes.
"""
TT_POST_ITEMS = """POST_PROCESSING
Choose a post-processing module.
Parameters appear on the left buttons.
Signal routing is from top to bottom.
"""
|