MIDI and digital sound: pros and cons


Free Download Mp4Gain
picture

MIDI and digital sound: pros and cons

Digital Audio

The WAVE format is one of many, but it is far from the only format for recording digital audio.

Digital Audio

Unlike MIDI data, digital audio data is actually sound recorded in thousands of units called samples. Digital data represents the amplitude (or volume) of a sound at discrete moments. The sound of digital data is independent of the playback device and therefore always sounds the same. But you have to pay for this with large volumes of sound files.

MIDI data is to digital data what vector graphics are to bitmaps. In other words, MIDI data depends on the audio playback devices and digital data is independent. Just as the appearance of vector graphics depends on the printer or monitor screen, the sound of MIDI files depends on the MIDI device to play these files. Similarly, a melody played on a concert piano will sound different from a normal piano. Digital data, on the other hand, is identical and independent of the reproduction system. The MIDI standard is similar in this respect to the PostScript standard and allows you to control instruments in understandable language.

Compared to digital sound, MIDI has the following advantages:

MIDI files take up less memory and the size of these files does not affect sound quality. On average, MIDI files are 200 to 1000 times smaller than digital files and therefore take up a small amount of RAM, disk space and do not require large CPU resources.

In some cases, MIDI files sound better than digital audio files. In this case, the sound source of the MIDI files must be of high quality.

You can change the length of MIDI files by changing the tempo of the sound, while maintaining the quality and volume of the sound. MIDI data can be easily edited, even at the single note level. You can manipulate small segments of a MIDI song (with millisecond precision), which is not possible with digital audio.

The main disadvantage of a MIDI file comes from its merits. Since MIDI data is not sound itself, playback will be as accurate as the device for playing the MIDI data is identical to the device used to create the original file. Even the sound of a MIDI instrument according to the General MIDI standard depends on the electronic playback device and the method used. MIDI sound is not used for voice playback.

The main advantage of digital audio over MIDI sound is that the reproduction quality of digital sound is always constant, and here MIDI sound is inferior to digital sound. There are two reasons why you should work with digital audio:

A wider selection of programs and systems that support working with digital sound.

The preparation and creation of digital sound elements does not require knowledge of music theory, which cannot be said for MIDI data.

Sound tips
Voice recording from microphone
Any book devoted to multimedia necessarily contains a section on microphone sound recording. In addition, the Sound Recorder (Phonograph) program, which is included in the standard Windows distribution, is usually used for this. Working with it is described in detail in the attached help file. It is easy to use and we will not dwell on it in detail.

The microphones come in condenser and dynamic microphones. Capacitors are more expensive, they give better sound, but your connection must be compatible with a sound card. And the vast majority of sound cards are designed for dynamic microphones.

Another important characteristic of a microphone is its directivity. The microphones are omni-directional (they have the same sensitivity to sound in all directions), unidirectional (they have the highest sensitivity to sound coming from the front), and bi-directional (more sensitive to sound coming from the front and rear). A unidirectional microphone is usually the best option, as it eliminates background noise. But it is more expensive than omni-directional microphones and is more sensitive to choppy breath sounds.

Be sure to pay attention to the impedance (impedance) of the microphone. The optimal value is around 600 ohms.

Therefore, we recommend a 600 ohm dynamic omni-directional microphone.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Differences between analog and digital audio

Differences between analog and digital audio

Analog vs Digital

Sound information. Sound is a wave that travels through air, water, or other medium with a continuously changing intensity and frequency.

Digital vs. Analog

A person perceives sound waves (air vibrations) with the help of hearing in the form of sound of varying volume and pitch. The greater the intensity of the sound wave, the louder the sound, the higher the frequency of the wave, the higher the pitch of the sound (Fig. 1.1).

Dependence of the volume and pitch of the sound on the intensity and frequency of the sound wave.

The human ear perceives sound at a frequency of 20 vibrations per second (low sound) to 20,000 vibrations per second (high sound).

