home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / fftgraph / ReadMe < prev   
Text File  |  1995-09-20  |  3KB  |  84 lines

  1. FFT package
  2. ——————————————————
  3.  
  4. License :
  5. —————————
  6. You can do anything you want with this program except sell it, or part of it,
  7. pretend you wrote it and distribute part of it. 
  8.  
  9. Introduction :
  10. —————————————
  11. I wrote this program for the study of the bats ultrasonic emissions and as I
  12. didn't found any program making a precise frequency analysis, I went to the
  13. task to write them. I believe they are accurate and reasonably fast though a
  14. FPA would be a good help for long samples. Because I don't have one, I wrote
  15. the programs so that they could also be used in command line to have the
  16. opportunity to launch an obey file before to go watching the late show
  17. movie. My intention was to be able to study the graphs on screen but,
  18. because of the awful slowness of Draw, at least with an ARM3, I use it to
  19. print the graphs instead. If anyone of you knows of a faster vectorial program
  20. than Draw, please,let me know.
  21.  
  22. Description
  23. ———————————
  24. FFT_2D
  25. −−−−−−
  26. The FFT_2 application will perform a Fourier transform (frequency analysis)
  27. on the Armadeus formatted file at its input, using the Hanning windowing
  28. technique, which is reasonably adequate for bursts. It outputs a Draw file of
  29. the graph in the ^._draw.InputFileName. This is configurable in the Desc file
  30. or amendable in the command line. The x-axis of the graph represent the
  31. frequencies and the y-axis a normalized level.
  32.  
  33. A zero offset correction can be applied to the sound sample to cancel the
  34. mistuning of the sampler board. My sound sampler has a permanent offset, so I
  35. had to include it to avoid huge DC components. If yours is well tuned, this
  36. function is useless.
  37.  
  38. The scale factor was build for my purpose because I record the signals on a
  39. high speed recorder and feed the Archimedes with the signal played back at
  40. one fifth (or one tenth) of the original speed. This function corrects the
  41. scaling of frequency and time on the graphs. I don't know if it could be of
  42. any use for other purposes but I left it as 1 is also a value.
  43.  
  44. FFT_3d
  45. −−−−−−
  46. This is basically the same program as FFT_2d. The difference is the 3d graph
  47. output. Option 3D outputs a graph with time along x-axis, frequency along
  48. y-axis and level is deflection. Option Sonogram  outputs a graph with time
  49. along x-axis, frequency along y-axis and level is black level. The size of
  50. the window is configurable, Hanning is applied to that window and a
  51. (WindowSize/4) overlap is done.
  52.  
  53. Known problems
  54. ——————————————
  55. none, so far, but…
  56.  
  57. Miscellaneous:
  58. ——————————————
  59.     For both programs, you will find one burst sample of a pipistrellus pipistrellus inside the application in the directory _sample. The relative graphs will be found in the directory _draw.
  60.     The Armadeus format is : 
  61.         one unsigned char =  sampling rate * 1E-6
  62.         n   signed char   =  samples values
  63.  
  64. Warnings
  65. ————————
  66. - For those of you who will compile the program, be warned that C5 produces
  67. an executable that builds an bad Draw file. If someone could tell me why.
  68. I'm serious.
  69.  
  70. - The program evolution reports are not printed at the expected times. Again,
  71. if someone have a suggestion.
  72.  
  73. - Draw is very, very slow. What can I do ?
  74.  
  75.  
  76. I would appreciate feedback at <pdelcham@ulb.ac.be>
  77. If you improve the program in any way, take the time to send me a copy of it.
  78.  
  79. Wed 20th September 1995
  80. Daniel Aronovitch
  81. 37, rue de la Constitution
  82. B - 1030 Bruxelles
  83. Belgium
  84.