cecilia 5.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- Cecilia5.py +120 -0
- Resources/API_interface.py +996 -0
- Resources/COPYING.txt +674 -0
- Resources/Cecilia5.icns +0 -0
- Resources/Cecilia5.ico +0 -0
- Resources/CeciliaFileIcon5.icns +0 -0
- Resources/CeciliaFileIcon5.ico +0 -0
- Resources/CeciliaInterface.py +185 -0
- Resources/CeciliaLib.py +1484 -0
- Resources/CeciliaMainFrame.py +354 -0
- Resources/CeciliaPlot.py +1693 -0
- Resources/Cecilia_splash.png +0 -0
- Resources/ChainUI.py +325 -0
- Resources/Control.py +1912 -0
- Resources/DocFrame.py +1192 -0
- Resources/Drunk.py +169 -0
- Resources/Grapher.py +1824 -0
- Resources/Grapher_parser.py +68 -0
- Resources/HistoryEvents.py +193 -0
- Resources/Plugins.py +1126 -0
- Resources/PopupMenu.py +30 -0
- Resources/PreferencePanel.py +641 -0
- Resources/Preset.py +150 -0
- Resources/RoutingGraph.py +445 -0
- Resources/RoutingHistory.py +87 -0
- Resources/Session.py +419 -0
- Resources/SessionHistory.py +661 -0
- Resources/Sliders.py +1968 -0
- Resources/TogglePopup.py +332 -0
- Resources/Variables.py +346 -0
- Resources/Widgets.py +4701 -0
- Resources/__init__.py +18 -0
- Resources/audio.py +2144 -0
- Resources/constants.py +765 -0
- Resources/images.py +1731 -0
- Resources/menubar.py +253 -0
- Resources/modules/Dynamics/Degrade.c5 +89 -0
- Resources/modules/Dynamics/Distortion.c5 +97 -0
- Resources/modules/Dynamics/DynamicsProcessor.c5 +85 -0
- Resources/modules/Dynamics/FeedbackLooper.c5 +66 -0
- Resources/modules/Dynamics/UpDistoRes.c5 +113 -0
- Resources/modules/Dynamics/WaveShaper.c5 +60 -0
- Resources/modules/Filters/AMFMFilter.c5 +109 -0
- Resources/modules/Filters/AutoModFilter.c5 +148 -0
- Resources/modules/Filters/Binaural.c5 +101 -0
- Resources/modules/Filters/BrickWall.c5 +84 -0
- Resources/modules/Filters/Flanger.c5 +123 -0
- Resources/modules/Filters/MaskFilter.c5 +91 -0
- Resources/modules/Filters/ParamEQ.c5 +122 -0
- Resources/modules/Filters/Phaser.c5 +60 -0
- Resources/modules/Filters/StateVar.c5 +75 -0
- Resources/modules/Filters/StateVar2.c5 +104 -0
- Resources/modules/Filters/Vocoder.c5 +98 -0
- Resources/modules/Multiband/MultiBandBeatMaker.c5 +225 -0
- Resources/modules/Multiband/MultiBandDelay.c5 +102 -0
- Resources/modules/Multiband/MultiBandDisto.c5 +102 -0
- Resources/modules/Multiband/MultiBandFreqShift.c5 +89 -0
- Resources/modules/Multiband/MultiBandGate.c5 +96 -0
- Resources/modules/Multiband/MultiBandHarmonizer.c5 +109 -0
- Resources/modules/Multiband/MultiBandReverb.c5 +103 -0
- Resources/modules/Pitch/ChordMaker.c5 +142 -0
- Resources/modules/Pitch/Chorus.c5 +77 -0
- Resources/modules/Pitch/FreqShift.c5 +101 -0
- Resources/modules/Pitch/Harmonizer.c5 +85 -0
- Resources/modules/Pitch/LooperBank.c5 +79 -0
- Resources/modules/Pitch/LooperMod.c5 +112 -0
- Resources/modules/Pitch/PitchLooper.c5 +110 -0
- Resources/modules/Pitch/RandomAccumulator.c5 +112 -0
- Resources/modules/Resonators&Verbs/ConvolutionReverb.c5 +46 -0
- Resources/modules/Resonators&Verbs/Convolve.c5 +102 -0
- Resources/modules/Resonators&Verbs/DetunedResonators.c5 +150 -0
- Resources/modules/Resonators&Verbs/MatrixReverb.c5 +454 -0
- Resources/modules/Resonators&Verbs/Resonators.c5 +162 -0
- Resources/modules/Resonators&Verbs/WGuideBank.c5 +107 -0
- Resources/modules/Spectral/AddResynth.c5 +106 -0
- Resources/modules/Spectral/BinModulator.c5 +164 -0
- Resources/modules/Spectral/BinWarper.c5 +91 -0
- Resources/modules/Spectral/CrossSynth.c5 +103 -0
- Resources/modules/Spectral/CrossSynth2.c5 +109 -0
- Resources/modules/Spectral/Morphing.c5 +96 -0
- Resources/modules/Spectral/Shifter.c5 +90 -0
- Resources/modules/Spectral/SpectralDelay.c5 +109 -0
- Resources/modules/Spectral/SpectralFilter.c5 +91 -0
- Resources/modules/Spectral/SpectralGate.c5 +86 -0
- Resources/modules/Spectral/SpectralWarper.c5 +72 -0
- Resources/modules/Spectral/Transpose.c5 +94 -0
- Resources/modules/Spectral/Vectral.c5 +98 -0
- Resources/modules/Synthesis/AdditiveSynth.c5 +84 -0
- Resources/modules/Synthesis/BucketBrigadeDevice.c5 +185 -0
- Resources/modules/Synthesis/CrossFreqMod.c5 +102 -0
- Resources/modules/Synthesis/FrequencyModulation.c5 +87 -0
- Resources/modules/Synthesis/Pulsar.c5 +80 -0
- Resources/modules/Synthesis/SpitSideBandSynth.c5 +155 -0
- Resources/modules/Synthesis/StochGrains.c5 +355 -0
- Resources/modules/Synthesis/StochGrains2.c5 +236 -0
- Resources/modules/Synthesis/SuperSaw.c5 +90 -0
- Resources/modules/Synthesis/WaveScanSynth.c5 +75 -0
- Resources/modules/Time/4Delays.c5 +137 -0
- Resources/modules/Time/BeatMaker.c5 +213 -0
- Resources/modules/Time/DelayMod.c5 +90 -0
- Resources/modules/Time/Granulator.c5 +114 -0
- Resources/modules/Time/Particle.c5 +125 -0
- Resources/modules/Time/Pelletizer.c5 +115 -0
- Resources/modules/Time/Stutterer.c5 +100 -0
- Resources/modules/Time/UltimateGrainer.c5 +158 -0
- Resources/presets/4Delays/01-Echoes +792 -0
- Resources/presets/4Delays/02-Oscillating Taps +1384 -0
- Resources/presets/4Delays/03-Haunting +792 -0
- Resources/presets/4Delays/04-Whistle +3944 -0
- Resources/presets/4Delays/05-Rising Star +796 -0
- Resources/presets/AMFMFilter/01-Bass Pulse +504 -0
- Resources/presets/AMFMFilter/02-Drunk DJ +2056 -0
- Resources/presets/AMFMFilter/03-Flanger +504 -0
- Resources/presets/AMFMFilter/04-Mexican Bad Day +544 -0
- Resources/presets/AMFMFilter/05-Paft Dunk +504 -0
- Resources/presets/BeatMaker/01-Slow Pulse +1186 -0
- Resources/presets/BeatMaker/02-Drifting +890 -0
- Resources/presets/BeatMaker/03-Drowning +874 -0
- Resources/presets/BeatMaker/04-Jitter Beat +1914 -0
- Resources/presets/BeatMaker/05-Deconstruct +1034 -0
- Resources/presets/BrickWall/01-Lowpass Brickwall +458 -0
- Resources/presets/BrickWall/02-Big Hole +458 -0
- Resources/presets/BrickWall/03-Oscillating Band +850 -0
- Resources/presets/BrickWall/04-Moving Window +650 -0
- Resources/presets/ChordMaker/01-Octavier +726 -0
- Resources/presets/Degrade/01-Bass Crunch +534 -0
- Resources/presets/Degrade/02-8bit Chirp +534 -0
- Resources/presets/Degrade/03-Broken Filter +3602 -0
- Resources/presets/Degrade/04-Destroyed +1406 -0
- Resources/presets/Degrade/05-Hearing Aid +1406 -0
- Resources/presets/DelayMod/01-Crying +724 -0
- Resources/presets/DelayMod/02-Metal Drop +724 -0
- Resources/presets/DelayMod/03-Crumble +1108 -0
- Resources/presets/DelayMod/04-Big Space +724 -0
- Resources/presets/DelayMod/05-Chain Saw +2308 -0
- Resources/presets/Distortion/01-Hendrix +2660 -0
- Resources/presets/Distortion/02-Bass Torture +564 -0
- Resources/presets/Distortion/03-Tube Warmer +564 -0
- Resources/presets/Distortion/04-Rising Harmonics +564 -0
- Resources/presets/Distortion/05-Return to Normality +564 -0
- Resources/presets/DynamicsProcessor/01-Drum Slicer +616 -0
- Resources/presets/DynamicsProcessor/02-Squisher +616 -0
- Resources/presets/DynamicsProcessor/03-Rythmic Gating +2144 -0
- Resources/presets/Granulator/01-Stretcher +454 -0
- Resources/presets/Granulator/02-Big Chord +457 -0
- Resources/presets/Granulator/03-Rhythm Grains +3630 -0
- Resources/presets/Granulator/04-Beater +596 -0
- Resources/presets/Granulator/05-Ouverture +460 -0
- Resources/presets/MaskFilter/01-Oscillating Filter +2124 -0
- Resources/presets/MaskFilter/02-Wrapping Phases +1164 -0
- Resources/presets/MaskFilter/03-Morphing Filters +576 -0
- Resources/presets/MaskFilter/04-High Freq Boost +536 -0
- Resources/presets/MaskFilter/05-Small Box +536 -0
- Resources/presets/MultiBandBeatMaker/01-Steady +573 -0
- Resources/presets/MultiBandBeatMaker/02-The Old In-Out +2613 -0
- Resources/presets/MultiBandBeatMaker/03-Moving Pictures +1885 -0
- Resources/presets/MultiBandBeatMaker/04-Different Attacks +573 -0
- Resources/presets/MultiBandBeatMaker/05-Feed Me Drums! +933 -0
- Resources/presets/MultiBandDelay/01-Space Flute +751 -0
- Resources/presets/MultiBandDelay/02-Freezing Heights +751 -0
- Resources/presets/MultiBandDelay/03-Frippertronics +767 -0
- Resources/presets/MultiBandDelay/04-At Harms Length +4543 -0
- Resources/presets/MultiBandDelay/05-Floating Around +1183 -0
- Resources/presets/MultiBandDisto/01-Crunchy Guitar +721 -0
- Resources/presets/MultiBandDisto/02-Hardcore Bass +3221 -0
- Resources/presets/MultiBandDisto/03-Mid Boost +791 -0
- Resources/presets/MultiBandDisto/04-Moving Band +1187 -0
- Resources/presets/MultiBandFreqShift/01-Sliding Notches +671 -0
- Resources/presets/MultiBandFreqShift/02-Stutter +671 -0
- Resources/presets/MultiBandFreqShift/03-Ferris wheel +2239 -0
- Resources/presets/MultiBandFreqShift/04-In The Middle +667 -0
- Resources/presets/MultiBandGate/01-Extremes +731 -0
- Resources/presets/MultiBandGate/02-Boomy +727 -0
- Resources/presets/MultiBandHarmonizer/01-Metal Room +795 -0
- Resources/presets/MultiBandHarmonizer/02-Crying +1563 -0
- Resources/presets/MultiBandHarmonizer/03-Octavier +795 -0
- Resources/presets/MultiBandHarmonizer/04-Large Mass +791 -0
- Resources/presets/MultiBandReverb/01-Snare Room +751 -0
- Resources/presets/MultiBandReverb/02-Bass Rumble +791 -0
- Resources/presets/MultiBandReverb/03-Hissss +787 -0
- Resources/presets/ParamEQ/01-Losing Weight +722 -0
- Resources/presets/ParamEQ/02-Old Radio +762 -0
- Resources/presets/Pelletizer/01-Stretcher +558 -0
- Resources/presets/Pelletizer/02-Shreds +558 -0
- Resources/presets/Pelletizer/03-Chunk Looper +1546 -0
- Resources/presets/Pelletizer/04-Pendulum +1770 -0
- Resources/presets/Pelletizer/05-Inharmonic +553 -0
- Resources/presets/Phaser/01-Spookmaker +500 -0
- Resources/presets/Phaser/02-Mover +2640 -0
- Resources/presets/Phaser/03-Annoying Neighbour +1260 -0
- Resources/presets/Phaser/04-Pop and Slide +652 -0
- Resources/presets/Phaser/05-Resonators +536 -0
- Resources/presets/StateVar/01-Swinger +1302 -0
- Resources/presets/StateVar/02-Flanging +1302 -0
- Resources/presets/StateVar/03-Anything +1082 -0
- Resources/presets/StochGrains2/01-Bubbles +672 -0
- Resources/presets/StochGrains2/02-Ostinato +680 -0
- Resources/presets/StochGrains2/03-Bellows +744 -0
- Resources/presets/StochGrains2/04-Frenetic Chopper +1452 -0
- Resources/presets/StochGrains2/05-Roller Coaster +1212 -0
- Resources/presets/Vocoder/01-Strange Reverb +753 -0
- Resources/presets/Vocoder/02-Freezer +753 -0
- Resources/presets/Vocoder/03-Robot in the Water +753 -0
- Resources/presets/Vocoder/04-Overture +753 -0
- Resources/presets/Vocoder/05-Flanging +941 -0
- Resources/presets/WaveShaper/01-Broken Speaker +440 -0
- Resources/presets/WaveShaper/02-Complex +624 -0
- Resources/presets/WaveShaper/03-Very Dusty Record +832 -0
- Resources/presets/WaveShaper/04-Paper Cone +752 -0
- Resources/presets/WaveShaper/05-Analog Is Warmer +436 -0
- Resources/splash.py +100 -0
- cecilia-5.5.0.dist-info/METADATA +103 -0
- cecilia-5.5.0.dist-info/RECORD +217 -0
- cecilia-5.5.0.dist-info/WHEEL +5 -0
- cecilia-5.5.0.dist-info/entry_points.txt +2 -0
- cecilia-5.5.0.dist-info/licenses/Resources/COPYING.txt +674 -0
- cecilia-5.5.0.dist-info/top_level.txt +2 -0
Cecilia5.py
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
#! /usr/bin/env python3
|
|
2
|
+
# encoding: utf-8
|
|
3
|
+
"""
|
|
4
|
+
This file is part of Cecilia 5.
|
|
5
|
+
|
|
6
|
+
Cecilia 5 is free software: you can redistribute it and/or modify
|
|
7
|
+
it under the terms of the GNU General Public License as published by
|
|
8
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
(at your option) any later version.
|
|
10
|
+
|
|
11
|
+
Cecilia 5 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 General Public License for more details.
|
|
15
|
+
|
|
16
|
+
You should have received a copy of the GNU General Public License
|
|
17
|
+
along with Cecilia 5. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
"""
|
|
19
|
+
import os, sys, random
|
|
20
|
+
import wx
|
|
21
|
+
from Resources.constants import *
|
|
22
|
+
from Resources.Variables import loadBitmaps
|
|
23
|
+
from Resources import audio, CeciliaMainFrame
|
|
24
|
+
from Resources.splash import CeciliaSplashScreen
|
|
25
|
+
import Resources.CeciliaLib as CeciliaLib
|
|
26
|
+
|
|
27
|
+
class CeciliaApp(wx.App):
|
|
28
|
+
def __init__(self, *args, **kwargs):
|
|
29
|
+
wx.App.__init__(self, *args, **kwargs)
|
|
30
|
+
|
|
31
|
+
def MacOpenFiles(self, filenames):
|
|
32
|
+
if type(filenames) == list:
|
|
33
|
+
filenames = filenames[0]
|
|
34
|
+
if CeciliaLib.getVar("mainFrame") is not None:
|
|
35
|
+
CeciliaLib.getVar("mainFrame").onOpen(filenames)
|
|
36
|
+
|
|
37
|
+
def MacReopenApp(self):
|
|
38
|
+
try:
|
|
39
|
+
CeciliaLib.getVar("mainFrame").Raise()
|
|
40
|
+
except:
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def onStart():
|
|
45
|
+
ceciliaMainFrame = CeciliaMainFrame.CeciliaMainFrame(None, -1)
|
|
46
|
+
CeciliaLib.setVar("mainFrame", ceciliaMainFrame)
|
|
47
|
+
app.SetTopWindow(ceciliaMainFrame)
|
|
48
|
+
|
|
49
|
+
file = ""
|
|
50
|
+
if len(sys.argv) > 1:
|
|
51
|
+
file = sys.argv[1]
|
|
52
|
+
|
|
53
|
+
if os.path.isfile(file):
|
|
54
|
+
ceciliaMainFrame.onOpen(file)
|
|
55
|
+
elif CeciliaLib.getVar("lastCeciliaFile") != '' and os.path.isfile(CeciliaLib.getVar("lastCeciliaFile")):
|
|
56
|
+
ceciliaMainFrame.onOpen(CeciliaLib.getVar("lastCeciliaFile"),
|
|
57
|
+
MODULES_PATH in CeciliaLib.getVar("lastCeciliaFile"))
|
|
58
|
+
else:
|
|
59
|
+
categories = [folder for folder in os.listdir(MODULES_PATH) if not folder.startswith(".")]
|
|
60
|
+
category = random.choice(categories)
|
|
61
|
+
files = [f for f in os.listdir(os.path.join(MODULES_PATH, category)) if f.endswith(FILE_EXTENSION)]
|
|
62
|
+
file = random.choice(files)
|
|
63
|
+
ceciliaMainFrame.onOpen(os.path.join(MODULES_PATH, category, file), True)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def main():
|
|
67
|
+
"""Launch Cecilia from the installed command or the source script."""
|
|
68
|
+
global app
|
|
69
|
+
|
|
70
|
+
audioServer = audio.AudioServer()
|
|
71
|
+
CeciliaLib.setVar("audioServer", audioServer)
|
|
72
|
+
|
|
73
|
+
try:
|
|
74
|
+
CeciliaLib.queryAudioMidiDrivers()
|
|
75
|
+
except:
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
app = CeciliaApp(redirect=False)
|
|
79
|
+
|
|
80
|
+
loadBitmaps()
|
|
81
|
+
|
|
82
|
+
wx.Log.SetLogLevel(0)
|
|
83
|
+
if sys.version_info[0] < 3:
|
|
84
|
+
wx.SetDefaultPyEncoding('utf-8')
|
|
85
|
+
|
|
86
|
+
try:
|
|
87
|
+
display = wx.Display()
|
|
88
|
+
numDisp = display.GetCount()
|
|
89
|
+
if CeciliaLib.getVar("DEBUG"):
|
|
90
|
+
print('Numbers of displays:', numDisp)
|
|
91
|
+
displays = []
|
|
92
|
+
displayOffset = []
|
|
93
|
+
displaySize = []
|
|
94
|
+
for i in range(numDisp):
|
|
95
|
+
displays.append(wx.Display(i))
|
|
96
|
+
offset = displays[i].GetGeometry()[:2]
|
|
97
|
+
size = displays[i].GetGeometry()[2:]
|
|
98
|
+
if CeciliaLib.getVar("DEBUG"):
|
|
99
|
+
print('display %d:' % i)
|
|
100
|
+
print(' pos =', offset)
|
|
101
|
+
print(' size =', size)
|
|
102
|
+
print()
|
|
103
|
+
displayOffset.append(offset)
|
|
104
|
+
displaySize.append(size)
|
|
105
|
+
except:
|
|
106
|
+
numDisp = 1
|
|
107
|
+
displayOffset = [(0, 0)]
|
|
108
|
+
displaySize = [(1024, 768)]
|
|
109
|
+
|
|
110
|
+
CeciliaLib.setVar("numDisplays", numDisp)
|
|
111
|
+
CeciliaLib.setVar("displayOffset", displayOffset)
|
|
112
|
+
CeciliaLib.setVar("displaySize", displaySize)
|
|
113
|
+
|
|
114
|
+
sp = CeciliaSplashScreen(None, img=CeciliaLib.ensureNFD(SPLASH_FILE_PATH), callback=onStart)
|
|
115
|
+
|
|
116
|
+
app.MainLoop()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
if __name__ == '__main__':
|
|
120
|
+
main()
|