Variable vs integral param in to_sc.play_note

Hi,

Description:

I would like to send a scamp partition to supercollider in such a way that some parameters of the SC synth move (e.g. along a random path). But the “param_” option seems only to take integers or lists of integers as an input. Am I wrong? and ig not, is there a way out?

Here is a very simple python script (no random here, but the problem stays the same):

Error printout:

arpeggio.NoMatch: Expected ‘[’ or number at position (1, 15) => ‘m_mRatio: *t, param_c’.

#full code
from scamp import *
s = Session()
to_sc = s.new_osc_part(“FM”, port=57120)

def test():
t=1
while t <15:
to_sc.play_note(66, 1, 1, “param_mRatio: t, param_cRatio: 1”)
t = t+1

test()

if I write param_mRatio: 5 (or any number) it does work and gives 15 times the same sound