element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog Meditech: Microphonic stethoscope
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: balearicdynamics
  • Date Created: 4 Jun 2015 10:45 AM Date Created
  • Views 765 views
  • Likes 3 likes
  • Comments 2 comments
  • meditech_project
  • cirrus-logic-audio-card
  • raspberry-pi
  • probe
  • sound_card
  • sci_fi_your_pi
  • stethoscope
Related
Recommended

Meditech: Microphonic stethoscope

balearicdynamics
balearicdynamics
4 Jun 2015

Introductionimage

This is the first article of the second phase of the project development: the implementation of the diagnostic probes.

The first implementation described below if the digital microphonic stethoscope based on the usage of the Cirrus Logic Audio Card.

 

 

The principle

Apparently the technical principle is almost simple. A small condenser microphone should replace the traditional stethoscope earpieces. But - as always occurs - things are not so simple as they seems.

The microphonic stethoscope replaces the standard earpieces with a small condenser microphone as shown in the images below. Here it was used a common commercial device of 5mm diameter. The microphone should fit in about 20 cm of the stethoscope head. This gives the better sound than put the microphone too near to the stethoscope head. In-line with the microphone there is the cable that is plugged in the audio card. Using a good quality cable with copper shield (leaving it unconnected) I got a good quality/noise ratio. The length of the audio cable is about 2 meters.

 

The following images shows the microphone in detail

imageimage

 

As a matter of fact with the audio card installed and working with those "simple" commands available with the installation you can do nothing, ear nothing and no documentation is provided at all. The solution is inside the commands themselves:

 

  1. As the usage is in a headless system there is no reason to involve the mplayer to hear the tests, with the further difficult that without a user interface this command is very difficult to manage. So it has been ignored.
  2. As the acquisition from the audio card is driven by the arecord linux command and the settings are managed by the amixer command the play features has been set using the aplay command part of the same toolset.
  3. Based on the low frequencies rom the internal of the human body, a fine tuning has been done to set the better audio acquisition. The attached test file is an example that I have compared with the traditional hearing level and sound quality.

The images below shows the complete probe compared with the traditional one (one hearth, two devices image )

 

imageimage

 

Sampling and software

To hear the test.wav file you should use - if from a PC - a couple of headphones reporting good bass sounds else it is very low or impossible to hear. Also put the volume to the max level. The following image shows how the acquired sound curve appears:

 

image

 

The file stethoscope.sh is a modified version of the audio card settings with an average quality set for the acquisition / playing of the hearth and general internal human body sounds.

The original sound has been processed (on a fast Mac laptop) using the iZotope software. The following images shows the selective equalisation settings (the noise and unwanted frequencies has been almost completely removed) and the obtained wav file that can be found in attach to this post (the test-processed file)

 

imageimage

The definitive approach - that will be discussed in a further article - for the automated processing of the microphonic stethoscope will be done on the dedicated Raspberry PI hosting the sound card. The audio curve optimisation and processing is done with a headless python interface (the real time data are sent to the master device that store them, display etc.) using the snack library that demonstrated to be the open source most reliable and precise project in this field.

Attachments:
Play this audio clip
https://community.element14.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-01-19/stethoscope.sh
Play this audio clip
  • Sign in to reply

Top Comments

  • balearicdynamics
    balearicdynamics over 10 years ago in reply to DAB +1
    Yes, I have. But the selection of the audio curve and the focus on the specific ranges of frequencies is not experimental. Luckily there is a lot of literature about. I am also trying to reduce a very…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to DAB

    Yes, I have. But the selection of the audio curve and the focus on the specific ranges of frequencies is not experimental. Luckily there is a lot of literature about. I am also trying to reduce a very long (near to a short book) document on the theory of sound auscultation keeping only the technical part interesting to the probe. You should know that there are many examples and recorded sounds of internal body used to teach to medicine students what they should expect with a stethoscope.

     

    By a certain point of view noise is almost far from the frequencies range that are interesting in terms of diagnostics, and this is a good point. Then the manual application of the selective equalisation like in the images over recorded sounds is just to find the better ranges depending on the response of this specific construction mechanism. The automated algorithm is implemented in the Linux machine using the APIs of the snack library, a very powerful (yet a bit outdated) library developed by the center for speech analysis of Stocholm, famous for their studies and publications over this branch of the sound analysis. They are something similar to the IRRCAM center in Paris for the studies on acoustic of musical instruments.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Nice post.

     

    Have you compared the range of your microphone verses the standard stethoscope?

     

    I am curious on how well they compare over a variety of sound/noise levels.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube