Contents Menu Expand Light mode Dark mode Auto light/dark mode
Babycat documentation
Light Logo Dark Logo
  • Home

API Documentation

  • Rust Docs (docs.rs)
  • Python Docs
    • build_info
      • .compiled_with_filesystem()
      • .compiled_with_multithreading()
      • .compiled_with_ffmpeg()
      • .compiled_with_ffmpeg_link_static()
      • .compiled_with_ffmpeg_build_link_static()
      • .copyright_license_spdx()
      • .babycat_version()
    • batch
      • .waveforms_from_files()
      • .waveforms_from_files_into_numpys()
      • .waveforms_from_files_into_numpys_unwrapped()
    • Waveform
      • .frame_rate_hz
      • .num_channels
      • .num_frames
      • .get_sample()
      • .get_unchecked_sample()
      • .from_frames_of_silence()
      • .from_milliseconds_of_silence()
      • .from_interleaved_samples()
      • .from_numpy()
      • .from_encoded_bytes()
      • .from_encoded_bytes_into_numpy()
      • .from_file()
      • .from_file_into_numpy()
      • .resample()
      • .resample_by_mode()
      • .to_interleaved_samples()
      • .to_numpy()
      • .to_wav_buffer()
      • .to_wav_file()
    • WaveformNamedResult
    • NumPyNamedResult
    • exceptions
    • resample_mode
  • WebAssembly Docs
    • BuildInfo
      • .compiledWithFilesystem()
      • .compiledWithMultithreading()
      • .compiledWithFFmpeg()
      • .compiledWithFFmpegLinkStatic()
      • .compiledWithFFmpegBuildLinkStatic()
      • .copyrightLicenseSPDX()
      • .babycatVersion()
    • Waveform
      • .frameRateHz()
      • .numChannels()
      • .numFrames()
      • .getSample()
      • .getUncheckedSample
      • .fromFramesOfSilence()
      • .fromMillisecondsOfSilence()
      • .fromEncodedArray()
      • .fromEncodedArrayWithHint()
      • .resample()
      • .resampleByMode()
      • .toInterleavedSamples()
      • .toWavBuffer()
  • C Docs
    • babycat_build_info
      • babycat_build_info_compiled_with_filesystem()
      • babycat_build_info_compiled_with_multithreading()
      • babycat_build_info_compiled_with_ffmpeg()
      • babycat_build_info_compiled_with_ffmpeg_link_static()
      • babycat_build_info_compiled_with_ffmpeg_build_link_static()
      • babycat_build_info_copyright_license_spdx()
      • babycat_build_info_version()
    • babycat_WaveformArgs
      • babycat_waveform_args_init_default()
    • babycat_Waveform
      • babycat_waveform_free()
      • babycat_waveform_get_frame_rate_hz()
      • babycat_waveform_get_num_channels()
      • babycat_waveform_get_num_frames()
      • babycat_waveform_get_num_samples()
      • babycat_waveform_get_unchecked_sample()
      • babycat_waveform_to_interleaved_samples()
      • babycat_waveform_from_frames_of_silence()
      • babycat_waveform_from_milliseconds_of_silence()
      • babycat_waveform_from_encoded_bytes()
      • babycat_waveform_from_file()
      • babycat_waveform_resample()
      • babycat_waveform_resample_by_mode()
    • babycat_WaveformResult

Tutorials

  • Terminology
  • Development requirements
  • Using Babycat
  • Contributing to Babycat

Releases

  • Babycat on GitHub
  • Rust (crates.io)
  • Python (pypi.org)
  • WebAssembly (npmjs.org)

babycat.batch¶

This submodule contains functions for decoding/demuxing multiple audio files in parallel. Parallelism is achieved using multithreadinrg in Rust, which means that decoding will not be slowed down by the Python Global Interpreter Lock (GIL).

Decoding audio¶

  • .waveforms_from_files()
  • .waveforms_from_files_into_numpys()
  • .waveforms_from_files_into_numpys_unwrapped()
Next
babycat.batch.waveforms_from_files()
Previous
babycat.build_info.babycat_version()
Copyright © Neocrym Records Inc.

  • Neocrym.com
  • Shop
  • Careers
  • Privacy
  • Security
  • Do Not Sell My Personal Information
Contents
  • babycat.batch
    • Decoding audio