Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
audio2numpy load an audio file and directly ouputs the audio data as a numpy array and its sampling rate. Supports .wav, .aiff via python's standard library, and .mp3 via ffmpeg.
Using pip:
pip install audio2numpy
audio2numpy requires ffmpeg to decode mp3 files. You would need to install ffmpeg in order to have mp3 support.
homebrew install ffmpeg
sudo apt-get install ffmpeg
Check here for other installation methods for different Linux distributions.
C:\
C:\ffmpeg\bin
) to the PATH system variable (How do I set or change the PATH system variable?)from audio2numpy import open_audio
fp = "./examples/word.mp3" # change to the correct path to your file accordingly
signal, sampling_rate = open_audio(fp)
0.1.2 (20.08.2019)
Add instructions to install ffmpeg if load mp3 failed with ffmpeg backend not available.
0.1.1 (14.08.2019)
Initial release.
FAQs
Load audio file to numpy array
We found that audio2numpy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.