Giter Club home page Giter Club logo

scanning-microphone's Introduction

Scanning Microphone

This is a repository for the scanning microphone setup used as a possible way of imaging a phononic topological metamaterial. We are essentially using a CNC controlled microphone to record audio samples from different locations in our acoustic metamaterial (similar to the StM). This allows us to get high-resolution images of the acoustic dynamics of our system.

Example

In this example we scan 28 kHz for an acoustic metamaterial. We expect modes down the boundary in the center (the region between thick and thin pillars) to be topologically protected and everything else in the bulk to insulate. Here is what the temporary setup looked like (all of the parts for this initial test were just borrowed from Science Center 102).

first scan setup

Then, after scanning with a microphone that could pick up the 28 kHz sine wave we broadcasted, we scanned a rectangular slice above the metamaterial to see what is going on.

first scan results

We see that the sound is conducting through the middle, and getting insulated everywhere else! Nice!

As seen from the picture, our setup is divided into a few major sections, all of which have to be connected to your computer.

  1. CNC Machine (Setup Instructions)
  2. Microphone (Setup Instructions)
  3. Signal Generator (Setup Instructions)

Setup and Installation

CNC Machine

The two main types of CNC machines that I experimented with was a 3D printer and a CNC mill. I felt like the 3D printers were safer to use, since you can send commands to turn off the heat and extruder. The setup instructions can be found here.

Microphone

The two main types of microphones that were used were ones connected to the serial headphone jack, and oscilloscopes connected directly to the computer. The oscilloscopes were used because some of the frequencies used went over 22 kHz, which normal sound cards don't handle. The setup instructions can be found here.

Signal Generator

There are also control scripts for a RIGOL Signal Generator. This is useful if you want to vary the sound waves you send in or scanning different frequencies as you go along. The setup instructions can be found here.

Scanning

The main library that you use for controlling everything and scanning will be scanner.py. I find the easiest way is to use an ipython terminal and do everything from there interactively. Some troubleshooting and small starting example can be found here.

Postprocessing Measurements

There are a few different ways for performing the measurements, so I just documented the few ways I tried measuring. Some of the notebooks are available here.

Contact

For any inquiries about the setup or packages, contact wfu (at) college.harvard.edu. Will be happy to help if there are any questions about how to set up something similar.

scanning-microphone's People

Contributors

wfus avatar srivatsankrishnan avatar daninge avatar jakeszler avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.