06-24-2011 12:32 PM
this is what I want to do:
" In the compression algorithm, each segment of 2048 samples is transformed using thefast Fourier transform. The coefficients are then thresholded, that is to say set to zerocoefficients below the threshold chosen.
The Fourier coefficients of high frequency are rejected, and are the coefficients of low frequencies that are used for reconstruction. "
06-24-2011 12:38 PM
As I already said, make a small table that contains the location, magntude and phase of the non-zero components and save to file. Then make a mirror operation that reconstructs the signal from this data later. All the tools are already there.
06-24-2011 01:03 PM
What you are describing is filtering, not compression. Some data compression could be involved but the description does not indicate that it is.
What are you doing with the data after reconstruction? What is the goal or purpose of the "compression?"
Do you understand the theory of sampled data systems and Fourier transforms?
Lynn
06-24-2011 03:30 PM
So how can I do to compress a signal?
06-24-2011 05:36 PM
hello,
here an example of how to do a compression
but play the game , what is the goal of this application ?
is it an home work ?
Regards
Tinnitus
06-24-2011 07:19 PM
sigma10,
tinnitus showed how amplitude or reduced dynamic range compression works, the result at least. Is that what you want?
Or, do you want to reduce the storage space as MP3 uses less space than a CD with the same musical performance?
Lynn
06-25-2011 03:06 AM
yes exactly I want to reduce storage space.
06-25-2011 03:20 AM
tinnitus: I made three reduction program images in MATLAB but I am still beginner inLabview is why I ask for help from you. and thank you very much anyway.
and thank you to johnsold & Altenbach
06-25-2011 08:30 AM
Hello,
I see,
Ok you want to reduce space storage , but you don't expalin the methodyou want to use or it not appears so clear
may be mp3 algo could be ok , just adapt your txt in a wav format and use a mp3 encoder ...
regards
Tinnitus
06-25-2011 02:35 PM
hello
That's what I found in the literature but it is in french?