Permalink
Browse files

revised DBAP4, DBAP4e, Binaural4

  • Loading branch information...
1 parent b4ef1fd commit 5ae8e25c1174983988c57783fecaae798defaacc @hoch hoch committed Oct 24, 2012
Showing with 8 additions and 6 deletions.
  1. +3 −2 binaural/Binaural4.ck
  2. +1 −1 panning/DBAP4.ck
  3. +4 −3 panning/DBAP4e.ck
View
@@ -9,7 +9,7 @@
// formation. Impulse responses were made from each speaker
// to each ear using the nearfield quad setup in the CCRMA
// ballroom with help from Jonathan Abel.
-// @version chuck-1.3.1.3
+// @version chuck-1.3.1.3 / ma-0.2.2c
// @revision 7
@@ -27,7 +27,8 @@ public class Binaural4
// number of synthesized point sources which will be
// the number of speakers that produced impulse responses
// NOTE: we are using Z-formation for quad setup (LF-RF-LR-RR)
- ["LeftFront", "RightFront", "LeftRear", "RightRear"] @=> string _channels[];
+ ["LeftFront", "RightFront", "LeftRear", "RightRear"]
+ @=> string _channels[];
_channels.cap() => int _numChannels;
// mixer input: inlets exposed aka psuedo speakers
View
@@ -2,8 +2,8 @@
// @author Hongchan Choi (hongchan@ccrma)
// @desc General purpose panner for 4-channel configuration. Based
// on DBAP (distance based amplitude panning) method.
-// @revision 5
// @version chuck-1.3.1.3 / ma-0.2.2c
+// @revision 5
class DBAP4 extends Chubgraph
View
@@ -4,18 +4,19 @@
// on DBAP (distance based amplitude panning) method.
// Some experimental effects are added to enhance spatial cues.
// @note This class requires Binaural4.ck as a public class
-// @revision 4
+// https://github.com/hoch/music220a-ccrma/raw/master/binaural/Binaural4.ck
// @version chuck-1.3.1.3 / ma-0.2.2c
+// @revision 4
class DBAP4e extends Chubgraph
{
- // switch
+ // loading public class
0 => int _BINAURAL;
// warning
if (dac.channels() < 4) {
- cherr <= "[DBAP4] Insufficient output ports. Add Binaural4 class to VM.\n";
+ cherr <= "[DBAP4] Insufficient output ports - using binaural mixdown.\n";
1 => _BINAURAL;
}

0 comments on commit 5ae8e25

Please sign in to comment.