[Csnd] Possible bug with tbvcf?
Date | 2011-07-13 02:48 |
From | Michael Bechard |
Subject | [Csnd] Possible bug with tbvcf? |
Hi all, below is a simple CSD testing tbvcf, but on my machine (Ubuntu 11.04), I get nothing (4 samples at "inf."). I use Csound version 5.13 (double samples). Does anyone else get the same results? It produces a simple sine wave when I comment out the tbvcf opcode... Thanks, Michael Bechard |
Date | 2011-07-13 04:40 |
From | Jim Aikin |
Subject | [Csnd] Re: Possible bug with tbvcf? |
According to the manual page, input to tbvcf should be normalized to 1. Unless I was reading too quickly and misunderstood, you're sending it a signal whose amplitude is 15000. Try it again with 0dbfs=1 and an iamp of 1, and let us know what happens. -- View this message in context: http://csound.1045644.n5.nabble.com/Possible-bug-with-tbvcf-tp4581205p4581417.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2011-07-13 04:51 |
From | Jim Aikin |
Subject | [Csnd] Re: Possible bug with tbvcf? |
This seems to work. The fact that the signal is a sine wave, yet the filter produces a thick tone, is a bit odd. I got tbvcf to blow up by replacing the sine oscil with a gbuzz that had even a modest number of harmonics, so a sine wave it is. sr = 44100 ksmps = 4 nchnls = 2 0dbfs = 1 instr 1 iSine ftgen 0, 0, 8192, 10, 1 iamp = 0.5 ifreq = p4 asig oscil 0.8, ifreq, iSine ifiltrise = p3 * 0.01 ifiltdecay = p3 * 0.99 kfiltenv linseg 1500, ifiltrise, 2000, ifiltdecay, 1200 afilt tbvcf asig, kfiltenv, 1.7, 2, 0.8 asine oscil 1, 500, iSine abal balance afilt, asine aout linen abal * iamp, 0.01, p3, 0.1 outs aout, aout endin |
Date | 2011-07-13 05:51 |
From | Michael Bechard |
Subject | Re: [Csnd] Re: Possible bug with tbvcf? |
Gah, stupid mistake! RTFM, eh? Thanks for clearing that up. Michael Bechard ----- Original Message ----- From: Jim Aikin |
Date | 2011-07-13 09:36 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: Possible bug with tbvcf? |
Then surely the code should scale to 0dbfs ?? > According to the manual page, input to tbvcf should be normalized to 1. > Unless I was reading too quickly and misunderstood, you're sending it a > signal whose amplitude is 15000. > > Try it again with 0dbfs=1 and an iamp of 1, and let us know what happens. > > -- > View this message in context: > http://csound.1045644.n5.nabble.com/Possible-bug-with-tbvcf-tp4581205p4581417.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |