-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathharmony-beta.py
More file actions
37 lines (24 loc) · 885 Bytes
/
harmony-beta.py
File metadata and controls
37 lines (24 loc) · 885 Bytes
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
##################################################################
# Harmony-Beta
#
# Harmony-Beta is a prototype synth built in python using pyo api
#
# © Toneau Audio 2024
##################################################################
from pyo import *
from src import midiUtils, oscillators, filters, effects
# Server Initalization
###########################
server = Server().boot()
# Signal Processing
###########################
server.amp = 0.1 # adjusting amplitude to -40 dB
oscillatorOutput = oscillators.bipolarPulse().out(0) # temp audio output for debugging
filterOutput = filters.lowPassFilter(oscillatorOutput, 1000).out() # currently debugging
# I/O Devices
###########################
midiUtils.Devices()
# GUI Output
###########################
gui.spectrum(oscillatorOutput)
server.gui(locals()) # Opens the server graphical interface.