stempeg | Python I/O for STEM audio files | Audio Utils library
kandi X-RAY | stempeg Summary
kandi X-RAY | stempeg Summary
stempeg is a Python library typically used in Telecommunications, Media, Media, Entertainment, Audio, Audio Utils applications. stempeg has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install stempeg' or download it from GitHub, PyPI.
Python package to read and write STEM audio files. Technically, stems are audio containers that combine multiple audio streams and metadata in a single audio file. This makes it ideal to playback multitrack audio, where users can select the audio sub-stream during playback (e.g. supported by VLC). Under the hood, stempeg uses ffmpeg for reading and writing multistream audio, optionally MP4Box is used to create STEM files that are compatible with Native Instruments hardware and software.
Python package to read and write STEM audio files. Technically, stems are audio containers that combine multiple audio streams and metadata in a single audio file. This makes it ideal to playback multitrack audio, where users can select the audio sub-stream during playback (e.g. supported by VLC). Under the hood, stempeg uses ffmpeg for reading and writing multistream audio, optionally MP4Box is used to create STEM files that are compatible with Native Instruments hardware and software.
Support
Quality
Security
License
Reuse
Support
stempeg has a low active ecosystem.
It has 55 star(s) with 10 fork(s). There are 5 watchers for this library.
It had no major release in the last 12 months.
There are 1 open issues and 22 have been closed. On average issues are closed in 103 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of stempeg is 0.2.3
Quality
stempeg has 0 bugs and 0 code smells.
Security
stempeg has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
stempeg code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
stempeg is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
stempeg releases are available to install and integrate.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
stempeg saves you 186 person hours of effort in developing the same functionality from scratch.
It has 459 lines of code, 31 functions and 10 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed stempeg and discovered the below as its top functions. This is intended to give you an instant insight into stempeg implemented functionality, and help decide if they suit your requirements.
- The main command line interface
- Read stems from a file
- Write stems
- Read a FFmpeg file
- Read stems from a stem file
- List of audio streams
- Return the sample rate at the given index
- Returns ffmpeg version
- Wait for all tasks to finish
- Return the audio codec
- Check for available audio codecs
- Checks if ffmpeg is installed
- Find the path to a command
- Check if mp4Box exists
- Return the duration of streams in the audio stream
- Return the duration of the audio stream
- List of all channels in the audio
- Return the number of channels in the audio stream
- Number of samples in the audio stream
- Return the number of samples in the audio stream
Get all kandi verified functions for this library.
stempeg Key Features
No Key Features are available at this moment for stempeg.
stempeg Examples and Code Snippets
Copy
import stempeg
S, rate = stempeg.read_stems(stempeg.example_stem_path())
S, rate = stempeg.read_stems(stempeg.example_stem_path(), stem_id=[0, 1])
S, _ = stempeg.read_stems(stempeg.example_stem_path(), start=1, duration=1.5)
# read from second 1.0
Copy
file_path = stempeg.example_stem_path()
info = stempeg.Info(file_path)
S, _ = stempeg.read_stems(file_path, info=info)
Copy
stempeg.write_audio(path="out.mp4", data=S, sample_rate=44100.0, output_sample_rate=48000.0, codec='aac', bitrate=256000)
stempeg.write_stems(path="output.stem.mp4", data=S, sample_rate=44100, writer=stempeg.StreamsWriter())
Community Discussions
Trending Discussions on stempeg
QUESTION
cannot instal soundfile in datalab
Asked 2018-Nov-30 at 19:19
i want install sndfile to successfully install another package (musdb), but when I tried following instructions on https://cloud.google.com/datalab/docs/how-to/adding-libraries
...ANSWER
Answered 2018-Nov-30 at 19:19Datalab comes with conda ready to use in Python 2 and 3 environments. This means you should be able to get what you need with the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stempeg
stempeg relies on ffmpeg (>= 3.2 is suggested).
MacOS: use homebrew: brew install ffmpeg --with-fdk-aac
Ubuntu/Debian Linux: See installation script here.
Docker: docker pull jrottenberg/ffmpeg
If you plan to write stem files with full compatibility with Native Instruments Traktor DJ hardware and software, you need to install MP4Box.
MacOS: use homebrew: brew install gpac
Ubuntu/Debian Linux: apt-get install gpac
A) Installation via PyPI using pip. B) Installation via conda.
MacOS: use homebrew: brew install ffmpeg --with-fdk-aac
Ubuntu/Debian Linux: See installation script here.
Docker: docker pull jrottenberg/ffmpeg
If you plan to write stem files with full compatibility with Native Instruments Traktor DJ hardware and software, you need to install MP4Box.
MacOS: use homebrew: brew install gpac
Ubuntu/Debian Linux: apt-get install gpac
A) Installation via PyPI using pip. B) Installation via conda.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page