Dependencies
Here are the modules Krajjat uses to run properly.
Scipy
- SciPy is used for:
Reading and writing .wav files, using scipy.io.wavfile.read and scipy.io.wavfile.write
Getting the audio envelope using a hilbert transform, using scipy.signal.hilbert
Applying band-pass filters, using scipy.signal.butter and scipy.signal.lfilter
Saving files in .mat format (Matlab), using scipy.io.savemat
Interpolating data using the scipy.interpolate.interp1d function
Numpy
- NumPy is used to handle large arrays for faster computation:
Note
The Audio object uses ndarrays by default for all of its values. In a future version of the toolbox, it is planned to turn the lists in Sequence and Pose to ndarrays for faster computation.
Matplotlib and Seaborn
Matplotlib is used for plotting the data in graphs, while Seaborn is used to make the graphs looking more attractive.
Openpyxl
openpyxl is used for opening and saving files in .xlsx (Excel format).
Parselmouth
To complete.
Pygame
To complete.
cv2
To complete.
FFmpeg
FFmpeg is necessary in order to generate videos with
display_functions.save_video_sequence()
.
Warning
FFmpeg is not used as a Python module, but rather needs to be installed on your computer. While an installation of Krajjat using pip will install the other dependencies, you still need to manually install FFmpeg if you plan on using the toolbox to generate videos.