A person can perceive sound in a wide range of intensities, in which the maximum intensity is 1014 times greater than the minimum (one hundred thousand billion times). A special unit of “decibels” (dbl) is used to measure the volume of sound (Table 5.1). Decreasing or increasing the sound volume by 10 dB corresponds to a decrease or increase in sound intensity by 10 times.

Provisional discretization sound. In order for a computer to process sound, a continuous audio signal must be converted to a discrete digital form using time sampling. A continuous sound wave is divided into separate small time sections, for each section a certain value of sound intensity is set.

Therefore, the continuous dependence of the loudness of the sound at time A (t) is replaced by a discrete sequence of loudness levels. On the graph, this appears to replace a smooth curve with a sequence of “steps” (Fig. 1.2).

Sync Audio Sampling

Sampling frequency. A microphone connected to the sound card is used to record analog sound and convert it to digital format. The quality of the digital sound obtained depends on the number of measurements of the sound volume level per unit of time, that is, the sampling frequency. The more measurements that are made in 1 second (the higher the sampling frequency), the more accurately the “ladder” of the digital audio signal repeats the curve of the dialogue signal.

The audio sample rate is the number of sound volume measurements in one second.

The audio sample rate can vary between 8000 and 48000 sound volume measurements per second.

Audio encoding depth. Each “step” is assigned a specific value for the sound volume level. Loudness levels of sound can be viewed as a set of possible states N, for which a certain amount of information I is required, which is called audio coding depth.

Audio encoding depth is the amount of information required to encode the discrete volume levels of digital audio.

If the encoding depth is known, then the number of digital audio loudness levels can be calculated using the formula N = 2I. Let the audio encoding depth be 16 bit, then the number of sound volume levels is:

N = 2I = 216 = 65536.

During the encoding process, each sound volume level is assigned its own 16-bit binary code, the lowest sound level will correspond to the code 0000000000000000 and the highest – 1111111111111111.

The quality of digitized sound. The higher the sampling frequency and depth of the sound, the better the sound of the digitized sound. The lowest quality of digitized sound, corresponding to the quality of telephone communication, is obtained at a sampling rate of 8000 times per second, a sampling rate of 8 bits, and by recording an audio track (“mono” mode). The highest quality of digitized sound, corresponding to the quality of an audio CD, is achieved with a sampling rate of 48,000 times per second, a sampling rate of 16 bits and the recording of two audio tracks (stereo mode) .

It should be remembered that the higher the quality of the digital sound, the greater the volume of information in the audio file. You can estimate the volume of information in a digital stereo sound file with a duration of 1 second with an average sound quality (16 bits, 24,000 measurements per second). To do this, the encoding depth must be multiplied by the number of measurements in 1 second and multiplied by 2 (stereo sound):

16 bits × 24,000 × 2 = 768,000 bits = 96,000 bytes = 93.75 KB.

Sound editors. Sound editors allow you not only to record and play sound, but also to edit it. Digitized sound is presented in sound editors visually, so copying, moving, and deleting parts of the audio track can be easily performed with the mouse. Also, you can layer tracks

Analog or digital audio?

Analog or digital audio?

Analog vs. Digital Audio

Mechanical, electromechanical, optical, and magnetic recording were originally analog recording methods: recording and reproducing sound vibrations in their natural form (waves).

ANALOG vs. DIGITAL AUDIO

Many people believe that there is no better sound recording than analog. The warm analog sound of the magnetic tape is the standard of the best audio recordings for all mankind. Everyone from Elvis Presley and the Beatles to the latest electronic musicians have used and are using analog tape recording or emulation to create their music.

But analog recording is not the most accurate way to record sound. Rather the most beautiful. Analog sound is pleasant to the human ear due to the presence of “warm” harmonics, which are, in fact, distortions of sound. The most accurate sound recording principle today is digital recording.

The father of digital sound was 25-year-old Volodya Kotelnikov, who created it in 1933. The famous “report theorem” (also known as “Kotelnikov’s theorem” or “Nyquist-Shannon theorem). This theorem was the beginning of the creation of the principle of digitizing sound: encoding an audio signal into bits, that is, converting an analog signal into digital. It only took 49 years to create the CDs we know about. the world, it was only adopted in 1982.

