[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] [wslib] magResponse incorrect for MidEQ?
- To: sc-dev <sc-dev@xxxxxxxxxxxxxxxx>
- Subject: [sc-dev] [wslib] magResponse incorrect for MidEQ?
- From: James Harkins <jamshark70@xxxxxx>
- Date: Sun, 21 Dec 2014 19:27:36 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1419161263; bh=WXM7zW4cVBfnech6lsL039UZ85JUvXjph2pbJqiXFVU=; h=X-QQ-mid:Received:X-QQ-SSF:X-QQ-FEAT:X-QQ-GoodBg:Date:Message-ID:From:To:Subject:User-Agent:MIME-Version:Content-Type: X-QQ-SENDSIZE; b=CkpVZU1Fgplj7W6WvXkAkixl4f4OjqVj3bBVVo/MopDSm1bxkb+GmBlaX0TQx3rvo 2/b9NYTItRwH4IFfxQVcFqBYFT0pnzXvQvzXN46zWhmuZR+kMy7olAO5KAqoOFmZEq 0Yu2LxIXCBFTDwDcVhV016plH6HtlC1cu5zz+u0g=
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
This seems wrong:
MidEQ.magResponse(512, 44100, 344.51, 1.41, -4.67).plot;
x = MidEQ.magResponse(512, 44100, 344.51, 1.41, -4.67);
x.plot; // dip is very far to the right, but 344 is not a high frequency
x.minIndex; // 459
But, where does the center frequency fall in the freqs array?
(..512).linexp(0,512-1, 20, 22000).indexInBetween(344.51)
--> 207.69
But:
x = BPeakEQ.magResponse(512, 44100, 344.51, 1.41, -4.67);
x.minIndex;
--> 208
hjh
_______________________________________________
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/