|
@@ -10,6 +10,17 @@
|
|
|
// CC-NC-SA 3.0
|
|
// CC-NC-SA 3.0
|
|
|
// http://creativecommons.org/licenses/by-nc-sa/3.0/
|
|
// http://creativecommons.org/licenses/by-nc-sa/3.0/
|
|
|
|
|
|
|
|
|
|
+//// model parameters
|
|
|
|
|
+
|
|
|
|
|
+// dimensions for the EM182 electret microphone
|
|
|
|
|
+mic_radius = 5;
|
|
|
|
|
+mic_height = 4.5;
|
|
|
|
|
+
|
|
|
|
|
+// distance between face of capsule and center of array
|
|
|
|
|
+amb_radius = 11.5;
|
|
|
|
|
+
|
|
|
|
|
+// separation between capsules (right now only used in stalk)
|
|
|
|
|
+cap_sep = 7;
|
|
|
|
|
|
|
|
// what to render:
|
|
// what to render:
|
|
|
// 0 -> a single capsule holder
|
|
// 0 -> a single capsule holder
|
|
@@ -23,13 +34,13 @@ rendermic = 1;
|
|
|
// 2 -> interlocking beams (in)
|
|
// 2 -> interlocking beams (in)
|
|
|
connect = 2;
|
|
connect = 2;
|
|
|
|
|
|
|
|
-// number of facets for cylinders
|
|
|
|
|
-facets = 64;
|
|
|
|
|
-
|
|
|
|
|
// adjustment for the size of the capsule
|
|
// adjustment for the size of the capsule
|
|
|
// (measured inside diameter was around 7.5 to 8.2 instead of 10, capsule diameter was 9.99)
|
|
// (measured inside diameter was around 7.5 to 8.2 instead of 10, capsule diameter was 9.99)
|
|
|
fudge = 0.1;
|
|
fudge = 0.1;
|
|
|
|
|
|
|
|
|
|
+// number of facets for cylinders
|
|
|
|
|
+facets = 64;
|
|
|
|
|
+
|
|
|
////////
|
|
////////
|
|
|
// microphone capsule holder
|
|
// microphone capsule holder
|
|
|
|
|
|
|
@@ -160,17 +171,6 @@ el2 = -asin(1/dist);
|
|
|
el3 = asin(1/dist);
|
|
el3 = asin(1/dist);
|
|
|
el4 = -asin(1/dist);
|
|
el4 = -asin(1/dist);
|
|
|
|
|
|
|
|
-// dimensions for the EM182 electret microphone
|
|
|
|
|
-
|
|
|
|
|
-mic_radius = 5;
|
|
|
|
|
-mic_height = 4.5;
|
|
|
|
|
-
|
|
|
|
|
-// separation between capsules
|
|
|
|
|
-cap_sep = 7;
|
|
|
|
|
-
|
|
|
|
|
-// distance between face of capsule and center of array
|
|
|
|
|
-amb_radius = 11.5;
|
|
|
|
|
-
|
|
|
|
|
// connect the four instances together
|
|
// connect the four instances together
|
|
|
if (rendermic == 1) {
|
|
if (rendermic == 1) {
|
|
|
capsule(az1, el1, amb_radius, mic_radius, mic_height, 1, 60, 3);
|
|
capsule(az1, el1, amb_radius, mic_radius, mic_height, 1, 60, 3);
|