1
0

Octathingy_EM182.scad 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //
  2. // Spherical Harmonics Ear Project (*SpHEAR)
  3. //
  4. // Octathingy, Second Order Ambisonics Microphone
  5. //
  6. // based on:
  7. // "A second-order soundfield microphone with improved polar pattern shape"
  8. // by Eric Benjamin, Audio Engineering Society Convention Paper 8728,
  9. // October 2012, San Francisco
  10. //
  11. // Microphone optimized for EM182 capsules and Zapnspark interface
  12. //
  13. // Copyright 2015-2017, Fernando Lopez-Lezcano, All Rights Reserved
  14. // nando@ccrma.stanford.edu
  15. //
  16. // This program is free software: you can redistribute it and/or modify
  17. // it under the terms of the GNU General Public License as published by
  18. // the Free Software Foundation, either version 3 of the License, or
  19. // (at your option) any later version.
  20. //
  21. // This program is distributed in the hope that it will be useful,
  22. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. // GNU General Public License for more details.
  25. //
  26. // You should have received a copy of the GNU General Public License
  27. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  28. //
  29. // 3d Models released under the Creative Commons license as follows:
  30. // Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
  31. // http://creativecommons.org/licenses/by-nc-sa/4.0/
  32. include <Octathingy_common.scad>;
  33. include <Octathingy_mount_pcb.scad>;
  34. // dimensions of the electret microphone capsule
  35. capsule_radius = 5;
  36. capsule_height = 4.5;
  37. mic_radius = 13.5;
  38. // make triangular legs have the right height
  39. connect = 1;
  40. leg_thick = capsule_height * 0.45;
  41. ////
  42. //// render the different assemblies
  43. ////
  44. //// microphone body and array
  45. *render_octa_capsule_array(0);
  46. *render_octa_capsule_flare(0);
  47. *render_octa_pcb_mount(0, 0);
  48. *render_octa_cable_flare(0);
  49. // the whole body
  50. *render_octa_body(0, 10, 0);
  51. // the whole microphone
  52. // or use render_octa_microphone_cutout(0, 0) for a "transparent" view
  53. //
  54. *render_octa_microphone_cutout(0, 0, 0);
  55. //// microphone shock mount
  56. *render_octa_shock_mount_stand(0);
  57. *render_octa_shock_mount_external_ring(0);
  58. *render_octa_shock_mount_internal_ring_bot(0);
  59. *render_octa_shock_mount_internal_ring_top(0);
  60. *render_octa_shock_mount_ring_connectors(5);
  61. // the full mount at the right height to render with the microphone
  62. *render_octa_shock_mount(-3);
  63. // individual capsule holders
  64. *render_octa_capsule_top(0);
  65. *render_octa_capsule_bot(0);