tuning and wgpluck/wgpluck2
Date | 2015-10-26 15:30 |
From | Aaron Krister Johnson |
Subject | tuning and wgpluck/wgpluck2 |
Does anyone use wgpluck and wgpluck2? Has anyone noticed how horribly out-of-tune they are? Try playing octaves on a midi keyboard, for instance, with a simple midi-triggered instrument using wgpluck2 as its guts.The open source "pyo" Python library for DSP of Olivier Belanger is an example of where this is done right, and I'm wondering it would be an easy thing to use that code-base as an example incorporate interpolation into the delay lines of these opcodes to make them actually usuable for musical purposes :) |
Date | 2015-10-27 09:00 |
From | Oeyvind Brandtsegg |
Subject | Re: tuning and wgpluck/wgpluck2 |
Yes, it would be nice to know clearly what opcodes do interpolation and which do not. The manual for wgpluck states that it uses interpolating delay lines, I had assumed this means fractional sample delays for fine tuning ... but maybe not? 2015-10-26 16:30 GMT+01:00 Aaron Krister Johnson |
Date | 2015-10-27 15:26 |
From | Aaron Krister Johnson |
Subject | Re: tuning and wgpluck/wgpluck2 |
If it does use interpolation, one would expect to play a MIDI keyboard and get in-tune octaves (for example). But that doesn't seem to be the case. -AKJ On Tue, Oct 27, 2015 at 4:00 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote: Yes, it would be nice to know clearly what opcodes do interpolation |
Date | 2015-10-27 15:32 |
From | jpff |
Subject | Re: tuning and wgpluck/wgpluck2 |
On Tue, 27 Oct 2015, Oeyvind Brandtsegg wrote: > Yes, it would be nice to know clearly what opcodes do interpolation > and which do not. The manual for wgpluck states that it uses > interpolating delay lines, I had assumed this means fractional sample > delays for fine tuning ... but maybe not? > Looking at the code....it kooks as if wgpluck only uses interpolation for the listening point. It uses oversampling for delay lines less that 256 samples, so the documentation is suspect. I guess it needs a wgpluck3 with better interpolatio. ==John ff 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 | 2015-10-27 15:36 |
From | jpff |
Subject | Re: tuning and wgpluck/wgpluck2 |
That message was for wgpluck2 (and repluck).. The code for wgpluck is harder for me to follow, but I think it does use an allpass filter to tune. On Tue, 27 Oct 2015, jpff wrote: > On Tue, 27 Oct 2015, Oeyvind Brandtsegg wrote: > >> Yes, it would be nice to know clearly what opcodes do interpolation >> and which do not. The manual for wgpluck states that it uses >> interpolating delay lines, I had assumed this means fractional sample >> delays for fine tuning ... but maybe not? >> > > Looking at the code....it kooks as if wgpluck only uses interpolation for the > listening point. It uses oversampling for delay lines less that 256 samples, > so the documentation is suspect. I guess it needs a wgpluck3 with better > interpolatio. > > ==John ff > > 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 > 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 | 2015-10-27 16:03 |
From | Victor Lazzarini |
Subject | Re: tuning and wgpluck/wgpluck2 |
Is it not possible to fix the interpolation without needing a third opcode? Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 27 Oct 2015, at 15:32, jpff |
Date | 2015-10-27 17:02 |
From | jpff |
Subject | Re: tuning and wgpluck/wgpluck2 |
We cannot change an opcode tat much -- someone may be using the bad tuning. Aty least that was my thinking ==John ff 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 | 2015-10-27 17:17 |
From | Oeyvind Brandtsegg |
Subject | Re: tuning and wgpluck/wgpluck2 |
Could we use an optional argument to enable the precise tuning? 2015-10-27 18:02 GMT+01:00 jpff |
Date | 2015-10-27 18:15 |
From | Tarmo Johannes |
Subject | Re: tuning and wgpluck/wgpluck2 |
I think there is the same problem with wgflute, wgbow and similar (cannot check right now). To me a whole set of new opcodes with corrected tunings, as John suggested, would make sense. 27.10.2015 19:18 kirjutas kuupäeval "Oeyvind Brandtsegg" <oyvind.brandtsegg@ntnu.no>:
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
Could we use an optional argument to enable the precise tuning? |
Date | 2015-10-27 20:44 |
From | Victor Lazzarini |
Subject | Re: tuning and wgpluck/wgpluck2 |
which makes me wonder whether the versions of these in the Stk opcode collection are in tune or not all. Maybe they are the alternative we're looking for? Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland
|
Date | 2015-10-27 22:00 |
From | Aaron Krister Johnson |
Subject | Re: tuning and wgpluck/wgpluck2 |
Yes, Victor, great question. Paul Batchelor, if you look in the sources for pyo at https://github.com/belangeo/pyo/blob/master/src/objects/delaymodule.c you'll find the implementation in C of the waveguide. Not sure how it would all translate to Csound API, though. Have at it! On Tue, Oct 27, 2015 at 3:44 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2015-10-28 09:57 |
From | jpff |
Subject | Re: tuning and wgpluck/wgpluck2 |
wflute, wgbow . are the STK algorithms. wgpluck, wgpluck2 and repluck are not On Tue, 27 Oct 2015, Victor Lazzarini wrote: > which makes me wonder whether the versions of these in the Stk opcode > collection are in tune or not all. Maybe they > are the alternative we're looking for? > > Victor LazzariniDean of Arts, Celtic Studies, and Philosophy > Maynooth University > Ireland > > On 27 Oct 2015, at 18:15, Tarmo Johannes |
Date | 2015-10-28 10:07 |
From | Victor Lazzarini |
Subject | Re: tuning and wgpluck/wgpluck2 |
Are these stk algorithms in tune? ======================== Dr Victor Lazzarini Dean of Arts, Celtic Studies and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 28 Oct 2015, at 09:57, jpff |
Date | 2015-10-28 11:39 |
From | Michael Gogins |
Subject | Re: tuning and wgpluck/wgpluck2 |
Varies. Regards, On Oct 28, 2015 5:07 AM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> 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
Are these stk algorithms in tune? |