Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] strget for pfields
Ben Hackbarth <[email protected]> Tue, 17 Mar 2026 20:04:32 +0000
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAJubPZ4DdYD6S-x-eK2fVR5nUL8Dead-B+-VOf=_uYVo-j_aoA@mail.gmail.com> |
--000000000000ba92d2064d3dd8e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Victor. I hadn=E2=80=99t realised that version 7 was stable now. I appreciate all of the hard work that went into version 7! One reason that it was unclear that 6 is EOL and 7 is stable is that =E2=80= =98brew install csound=E2=80=99 installs version 6.18 on OSX. Thanks and best, Ben On Wed, 11 Mar 2026 at 12:00, Victor Lazzarini < [email protected]> wrote: > Csound 6.x is EOL. With Csound 7, I get this > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > victor@firebird debug % csound test.csd > Reading options from $HOME/.csound7rc > Reading CSD file: test.csd > --Csound version 7.0 beta (double samples) Mar 7 2026 > [commit: 32fe6c37f4d382e1b25d4a5fccf0e0fccc3ffa85] > Compiling Csound code... > ...done > Elapsed time at end of code compilation: real: 0.009s, CPU: 0.006s > using libsndfile-1.2.2 > graphics suppressed, ascii substituted > sr =3D 44100.0, kr =3D 1378.125, ksmps =3D 32 > 0dBFS level =3D 32768.0, A4 tuning =3D 440.0 > audio buffered in 128 sample-frame blocks > not writing to sound disk > SECTION 1: > new alloc for instr 200: > mystring > B 0.000 .. 1.000 T 1.000 TT 1.000 M: 0.0 0.0 > end of Performance > inactive allocs returned to freespace > overall amps: 0.0 0.0 > overall samples out of range: 0 0 > 0 errors in performance > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > So that is working. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Prof. Victor Lazzarini > Maynooth University > Ireland > > > > > > > > On 11 Mar 2026, at 11:42, Ben Hackbarth <[email protected]> wrote: > > > > You don't often get email from [email protected]. Learn why this is > important *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. > > Dear all, > > > > I am running into issues with strget in the latest stable version > (6.18.1_14.arm64_sequoia). More specifically, strget does not seem capabl= e > of pulling strings from p-fields as it once did. > > The csd below prints nothing for me at the terminal. Commit > a1580f9cdf331c35dceb486f4231871ce0b00266 works fine, however; I get > 'mystring' printed with puts as expected. > > > > Thanks for any insight, Ben > > > > > > <CsoundSynthesizer> > > <CsOptions> > > --format=3Dwav /tmp/assemblage.wav > > </CsOptions> > > <CsInstruments> > > sr =3D 44100 > > ksmps =3D 32 > > nchnls =3D 2 > > > > > > instr 200 > > Sfilename strget p4 > > puts Sfilename, 1 > > endin > > > > </CsInstruments> > > > > <CsScore> > > i200 0.0 1 "mystring" > > e > > </CsScore> > > </CsoundSynthesizer> > > The information contained in this email may be confidential and > privileged. It is intended only for the addressee(s) stated above. If you > are not an addressee any use, dissemination, distribution, publication or > copying of the information contained in this email is strictly prohibited= . > If you have received this email in error, please immediately notify us by > email at [email protected]<mailto:[email protected]> and delete > this email from your system. > > Please note that Maynooth University is subject to Freedom of Information > and Data Protection laws. We may be required to disclose the content of > emails under the FOI Act 2014, the Data Protection Act 2018 or GDPR. > > Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=ADom= hphost seo. > D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BAnda agus= faoi phribhl=C3=A9id. Mura > seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml=C3=A1n ar aon eolas at=C3=A1 sa r= =C3=ADomhphost seo a =C3=BAs=C3=A1id, a > scaipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1i= l. M=C3=A1 fuair t=C3=BA an > r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin in i=C3=BAl d=C3=BAinn l= =C3=A1ithreach tr=C3=AD > r=C3=ADomhphost a chur chuig [email protected]<mailto:dataprotection@= mu.ie> > agus scrios an r=C3=ADomhphost seo =C3=B3 do ch=C3=B3ras. > > Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3= =ADthe um > Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2=80=99fh= =C3=A9adfadh ceangal a bheith > orainn =C3=A1bhar r=C3=ADomhphoist a nochtadh faoin Acht um Shaor=C3=A1il= Faisn=C3=A9ise 2014, > faoin Acht um Chosaint Sonra=C3=AD 2018 n=C3=B3 faoi GDPR. > > Registered charity number 20037130 > > > --000000000000ba92d2064d3dd8e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div> <p class=3D"gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-= variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:n= one;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font= -size:14px;line-height:normal;font-family:Arial"><span class=3D"gmail-s1" s= tyle=3D"font-kerning:none">Thanks Victor. I hadn=E2=80=99t realised that ve= rsion 7 was stable now. I appreciate all of the hard work that went into ve= rsion 7!</span></p> <p class=3D"gmail-p2" style=3D"margin:0px;font-variant-numeric:normal;font-= variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:n= one;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font= -size:14px;line-height:normal;font-family:Arial;min-height:16px"><span clas= s=3D"gmail-s1" style=3D"font-kerning:none"></span><br></p> <p class=3D"gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-= variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:n= one;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font= -size:14px;line-height:normal;font-family:Arial"><span class=3D"gmail-s1" s= tyle=3D"font-kerning:none">One reason that it was unclear that 6 is EOL and= 7 is stable is that =E2=80=98brew install csound=E2=80=99 installs version= 6.18 on OSX.</span></p> <p class=3D"gmail-p2" style=3D"margin:0px;font-variant-numeric:normal;font-= variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:n= one;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font= -size:14px;line-height:normal;font-family:Arial;min-height:16px"><span clas= s=3D"gmail-s1" style=3D"font-kerning:none"></span><br></p> <p class=3D"gmail-p1" style=3D"margin:0px;font-variant-numeric:normal;font-= variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:n= one;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font= -size:14px;line-height:normal;font-family:Arial"><span class=3D"gmail-s1" s= tyle=3D"font-kerning:none">Thanks and best, Ben</span></p></div></div><br><= div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"g= mail_attr">On Wed, 11 Mar 2026 at 12:00, Victor Lazzarini <<a href=3D"ma= ilto:[email protected]">000010b17ddd988e-dm= [email protected]</a>> wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">Csound 6.x is EOL. With Csound 7, I get this<= br> <br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> victor@firebird debug % csound test.csd<br> Reading options from $HOME/.csound7rc<br> Reading CSD file:=C2=A0 test.csd<br> --Csound version 7.0 beta (double samples) Mar=C2=A0 7 2026<br> [commit: 32fe6c37f4d382e1b25d4a5fccf0e0fccc3ffa85]<br> Compiling Csound code...<br> ...done<br> Elapsed time at end of code compilation: real: 0.009s, CPU: 0.006s<br> using libsndfile-1.2.2<br> graphics suppressed, ascii substituted<br> sr =3D 44100.0, kr =3D 1378.125, ksmps =3D 32<br> 0dBFS level =3D 32768.0, A4 tuning =3D 440.0<br> audio buffered in 128 sample-frame blocks<br> not writing to sound disk<br> SECTION 1:<br> new alloc for instr 200:<br> mystring<br> B=C2=A0 0.000 ..=C2=A0 1.000 T=C2=A0 1.000 TT=C2=A0 1.000 M:=C2=A0 =C2=A0 = =C2=A0 0.0=C2=A0 =C2=A0 =C2=A0 0.0<br> end of Performance<br> inactive allocs returned to freespace<br> =C2=A0 overall amps:=C2=A0 =C2=A0 =C2=A0 0.0=C2=A0 =C2=A0 =C2=A0 0.0<br> =C2=A0 overall samples out of range:=C2=A0 =C2=A0 =C2=A0 =C2=A0 0=C2=A0 =C2= =A0 =C2=A0 =C2=A0 0<br> 0 errors in performance<br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> <br> So that is working.<br> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br= > Prof. Victor Lazzarini<br> Maynooth University<br> Ireland<br> <br> <br> <br> <br> <br> <br> > On 11 Mar 2026, at 11:42, Ben Hackbarth <<a href=3D"mailto:hackbart= [email protected]" target=3D"_blank">[email protected]</a>> wrote:<br> ><br> > You don't often get email from <a href=3D"mailto:[email protected]= om" target=3D"_blank">[email protected]</a>. Learn why this is important = *Warning*<br> > This email originated from outside of Maynooth University's Mail S= ystem. Do not reply, click links or open attachments unless you recognise t= he sender and know the content is safe.<br> > Dear all,<br> ><br> > I am running into issues with strget in the latest stable version (6.1= 8.1_14.arm64_sequoia). More specifically, strget does not seem capable of p= ulling strings from p-fields as it once did.<br> > The csd below prints nothing for me at the terminal. Commit a1580f9cdf= 331c35dceb486f4231871ce0b00266 works fine, however; I get 'mystring'= ; printed with puts as expected.<br> ><br> > Thanks for any insight, Ben<br> ><br> ><br> > <CsoundSynthesizer><br> > <CsOptions><br> > --format=3Dwav /tmp/assemblage.wav<br> > </CsOptions><br> > <CsInstruments><br> > sr =3D 44100<br> > ksmps =3D 32<br> > nchnls =3D 2<br> ><br> ><br> > instr 200<br> > Sfilename=C2=A0 =C2=A0strget=C2=A0 =C2=A0p4<br> > puts Sfilename, 1<br> > endin<br> ><br> > </CsInstruments><br> ><br> > <CsScore><br> > i200 0.0 1 "mystring"<br> > e<br> > </CsScore><br> > </CsoundSynthesizer><br> <br> The information contained in this email may be confidential and privileged.= It is intended only for the addressee(s) stated above. If you are not an a= ddressee any use, dissemination, distribution, publication or copying of th= e information contained in this email is strictly prohibited. If you have r= eceived this email in error, please immediately notify us by email at <a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</= a><mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">data= [email protected]</a>> and delete this email from your system.<br> <br> Please note that Maynooth University is subject to Freedom of Information a= nd Data Protection laws. We may be required to disclose the content of emai= ls under the FOI Act 2014, the Data Protection Act 2018 or GDPR.<br> <br> Is don seola=C3=AD / do na seolaithe thuasluaite amh=C3=A1in an r=C3=ADomhp= host seo. D=E2=80=99fh=C3=A9adfadh an t-eolas at=C3=A1 ann a bheith r=C3=BA= nda agus faoi phribhl=C3=A9id. Mura seola=C3=AD t=C3=BA, t=C3=A1 cosc ioml= =C3=A1n ar aon eolas at=C3=A1 sa r=C3=ADomhphost seo a =C3=BAs=C3=A1id, a s= caipeadh, a dh=C3=A1ileadh, a fhoilsi=C3=BA n=C3=B3 a ch=C3=B3ipe=C3=A1il. = M=C3=A1 fuair t=C3=BA an r=C3=ADomhphost seo tr=C3=AD thimpiste, cuir sin i= n i=C3=BAl d=C3=BAinn l=C3=A1ithreach tr=C3=AD r=C3=ADomhphost a chur chuig= =C2=A0 <a href=3D"mailto:[email protected]" target=3D"_blank">dataprotec= [email protected]</a><mailto:<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>>=C2=A0 agus scrios an r=C3=ADomhphost s= eo =C3=B3 do ch=C3=B3ras.<br> <br> Tabhair faoi deara go bhfuil Ollscoil Mh=C3=A1 Nuad faoi r=C3=A9ir dhl=C3= =ADthe um Shaor=C3=A1il Faisn=C3=A9ise agus um Chosaint Sonra=C3=AD. D=E2= =80=99fh=C3=A9adfadh ceangal a bheith orainn =C3=A1bhar r=C3=ADomhphoist a = nochtadh faoin Acht um Shaor=C3=A1il Faisn=C3=A9ise 2014, faoin Acht um Cho= saint Sonra=C3=AD 2018 n=C3=B3 faoi GDPR.<br> <br> Registered charity number 20037130<br> <br> <br> </blockquote></div> --000000000000ba92d2064d3dd8e2--