A complete list of the types of digital sound recording in use today is digital magnetic recording (format: DAT cassette), magneto-optical recording (miniDisc format), laser recording (CD, SACD formats), digital recording optical (dolby digital)

The development of computers and digital technology has opened up enormous possibilities for processing and recording sound. Huge analog studios with countless multi-kilogram recording equipment, consoles, and sound processors are being replaced by virtual studios that fit into the computer’s system unit.

To process sound on a computer, it must first be recorded in digital, encoded format. The analog signal is encoded by an analog-to-digital converter (ADC). To play back the recording, you must reverse the digital-to-analog audio conversion using a digital-to-analog converter (DAC). The DAC and ADC are part of the computer sound card and other digital audio equipment. The quality of sound recording and playback is highly dependent on the quality of the DAC and ADC.

DAC and ADC

The main parameters of digital sound are sample rate and bit depth. Both the quality of the digitized sound and the size of the recorded file depend directly on them.

Sampling rate (sampling)

Analog recording begins by pressing the “record” button and ends by pressing the “stop” button. Digital recording is discreet. It consists of many recording fragments (samples) that follow one after another. The number of samples logged per second is the sample rate. It is calculated in hertz. The 44 100 Hz sampling rate (standard for CD) means that the audio signal is measured 44 100 times per second. The lower the sampling frequency, the smaller the frequency spectrum that is recorded. The higher the sampling frequency of the source material, the higher the quality and the larger the file size. When you talk on the phone, you only hear a small mid-range range. This is because the sample rate for phone calls is only 8,000 Hz. To transmit a range of frequencies that the average person’s ear hears and transmits home stereos: 40,000 Hz is sufficient. If the difference in sound quality between 32 and 44.1 kHz is obvious, then the higher the sampling frequency, the less perceptible or not at all perceptible to the ear the difference in quality between the two different frequencies will be. A higher sample rate describes sound more precisely, but at the same time describes those frequencies that the human ear can no longer hear, although changes in sound in the inaudible frequency range can still affect audible frequencies, so that studio recording is performed at a higher sample rate. Since consumer equipment is primarily designed to reproduce sound with a sample rate of 44.1 kHz, when the recording is ready, it is re-encoded to a generally accepted standard. If the difference in sound quality between 32 and 44.1 kHz is obvious, then the higher the sampling frequency, the less perceptible or not at all perceptible to the ear the difference in quality between the two different frequencies will be.

Analog Audio and Digital Audio

Analog Audio and Digital Audio

Analog vs Digital Audio

A sound wave is a kind of complex function, the dependence of the amplitude of a sound wave on time.

Analog Audio vs. Digital Audio

The information contained in the acoustic wave is not determined by the parameters of the medium in which the elastic wave propagates, and the oscillation parameters (amplitude and frequency, tone and harmonics).

Any form of recording (mechanical and Skye, magnetic, optical, laser) is based on the previous conversion of the sound wave into an alternating electrical current with the same parameters of the oscillations (via microphone).

Analog sound is represented on the device as a continuous electrical signal.

Sound quality depends on the fidelity of the waveform, which is very difficult to maintain.

Until 1982, the world was consuming “canned music” only from analog media: vinyl records and magnetic tapes.

Good vinyl records, played with good equipment, offered excellent sound quality, which unfortunately deteriorated a little with each listening due to mechanical wear as the stylus moved along the sound groove and into the dust that permeated everything.

Tape recorders required precision read heads and high tape feed speeds to reproduce smoothly. Over time, the tape demagnetized, the magnetic layer crumbled.

But the main disadvantage of analog audio recording is the inevitable loss of quality when copying.

The mystery of trigonometry

According to the theory of the mathematician Jean Baptiste Fourier, a sound wave can be represented as a spectrum of frequencies included in it.

