Skip to content

Adding artificial CFO, SFO, AWGN and multipath propagation to real and analytic signals.

License

Notifications You must be signed in to change notification settings

aicodix/disorders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulating a Carrier frequency offset by mixing the Analytic signal with an Numerically controlled oscillator.

If the input is a real signal, the Discrete Hilbert transform is used to get the analytic signal and only the real part is used as output after mixing.

Add an CFO of 23.5 Hz:

./cfo output.wav input.wav 23.5

Simulating a Sampling frequency offset by Resampling the sampled data.

Add an SFO of -15 ppm:

./sfo output.wav input.wav -15

Simulating Additive white Gaussian noise.

Add -34dB of AWGN:

./awgn output.wav input.wav -34

Simulating Multipath propagation by summing the Analytic signal with delayed, attenuated and phase shifted versions of itself.

If the input is a real signal, the Discrete Hilbert transform is used to get the analytic signal and only the real part is used as output after summing.

Read paths from table multipath.txt and use a Rician factor of 10dB:

./multipath output.wav input.wav multipath.txt 10

The table contains rows of each extra path and its amplitude, time delay in milliseconds and phase shift in radians.

Example table entries generated using Room Impulse Response tool.

About

Adding artificial CFO, SFO, AWGN and multipath propagation to real and analytic signals.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published