On Mon, Mar 29, 2021 at 06:13:49PM +0200, Stefan Thomas wrote: > Dear community, > this (simplified) patch runs without problem with standard numerical score. > But unfortunately there's no sound when I want to try it with midi instead. > I get the error message > > > Invalid ftable no. 1.000000 > > > I don't know why. > It's an additive synthesizer wich uses event_i. > It would be great, if someone of You could give me a hint. > Thanks, > Stefan I haven't tried to actually make it work, as I'm not quite sure what changes you made for MIDI, but the immediate cause of the error is the line: iglobamp ampmidi 0,1 which is an incorrect format. 'ampmidi' only has one argument unless you actually want a translation table. You probably wanted 'iglobamp ampmidi 1' (returns range 0..1 -- haven't checked what actually might be appropriate). I also found that ~line 55 (the call to StefansAdsyn) probably got folded -- the next line is the argument list for the opcode. Had to rejoin the two lines to avoid a compile error. -- Pete -- Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here