The frequency components of the spectrum are sinusoidal oscillations (pure tones), each of which has its own amplitude and frequency.

According to Kotelnikov’s theorem, any vibration, even the most complex shape (for example, a human voice), can be recovered unambiguously and without loss from its discrete samples taken with a frequency equal to its doubled maximum frequency.

Vladimir Aleksandrovich Kotelnikov (1908-2005) – a prominent Soviet and Russian scientist in the field of radio engineering, radiocommunication and radio astronomy.

Observation . The finite duration signal has an infinitely wide spectrum. Therefore, when a signal with a finite duration is sampled, it is impossible to recover it from the samples without loss of quality.

Digitization of audio information

The digitization of sound is the recording of the amplitude of the signal at certain intervals and the recording of the amplitude values ​​obtained in the form of rounded digital values.
Any computer includes a motherboard, an audio adapter (sound card).

Sound cards include: ADC (analog to digital converter), synthesizer, mixer, DAC (digital to analog converter) amplifier s, MIDI interface port for gaming devices.

To record digital sound, the ADC produces:

temporal sampling of a continuous signal (determines the value of the amplitude of the signal with the frequency necessary to recreate its original shape = twice the maximum frequency of the sound wave);

quantization by the levels of the measured signal values ​​(determines the number of fixed values ​​(levels, gradations) of the amplitude of the signal);

signal coding (writing in a binary number system).

The reverse operation is performed by the DAC (digital to analog converter).

Bitrate

Bit rate (bit rate): literally bits of information of the transmission rate.

The bit rate is the effective information transmission rate through the channel (the transmission rate of “useful information”, in addition to the service information) expressed in kilobits per second (kilobits per second, kbps).

In lossy compression video and audio transmission formats, the bit rate parameter expresses the degree of compression of the stream and thus determines the size of the channel for which the data stream is compressed.

P-mode compression data stream:

with constant bit rate (constant bit rate, CBR) – The required bit rate is initially set, which does not change throughout the file. It makes it possible to predict the final file size quite accurately, but it does not provide an optimal size / quality ratio for musical works, the sound of which changes dynamically over time.

with variable bit rate (VBR): the codec changes the value of the bit rate based on the desired quality level according to the psychoacoustic model. It offers the best quality of the output file, but its size is unpredictable (it may differ several times).

with an average bit rate (ABR): a hybrid of constant and variable bit rates: the user sets the bit rate in kbit / s and the program varies it within certain limits.

What is meant by analog and digital?

The terms “analog” and “digital” are used to distinguish two
large families of electronic circuits.

Analog and digital

Analog circuits are those that handle signals that vary
continuously and must be reproduced as accurately as possible
possible. For example, a vocal amplifier is a typical device
fully analog in which the signal produced by the microphone
is processed and amplified but should not be modified in its
essential components to ensure “fidelity” of reproduction.

Analog Music in a Digital World

Digital circuits (from the English word “digit” which can be translated as
digit or number, and therefore are also called “numeric”),
instead, they deal with signals that can only have two states, usually indicated
by the numerical values ​​0 and 1, which in within the circuits correspond
two clearly differentiable signal values:
for example, 0 may correspond to a voltage
between 0 and 0.2 volts, while the value 1 at a voltage between 4.5 and 5 volts.
An element that can assume only two states represents a “bit” of information.
Most of the components of a common personal computer are made
with digital circuits.

In reality, many of today’s electronic devices
They adopt mixed technologies, part analog and part digital.
Consider, for example, a compact disc player. The sign that
represents the engraved piece is stored in the form typically
digital: a succession of microscopic areas that can be opaque
or reflective, each area corresponds to a value of 0 or 1 depending on whether
it is opaque or reflective.
The sequence of values ​​0/1 constitutes a digital representation
the acoustic signal, so the first part of the reproduction circuit
uses digital techniques.

To play the original sound,
the sequence of bits must first be transformed into an analog signal and this step is done
a particular circuit called a “digital / analog converter” that has
the purpose of translating the sequence of bits into an electrical signal
which is “Analogous” to the acoustic signal originally produced by the instruments
that played the piece that is being recorded.

