embedded/juceplugin/test.py
raw| 1 | import random |
| 2 | |
| 3 | # Get the input sound and apply a stereo delay on it. |
| 4 | feed = SigTo(0, 0.05, 0) |
| 5 | freq = SigTo(0.1, 0.05, 0.1) |
| 6 | freq_sc = Scale(freq, 0, 1, 100, 10000, 4) |
| 7 | st_input = Input([0, 1]) |
| 8 | st_filter = ButBP(st_input, freq_sc) |
| 9 | st_delay = Delay(st_filter, delay=[random.uniform(0.1, 0.9) for i in range(2)], feedback=feed).out() |