stempeg | Python I/O for STEM audio files | Audio Utils library

 by   faroit Python Version: 0.2.3 License: MIT

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              stempeg has a low active ecosystem.
              It has 55 star(s) with 10 fork(s). There are 5 watchers for this library.
              OutlinedDot
              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

            kandi-Quality Quality

              stempeg has 0 bugs and 0 code smells.

            kandi-Security 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.

            kandi-License 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.

            kandi-Reuse 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

            stempeg = stems + ffmpeg,Usage,Reading audio
            Pythondot img1Lines of Code : 5dot img1License : Permissive (MIT)
            copy iconCopy
            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   
            stempeg = stems + ffmpeg,F.A.Q
            Pythondot img2Lines of Code : 3dot img2License : Permissive (MIT)
            copy iconCopy
            file_path = stempeg.example_stem_path()
            info = stempeg.Info(file_path)
            S, _ = stempeg.read_stems(file_path, info=info)
              
            stempeg = stems + ffmpeg,Usage,Writing audio
            Pythondot img3Lines of Code : 2dot img3License : Permissive (MIT)
            copy iconCopy
            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:19

            Datalab 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:

            Source https://stackoverflow.com/questions/53461012

            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.

            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:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install stempeg

          • CLONE
          • HTTPS

            https://github.com/faroit/stempeg.git

          • CLI

            gh repo clone faroit/stempeg

          • sshUrl

            git@github.com:faroit/stempeg.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Audio Utils Libraries

            howler.js

            by goldfire

            fingerprintjs

            by fingerprintjs

            Tone.js

            by Tonejs

            AudioKit

            by AudioKit

            sonic-pi

            by sonic-pi-net

            Try Top Libraries by faroit

            CountNet

            by faroitPython

            dsdtools

            by faroitPython

            freezefx

            by faroitJupyter Notebook

            commonfate

            by faroitPython