Then the analog signal can be amplified (by a circuit
analog, of course) and sent to the speakers for playback
acoustics.

Rather, consider a
fully analog recording and playback system: a magnetic recorder.
In this case, the magnetic tape in the cassette “stores” the signal
acoustics in the form of variations in the intensity of magnetization,
that is, the intensity of
magnetization along the magnetic tape is proportional to the signal
original acoustics. In this sense, the trend of
magnetization is “analogous” to the trend of the acoustic signal.

The player simply transforms the variation in the magnetic field
“read” on tape in a “similar” variation of an electrical signal
which is then amplified and reproduced as an acoustic signal.

Analog – Digital

Analog  Digital

When we talk about the Internet and the current technological “machines” (mobile phone, camera, tablet, computer) we always speak of “digital” and, sometimes, we contrast this term with “analog”. But what exactly these words mean and what they refer to, many times we ignore, perhaps also because it is not relevant for us and is based on being able to use “digital” for what we need without investigating it so much.

Analog Digital

“Analog” and “digital” are terms that are constantly encountered when talking about technologies (old and new). In common sense, “analog” is associated with a meaning of “old” or “past” or “low quality”; “Digital”, on the other hand, is synonymous with “new” or “innovative” or “quality”. This common sense distinction is not true.
One thing to keep in mind when addressing these issues is that the definitions of the two terms are one thing (what do they mean, where do they come from, …) and the operational implications they have (because we use one and not the other, as the consequences, implications, results …). As if to say, one thing is the universal law of gravity (with which the sun also has to do) and another is to stay in the sun to warm up and tan.
Another thing to keep in mind is that everything that is under the Digital / Analog issue is not something of our days, its essence was not born with the advent of “new” technologies; here it is one of the oldest problems in human thought and refers to philosophical disquisitions and to the issue of “continuous” and “discrete” variables. But we won’t dwell on these.

As for the definitions. ..
First of all, we must bear in mind that when we talk about Analogue and Digital we refer to ways of representing the measure of a quantity (they are “attributes of a quantity”), to ways in which the quantities we are considering vary (such as a audio signal, a video signal, color,….).

Analogous thing is a continuously varying quantity: an analog variable can take an infinite number of values ​​(for example, the distance between two points in space can take an infinite number of values).

Digital is a quantity that varies “step by step”: a digital variable can take only a finite number of values ​​(the duration of a day; for example, it can take only one of the 85,000 values ​​if we use the “second” unit, a of the 850 thousand values ​​if we use tenths of a second or one of the 8 million and 500 thousand if we use hundredths of a second; many possibilities but still finite, determined).

We can deduce that the concept of analog can be associated with a condition of continuity, that is, in a probable path something moves by changing its location through infinite positions and defining them as infinite we exclude the possibility of being able to number them.
With digital instead, the same path would be divided into stages (steps) and even if it is very small and numerous, it would always be possible to determine the amount.

Practice

Let us now turn to the practical implications of these two ways of representing physical quantities.
Until recently, all the data with which they organized audio or video recordings, static images, data transmissions such as radio, television, telephone were organized in the form of analog signals because the instruments that detected them “. The surfaces” on which they were recorded and the channels through which they were transported were mechanical and made specifically for that type of signal, in fact, they were the same as that signal.
Let’s think about color: the colors we see in a landscape are nothing more than a well-organized set of blue, red and green lights in their infinite shades; its representation through a photograph is based on the combination of blue, red and green pigments (therefore physical objects). We can say that the representation of a landscape through a photographic print is an analog representation of reality.

With the arrival of electronics (which has to do with physical quantities transformed and processed into electrical signals), physical quantities begin to be represented through electrical signals. Initially, these electrical signals were of the analog type (electronics that use continuous signals, signals that can assume an infinite range of possible values, that is, analog signals); later and a special type of signal has been used that can assume only some values ​​among the infinitely possible, in fact it can only assume two values: the presence or absence of the signal. If we look at the basic level of any computer application we will realize that we have a very long series of numbers “one” and “zero” where “one” is the presence of the signal and “zero” its absence.
This is “digital” electronics; digital because it uses signals that are not continuous but “in jumps”.

