Bonjour,
How can I read numerical values in a table created with DataTable, anf filled
(well, I hope...) with TableFill? I have tried lots of things, but didn't succeed so far.
In particular, the following only prints a sequence of '0.0' (and the table should be
filled with some non zero values):
#
from pyo import *
s=Server(sr=44100,nchnls=2,buffersize=1024,duplex=1,audio='jack')
s.boot()
matable = DataTable(1024, chnls=1)
sig = Sine(400, mul=0.3).out()
fill = TableFill(sig, matable).play()
for i in range(10):
a=TableIndex(table=matable,index=Sig(i))
print(a.get())
#
I am obviously missing something in 'DataTable', 'TableFill', 'TableIndex' , or all of them...
Thanks in advance for any help.
Serge.