[Csnd] Poly0
Date | 2021-03-11 14:27 |
From | Andreas Bergsland |
Subject | [Csnd] Poly0 |
Hi I have recently discovered the poly/poly0 opcodes (plugins), and think they are really great! But, I have had problems getting poly0 to work with schedkwhen. E.g.: instr 1 kFrqs[] fillarray 1, 2, 3, 4 kMetro[] poly 4, "metro", kFrqs poly0 4, "schedkwhen", kMetro, 0, 0, 2, 0, 1 endin instr 2 out(oscil(0.1,200)) endin gives INIT ERROR in instr 1 (opcode poly0) line 13: failed to parse signature (kkkkkz), char failed: 'z' from file /Users/andbe/Library/Application Support/WinXound/Temp/WinXound_Untitled.csd (1) poly0 4 "schedkwhen" kMetro 0 0 2 0 1 INIT ERROR in instr 1 (opcode poly0) line 13: poly: failed to setup handle from file /Users/andbe/Library/Application Support/WinXound/Temp/WinXound_Untitled.csd (1) poly0 4 "schedkwhen" kMetro 0 0 2 0 1 Am I doing something wrong, or doesn’t poly0 work with schedkwhen? Best, Andreas -- Andreas Bergsland
|
Date | 2021-03-11 14:48 |
From | Eduardo Moguillansky |
Subject | Re: [Csnd] Poly0 |
Hi, I haven't implemented variable number of inputs yet (z means a var. number of k-type inputs), but it shouldn't be difficult. For this and other bugs/feature requests feel free to open an issue at https://github.com/csound-plugins/csound-plugins (https://github.com/csound-plugins/csound-plugins/issues) best, Eduardo On 11.03.21 15:27, Andreas Bergsland
wrote:
|
Date | 2021-03-12 07:46 |
From | Andreas Bergsland |
Subject | Re: [Csnd] Poly0 |
Hi Thanks for your great work with this Eduardo! Issue opened! Cheers, Andreas
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Eduardo Moguillansky <eduardo.moguillansky@GMAIL.COM>
Hi, I haven't implemented variable number of inputs yet (z means a var. number of k-type inputs), but it shouldn't be difficult. For this and other bugs/feature requests feel free to open an issue at https://github.com/csound-plugins/csound-plugins (https://github.com/csound-plugins/csound-plugins/issues) best, Eduardo On 11.03.21 15:27, Andreas Bergsland wrote:
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 |
Date | 2021-04-13 07:15 |
From | Andreas Bergsland |
Subject | Re: [Csnd] Poly0 |
Hi I got a github message that this issue was fixed. Then I tried this again (same code as below) after updating the plugins, but with the same result. I tried both the precompiled ones and to build from source. I am not sure if I am doing anything wrong and it works for anyone else, or if there are still the same issue with the opcode. Best, Andreas
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Eduardo Moguillansky <eduardo.moguillansky@GMAIL.COM>
Hi, I haven't implemented variable number of inputs yet (z means a var. number of k-type inputs), but it shouldn't be difficult. For this and other bugs/feature requests feel free to open an issue at https://github.com/csound-plugins/csound-plugins (https://github.com/csound-plugins/csound-plugins/issues) best, Eduardo On 11.03.21 15:27, Andreas Bergsland wrote:
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 |
Date | 2021-04-13 16:18 |
From | Eduardo Moguillansky |
Subject | Re: [Csnd] Poly0 |
You can text new released binaries here: https://github.com/cli/cli/releases/tag/v1.8.1 Tested with the following code, seems to do the expected: <CsoundSynthesizer> <CsOptions> -odac </CsOptions> <CsInstruments> sr = 44100 ksmps = 64 nchnls = 2 0dbfs = 1 instr 1 kFrqs[] fillarray 5, 7, 11, 17 if timeinstk() == 1 then kFrqs *= 0.1 endif kMidi[] fillarray 60, 64, 67, 69 kMetro[] poly 4, "metro", kFrqs poly0 4, "schedkwhen", kMetro, 0, 0, 2, 0, 0.3, kMidi endin instr 2 imidi = p4 + 12 ifreq = mtof:i(imidi) asig = oscil(0.1,ifreq) asig *= adsr:a(0.005, 0.1, 0.5, 0.1) out(asig) endin </CsInstruments> <CsScore> i 1 1 100 </CsScore> </CsoundSynthesizer> On 11.03.21 15:27, Andreas Bergsland
wrote:
|
Date | 2021-04-13 18:59 |
From | Andreas Bergsland |
Subject | Re: [Csnd] Poly0 |
Great! Now it works here as well! Thanks a lot, Eduardo. This will be very useful. Andreas
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Eduardo Moguillansky <eduardo.moguillansky@GMAIL.COM>
You can text new released binaries here: https://github.com/cli/cli/releases/tag/v1.8.1 Tested with the following code, seems to do the expected: <CsoundSynthesizer> <CsOptions> -odac </CsOptions> <CsInstruments> sr = 44100 ksmps = 64 nchnls = 2 0dbfs = 1 instr 1 kFrqs[] fillarray 5, 7, 11, 17 if timeinstk() == 1 then kFrqs *= 0.1 endif kMidi[] fillarray 60, 64, 67, 69 kMetro[] poly 4, "metro", kFrqs poly0 4, "schedkwhen", kMetro, 0, 0, 2, 0, 0.3, kMidi endin instr 2 imidi = p4 + 12 ifreq = mtof:i(imidi) asig = oscil(0.1,ifreq) asig *= adsr:a(0.005, 0.1, 0.5, 0.1) out(asig) endin </CsInstruments> <CsScore> i 1 1 100 </CsScore> </CsoundSynthesizer> On 11.03.21 15:27, Andreas Bergsland wrote:
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 |