Is analog recording better than digital?

During my training as a sound engineer, I read several times that in analog systems the sound wave, in the form of alternating current, is continuously recorded on the tape, something that does not happen in the digital environment where the sound wave is found. photographed thousands of times per second and reconstructed to some degree of approximation.

analog

“Tape recording is better from this point of view than digital recording”

Obviously I was not the only one to have taken this statement as true, since among technicians and musicians I hear it repeated often, but are we really sure that it is so? Could such outdated technology be better than the current one? Obviously not.

digital audio

From a technical point of view, analog recording suffers from a number of problems that introduce distortions and artifacts, so comparing the recorded sound with the source, the result is anything but faithful. Don’t you think so? Here are some issues that you may not have been told about analog recording.

–The flutter and the wow are oscillations that are generated during the route of the tape that, stretching between the heads, begins to vibrate like a guitar string, introducing micro-phasing and effects similar to tremolo;
–hysteresis. The metallic particles that cover the surface of the tape are quite slow and do not move from their rest state unless the magnetic field of the recording head is strong enough to polarize them. Therefore, sounds of weaker intensity are not correctly recorded, as well as high frequencies;
–maximum distortion. Transients are very fast, dynamic, and rich in high frequencies, qualities that tape cannot fully satisfy;
Background noise is an intrinsic feature of tape, to which we have tried to bypass filters with pre-emphasis and noise reduction circuitry, which in turn add more distortion;
deterioration of the material that occurs in each step and risk of self-cancellation of the material.

These aspects of analog recording, and they are just a few, are enough to make us understand that, even if we record continuously, our signal suffers many alterations.

Digital technology represents a clear improvement on many fronts, thanks to the low prices and the reliability of the instruments, capable of always guaranteeing the same performance without the need for constant maintenance.

With ever higher sample rates, 144 dB of dynamics (for 24-bit formats), and no background noise, digital audio recording allows you to truly capture sound in all its dynamic and tonal components.

–Yes, but digital is cold, analog is hot!

Seriously, the adjectives hot and cold are not appropriate terms to describe the characteristics of sound and are used incorrectly to express personal preferences and tastes.

What is generally understood by “warm sound” is the sensation of tonal enrichment that analog machines give to the audio signal in which there is less presence of high frequencies, while the adjective “cold” refers to a bare sound , raw, essential and seemingly unbalanced in favor of high frequencies.

If you want to improve the tone, it is better to use more appropriate terms, referring to digital as true copy and analog as artificial.

Which is better, analog or digital audio?

Which is better, analog or digital audio? Is there really a difference? Do you need very expensive audio equipment to make a difference? Really matters?

analog versus digital

Before we get to the heart of the matter, we should take a quick look at what makes a sound digital or analog. This is how a sound is recorded. A copy of an analog sound recording is a continuous electronic signal.

Today, advances in analog-to-digital conversion methods have improved the quality of digital recordings. Some say that there is no distinction between digital and analog mode. Others disagree, sometimes with passion. Music lovers, those who want the best possible quality in public address systems, insist that analog systems provide better sound.

What are the differences between analog and digital recordings? Read on to find out.

analog vs digital

History of digital sound.

Before the 1970s, music was recorded with analog recording equipment. The microphones they used recorded sound and generated an analog waveform that other devices could transfer directly to the appropriate medium, which was generally a magnetic tape. Assuming the musician wore reliable equipment, the recorded sound was a faithful representation of the original sound.

With digital recording, sound engineers can convert analog waveforms to digital signals. There are many different types of equipment that can be converted from analog to digital. Some studios record analog sound on the original master tape and then transfer it in digital format. Others use special equipment to record digitally directly.

