Audio Signal Processing Basics
Audio Signal Processing Basics
Audio Signal Processing Basics
Audio data
• Audio data represents analog sounds in a digital form, preserving the main properties of
the original. As we know from school lessons in physics, a sound is a wave of vibrations
traveling through a medium like air or water and finally reaching our ears.
• It has three key characteristics to be considered when analyzing audio data — time period,
amplitude, and frequency.
• MP3
Audio signals
• Audio signals are signals that vibrate in the audible frequency range. When someone talks,
it generates air pressure signals; the ear takes in these air pressure differences and
communicates with the brain.
• That's how the brain helps a person recognize that the signal is speech and understand what
someone is saying.
• There are a lot of MATLAB tools to perform audio processing, but not as many exist in
Python.
Some data features and transformations that are important in speech and audio processing are
Spectrum and cepstrum
• Spectrum and cepstrum are two particularly important features in audio processing.
• In other words, a spectrum is the frequency domain representation of the input audio's time-
domain signal.
• A cepstrum is formed by taking the log magnitude of the spectrum followed by an inverse
Fourier transform.
• This results in a signal that's neither in the frequency domain (because we took an inverse
Fourier transform) nor in the time domain (because we took the log magnitude prior to the
inverse Fourier transform).
Audio analysis
• Audio analysis has already gained broad adoption in various industries, from entertainment
to healthcare to manufacturing.
• Prepare data for your machine learning project, using software tools
• Audacity
• Tensorflow-io package
• Librosa
****************************************************************************
• In short, the MIR toolbox allows us to extract data about musical features dealing
with waveform and spectral analysis, tonality, pitch, dynamics, rhythm, tempo,
timbre, and other high-level audio features.
*********************************************8
• Statistics and Machine Learning Toolbox™ (Statistics and Machine Learning Toolbox)
The toolbox is available free of charge under the GNU General Public License Auditory toolbox,
Netlab toolbox, SOM toolbox, MIRtoolbox requires Matlab version 7 and Mathworks' Signal
Processing toolbox.
How does voice processing work?
• For a computer to decipher a signal, it must have a digital database of words or syllables
as well as a quick process for comparing this data to signals.
• The speech patterns are stored on the hard drive and loaded into memory when the program
is running.
• A comparator checks these stored patterns against the output of the A/D converter -- an
action called pattern recognition.
*****************************************************************8
APPLICATIONS IN REAL WORLD IN SHIPPING INDUSTRY
The shipping industry plays a crucial role in global trade and commerce, and there are several
applications of technology that are being used to optimize shipping operations and improve
efficiency. Here are some examples:
7. Autonomous ships: With advances in computer vision, machine learning, and other AI
technologies, it is becoming increasingly possible to develop autonomous ships. These
ships could potentially reduce human error, lower operational costs, and improve safety.
8. Predictive maintenance: AI can be used to predict when equipment is likely to fail, allowing
for preemptive maintenance and reducing the likelihood of costly breakdowns.
9. Supply chain optimization: AI can analyze data from various sources, such as weather
reports, port schedules, and vessel tracking, to optimize supply chain operations. This could
lead to more efficient cargo routing, better inventory management, and reduced shipping
times.
10. Improved navigation: AI can help ships navigate more efficiently by analyzing factors such
as sea conditions, vessel speed, and fuel consumption. This could reduce fuel costs and
improve environmental sustainability.
11. Cargo monitoring: AI can monitor cargo conditions, such as temperature, humidity, and
vibration, in real-time. This could help ensure that cargo is delivered in optimal condition
and reduce losses due to damage or spoilage.
************************************************************************
KNOWLEDGE-BASED SYSTEM
1. A knowledge base
2. An inference engine
3. A user interface
Case-based systems use case-based reasoning. This involves reviewing past knowledge of similar
situations. Based on what it finds, the knowledge-based system provides solutions that were
effective in those given situations.
Expert systems
Expert systems are one of the most common types of knowledge-based systems. These systems
mimic human experts' decision-making processes, making them helpful for complex analyses,
calculations and predictions. In addition to presenting solutions, they provide specific explanations
for the problems they're solving.
Hypertext manipulation systems store knowledge by linking text to other texts and by using
hypertext. Hypertext refers to a network of discrete blocks of information interconnected as a way
to store data. This type of system allows you to access many types of data easily.
Rule-based systems
Rule-based systems rely on human-made, hard-coded rules. It uses these rules to analyze and
manipulate data to achieve specific outcomes. This may involve using IF-THEN rules, which
establish that if a user makes a certain request, then the system delivers a certain outcome.
• Knowledge-based systems also include an interface through which users query the system
and interact with it.
• Some systems encode expert knowledge as rules and are therefore referred to as rule-based
systems.
• Another approach, case-based reasoning, substitutes cases for rules.
• Cases are essentially solutions to existing problems that a case-based system will attempt
to apply to a new problem.
******************************************************************0
****************************************************************0
***********************************************************0
KNOWLEDGE-BASED SYSTEM
************************************************************8