[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] UnaryOpUGen with dbamp and ampdb broken for audio-rate?
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: [sc-dev] UnaryOpUGen with dbamp and ampdb broken for audio-rate?
- From: Hanns Holger Rutz <contact@xxxxxxxx>
- Date: Fri, 19 Dec 2014 13:27:17 +0100
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1418992037; l=1455; s=domk; d=sciss.de; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From: Date; bh=p37OJqJSjmUQlkbwqpkgQN3fkew=; b=nKb+0iwzSW77nBXs40aasWkwHqNU1Ni1k+LpF4qYXP+/rtRqnUuTc3yxVFe8vesrHPI AR/KmxkvDmC0sp/YLOOUwhLHQ9UgSf/aj2/JDmle2hL2UI1hBT665KVLvVhwDb4lDWO4B EwVCKJ6GRNmXdEbX4fiSMm18/nbDozqTB0s=
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I think there is a severe problem here with some unary ops and audio-rate.
Compare:
play {
var lin;
var in = DC.kr(0);
var db = in.ampdb;
db.poll(0, "db");
lin = db.dbamp;
lin.poll(0, "lin");
0.0
}
// db: -inf
// lin: 0.0
OK!
play {
var lin;
var in = DC.ar(0); // audio-rate!
var db = in.ampdb;
db.poll(0, "db");
lin = db.dbamp;
lin.poll(0, "lin");
0.0
}
// db: -764.616 huh?
// lin: -nan WTF !?!
This is with SC 3.6.5; I don't know if this is fixed in master? Looks
like a very severe bug to me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUlBmkAAoJEKZFmaPaYk6QQRQP/3HS/Q2vW8Q4oRfdY37K7ZCo
lBlFCR7FSUXxYCeI0fwIZod8O5OoZ4h2mo/rvy2Y12xOcX33HXfddLOm/Xx9bJlA
Cv3SZDMSNag02U3Z83g48fn+p+UsBjYiLdAn7sWf+Xktc5bVKU0fZWIFvc070YZh
G50cgT6wILNNIrE4V8lQNrGxXg93QGgBXxBzhlv22eFFr8pcTK85ji64eLYkQnpN
zdyyIltC6rXtrAJd0oNKHOG2bcsGMjy7NoLqMxeyzrUnSp6rxKCPnz9jMW2XRIsg
2j2pBXnfIfuaetVY2F1tPjvN1c6XBp/Z4mgxgzAK5ZAeCKmK2Z6ZrFJes9oUBIDs
/EDnwc56TAwxEMa+5JVhclGFjvwcTHBhETyr/YGIlIeuw9onnYI9f8RzxAeZFVKB
9wP2zY5nit3XMWRh9/kB6nXy+tIl4VzZziyUrFk8ZaJg6k2RqFmu0wnEoKDWWWlo
O80S+vHnNrAfkQxHqP+kvpKnVcu2NCZYFfXbfJmbTX5qSyEIgvCGDIuUqKNpq800
rcQo3QF4lDIPguv2Ze8Mu+OBPdtV9GuqqQNQkmgoIA45VfyKa4PIO+YRTzyFeB7a
vww/KCOp9G9aiZDcf7+h+sib1uNUF000+CIH+SaKS7vIogzkelW1jHlsJNba1ZbS
0ox7joqXSxYdqBZoU5OD
=AmzL
-----END PGP SIGNATURE-----
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/