([{ 'nibble': 0x90 }, 0x47], 6, 'a', 5e-8), # sweep.train_adsr ([{ 'nibble': 0x90 }, 0x47], 6, 'r', 5e-5), ([{ 'nibble': 0x90 }, 0x47], 7, 'm', 0.2), # sweep.train_oracle ([{ 'nibble': 0x90 }, 0x47], 8, 'r', 1e-5), # sweep.adsr ]) harp1.oracle.m(1 / 12) harp2.oracle.m(0 / 4) liner = dlal.Liner() lpf = dlal.Lpf() reverb = dlal.Reverb() delay = dlal.Delay(11025, gain_y=0.3, gain_i=1) lim = dlal.Lim(hard=1, soft=0.9, soft_gain=0.3) buf = dlal.Buf() tape = dlal.Tape(1 << 17) voices = [ drum, shaker1, shaker2, burgers, bass, arp, harp1,
#liner import dlal log2SamplesPerCallback = 6 #create system = dlal.System() raw = dlal.Component('raw') liner = dlal.Liner(16 << log2SamplesPerCallback, 16 << log2SamplesPerCallback) sonic = dlal.Sonic() #command raw.set(44100, log2SamplesPerCallback) liner.line('z') #add system.add(raw, slot=1) system.add(liner, sonic) #connect liner.connect(sonic) sonic.connect(raw) #start raw.start()