Coder Social home page Coder Social logo

pwrzec1 / wave-packets-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.69 MB

A program for detecting wave packages in circular waveguide.

License: GNU General Public License v3.0

MATLAB 93.08% M 6.92%
acoustics concrete speaker waveguide osa2023 wavepacket

wave-packets-detection's Introduction

A program for detecting wavepackets in circular waveguide.

(c) Piotr Wrzeciono1, Michał Szymański1, Hydayatullah Bayat2, 2023

Institute of Information Technology, Warsaw University of Life Sciences1, Institute of Civil Engineering, Warsaw University of Life Sciences2

This program is a scientific project created to detect pulses in an acoustic circular waveguide. We wrote our program in the Octave script language. Our project is connected to the paper published during Open Seminar in Acoustics 2023.

We organized our program in the following files:

  • signal_power.m
  • signal_power_fragment.m
  • signal_db.m
  • level_correction.m
  • sound_level_fragment.m
  • searching_for_impulses.m
  • maxima_statistics.m
  • calculation_of_errors_paralell.m

Additionally, the project contains a folder with recordings used in the research. There are made with a sample rate of 192 kHz. The mentioned folder has the following files:

  • signal94dB.wav (Signal from the acoustic calibrator 94 dB),
  • signal94dB_no_infra.wav (Signal from acoustic calibrator without any infrasounds),
  • concrete8cm_impulses.wav (The first Gaussian wavepacket and the first reflection from the concrete end of the circular waveguide),
  • concrete8cm_impulses.wav (The wavepackets recorded in the circular waveguide),
  • concrete8cm_impulses_no_infra.wav (The same signal as in 'concrete8cm_impulses.wav' but no infrasounds).

The main program is in the file 'calculation_of_errors_paralell.m'. To run this program, you have to use the following parameters:

  • The name of the file contains the recording of impulses (file1),
  • The name of the file includes the recording of calibration sound (94dB, 1kHz) (file2),
  • The name of the output file (file3),
  • The duration time of impulse without dispersion (t1)
  • The initiating value of the dispersion (v1),
  • The final value of the dispersion (v2),
  • The step of changing the value of dispersion (v3).
  • This program calculates the measurement's uncertainty for detecting pulses reflected from the concrete end of the waveguide and the speaker.

To use this program, it is necessary to install the package parallel.

octave calculation_of_errors_paralell.m file1 file2 file3 t1 v1 v2 v3

An example of using the program:

octave calculation_of_errors_paralell.m test_signals/concrete8cm_impulses_no_infra.wav test_signals/signal94dB_no_infra.wav result_01.csv 5e-3 0.5 2.0 0.01

wave-packets-detection's People

Contributors

pwrzec1 avatar

Watchers

 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.