The first digital recordings sacrificed fidelity, or sound quality, in favor of reliability. One of the disadvantages of the analog format is that analog media tends to wear out quickly. Vinyl records can become deformed or scratched, which can significantly affect sound quality. The magnetic tape eventually wears out and is vulnerable to magnets, which can erase or destroy the data stored on the tape. Digital media like CDs can be played indefinitely and are more durable.

Analog versus digital

Some music lovers believe that digital recordings are insufficient when it comes to accurately reproducing sound. They use complex language and jargon to describe the capabilities and flaws of an audio system. Most of his criticisms relate to the frequency of the sound.

Humans can hear sounds ranging from 20 hertz (Hz) to 20 kilohertz (kHz). The frequency of a sound wave corresponds to our perception of the tone of a sound. The higher the frequency, the higher the pitch we hear.

Audiophiles describe the sound quality of an audio system at different frequencies using terms like full, warm, and airy. A full or warm sound comes from a system that reproduces low frequencies well. An aerial sound means that the music played gives the listener the impression that the instruments are in a spacious environment and generally refers to sounds in the high frequency range.

Some music lovers say that vinyl albums are better at low frequencies, which means they provide warm sound. They claim that CDs are not as accurate in reproducing sounds in this range. Others insist that there is no detectable difference between a well-produced digital file and a vinyl in good condition.

If the artist uses an analog format to create the original recording, an analog copy is preferable. In fact, there would be no need to convert sound from analog to digital. The copy must be an exact representation of the original track. But if the artist uses digital recording, it is better to buy the album on CD.

The perception of musical quality is subjective. Two people listening to the same music, with the same equipment, may have different opinions on the quality of the recording.

Differences between analog and digital sound: analog and digital

Analog and digital signals
The sound is of course an analog signal and the analog signal is continuous. Therefore, there is no rest or interruption. Digital signals are not continuous. Specific values ​​are used to represent the information. In the case of sound, a sound wave is represented by a series of values ​​that represent pitch and volume for the duration of the recording.

Analog vs. Digital

Analog and digital signals are used to transmit information, generally through electrical signals. In these two technologies, information, such as audio or video, is transformed into electrical signals. The difference between analog and digital technologies is that in analog technology, information is translated into electrical pulses of varying amplitude. In digital technology, the translation of information is in binary format (zero or one), each bit represents two different amplitudes.

Analog vs Digital

Analog and digital signal definitions.

An analog signal is a continuous signal for which the variable characteristic of the signal (variable) is a representation of another quantity that varies in time, that is, analogous to another signal that varies in time. It differs from a digital signal in terms of small signal fluctuations that are significant.

A digital signal uses discrete (discontinuous) values. In contrast, non-digital (or analog) systems use a continuous range of values ​​to represent information. Although digital representations are discrete, the information represented can be discrete, such as numbers or letters, or continuous, such as sounds, images, and other measures of continuous systems.

Properties of digital and analog signals.

Digital information has certain properties that distinguish it from analog communication methods. These included

Synchronization: Digital communication uses specific synchronization sequences to determine synchronization.
Language: Digital communications require a language that must be the property of the sender and receiver and must specify the meaning of the symbol sequences.
Errors: disturbances in analog communication cause errors in actual planned communication, but disturbances in digital communication do not cause errors that allow error-free communication. Errors must be able to replace, insert or delete symbols to be expressed.
Copy: Analog communication copies are inferior to their originals, but due to error-free digital communication, copies can be made indefinitely.
Granularity: For a continuously variable analog value to be represented digitally, there is a quantization error that is the difference between the actual analog value and the digital representation, and this property of digital communication is called granularity.

Differences in use in equipment.

Many devices have built-in translation features ranging from analog to digital. Microphones and speakers are perfect examples of analog devices. Analog technology is cheaper, but the size of the data that can be transmitted at any given time is limited.

Digital technology has revolutionized the operation of most equipment. The data is converted into binary code and then reassembled in its original form at the point of reception. As they are easy to handle, they offer a wider range of options. Digital equipment is more expensive than analog equipment.

