| Check that Shex is being produced correctly, the problem may be with the previous line.
> On 13 Feb 2022, at 09:39, jgda wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hello,
>
> if i install the 6.17 version I have a problem for the strtolk opcode.
> If I come back to the 6.16 version everything is ok.
>
> Is something changed or it is it a bug?
>
> On MacBook 2012 Catalina
>
> Thank you
>
> ---
>
> INIT ERROR in instr 142 (opcode hex) line 89: strtolk: invalid format
> kbeat_pat strtolk Shex
>
> //
> opcode hex, k, SkO
> Spat, kdiv, krot xin
>
> korgan chnget "heart"
> kph = (korgan * kdiv) % (1/16)
>
> klast init -1
> ktick init 0
>
> Shex init "0"
>
> if (kph < klast) then
>
> ktick += 1
> kstrlen = strlenk(Spat)
>
> if (kstrlen > 0) then
>
> ktick += krot%2
>
> kpat_len = strlenk(Spat) * 4
> ktick = ktick % kpat_len
> kpat_indx = int(ktick / 4)
> kbit_indx = ktick % 4
>
> Shex strcatk "0x", strsubk(Spat, kpat_indx, kpat_indx + 1)
> kbeat_pat strtolk Shex
>
> kout = (kbeat_pat >> (3 - kbit_indx)) & 1
>
> endif
> else
> kout = 0
> endif
>
> klast = kph
> xout kout
> endop
> //
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C098fd3ab484f4cd5e2b808d9eed4cf52%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637803420673658640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zjXu7mGqo0rX1%2FgrURiWcpJH0vGhZNwvMAx8cn33djQ%3D&reserved=0
> Send bugs reports to
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=04%7C01%7CVictor.Lazzarini%40mu.ie%7C098fd3ab484f4cd5e2b808d9eed4cf52%7C1454f5ccbb354685bbd98621fd8055c9%7C0%7C0%7C637803420673658640%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zTyDIotcNmix%2FO79Z5an1Yb36sqJi6DRQtQt%2FTzJSS0%3D&reserved=0
> Discussions of bugs and features can be posted here
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 |