Analog and digital quality comparison.

Digital devices translate and reassemble data and are more likely to lose quality than analog devices. The advancement of the computer has allowed the use of error detection and correction techniques to eliminate artificial disturbances in digital signals and improve quality.

Differences in applications

Digital technology has been more effective in the cell phone industry. Analog phones became redundant despite good clarity and sound quality.

Analog technology includes natural signals like human speech. With digital technology, this human speech can be recorded and stored on a computer. Therefore, digital technology opens the way to infinite possible uses.

ANALOGUE VS DIGITAL SOUND: WHAT A DIFFERENCE?

The difference between digital and analog audio depends mainly on how the audio was recorded and stored.

Analog and Digital Audio

The analogue:

In keeping with a traditional recording technology, the analog sound experienced its golden age in the 1970s and was then attached to a magnetic tape or vinyl record. The audio signal is reproduced as faithfully as possible by copying the original audio waveform identically and continuously. As production costs are substantial, this recording model has gradually been abandoned in favor of digital.

Analogue Vs. Digital

digital:

The digital audio signal is in the form of a series of binary coded digital data, the basic language of modern computing: 0 and 1. As soon as a computer enters the audio production chain during recording or playback, the audio is digital. Sound is no longer obtained by copying the sound wave, but digitizing the sound, a process that allows the computer to decipher the sound in binary format. However, 0 and 1 do not allow you to reproduce the entire analog audio wave. To reproduce the sound, it will divide the sound wave into a series of small sound samples, each of sufficient quality separately, to artificially reproduce the sound wave.

The differences between analog and digital audio

Traditionally, we distinguish analog audio from digital audio. Before we get to the heart of the matter, it must be understood that the phenomena that surround us and which our ears perceive are all analogous.

Analog vs Digital

In a concert, for example, the sound produced by the artist’s instrument, the audience’s applause, or the spectator’s whisper is all analogous: they are continuous, that is, they give value to another without interruption and this continuously.

As soon as we want to reproduce these sounds using a recording, we have two solutions: either the signal is recorded continuously and analogously to the source, or we only record certain signal information in the Conversion of a list of predefined values. The first is said to be analog, the second is digital.

The dancer, the light and the strobe.

A good image that is often used to differentiate analog from digital audio is that of the dancer, the light and the strobe.

Imagine one dancer performing their choreography under a “normal” diffused light, and another performing the same dance but under a strobe light.

The first dance will no doubt be considered fluid and continuous, while the second is seen as uneven.

And the more you increase the speed of the strobe, the more you’ll be able to perceive the choreography fine. This is exactly what happens to digital audio: the higher the sample rate and resolution, the more faithful the audio reproduction will be.

SIGNAL PROCESSING

The analog signal varies continuously with time. Therefore, it consists of continuous variations in air pressure, and our ear, more precisely the eardrum, perceives these variations, which our brain in turn interprets as sound. How good is nature!

The analog signal which can take an infinite number of values ​​is traditionally represented as a continuous and sinusoidal curve.

In contrast, the digital signal is discontinuous and limited to a number of predefined values ​​at precise times. Therefore, it is represented schematically in the form of a histogram.

TRANSFER FROM ANALOGUE TO DIGITAL: DIGITIZATION

The transformation of the analog signal into a digital signal is called digitization.

It is actually a transformation of the vibration (analog signal) into a series of figures (digital signal), made thanks to an analog-digital converter (ADC: Analog Digital Converter).
Sampling and quantification.
ADC measures the analog signal strength at regular intervals and over an equal period of time – this is called sampling. Sampling frequency, expressed in kHz, represents the number of samples taken per day. Second.

These samples are stored in the memory of a computer and constitute an audio file which, in order to be heard by the human ear, must be converted to an analog signal: it is the role of DAC (analog digital converter).

Quantification or resolution is for each sample to measure an amplitude value.

This amplitude value is expressed in bits.

The act of converting the digital value of the amplitude into a binary value is called encoding.