Pydub API Documentation ...............................................................................................................................1
AudioSegment() ...................................................................................................................................................1
AudioSegment(…).from_file() ..................................................................................................................2
AudioSegment(…).export() ......................................................................................................................3
AudioSegment.empty() ............................................................................................................................4
AudioSegment.silent() ..............................................................................................................................5
AudioSegment.from_mono_audiosegments() ..................................................................................5
AudioSegment(…).dBFS ............................................................................................................................5
AudioSegment(…).channels ....................................................................................................................5
AudioSegment(…).sample_width ...........................................................................................................6
AudioSegment(…).frame_rate ................................................................................................................6
AudioSegment(…).frame_width .............................................................................................................6
AudioSegment(…).rms ..............................................................................................................................6
AudioSegment(…).max .............................................................................................................................7
AudioSegment(…).max_dBFS ..................................................................................................................7
AudioSegment(…).duration_seconds ...................................................................................................7
AudioSegment(…).raw_data ....................................................................................................................7
AudioSegment(…).frame_count() ..........................................................................................................7
AudioSegment(…).append() ....................................................................................................................8
AudioSegment(…).overlay() .....................................................................................................................8
AudioSegment(…).apply_gain(gain) .....................................................................................................9
AudioSegment(…).fade() ....................................................................................................................... 10
AudioSegment(…).fade_out() ............................................................................................................... 10
AudioSegment(…).fade_in() .................................................................................................................. 11
AudioSegment(…).reverse() .................................................................................................................. 11
AudioSegment(…).set_sample_width() ............................................................................................. 11
AudioSegment(…).set_frame_rate() ................................................................................................... 11
AudioSegment(…).set_channels() ....................................................................................................... 11
AudioSegment(…).split_to_mono() .................................................................................................... 11
AudioSegment(…).apply_gain_stereo() ............................................................................................ 12
AudioSegment(…).pan() ........................................................................................................................ 12
AudioSegment(…).get_array_of_samples() ...................................................................................... 12
AudioSegment(…).get_dc_offset() ...................................................................................................... 13
AudioSegment(…).remove_dc_offset() ............................................................................................. 14
AudioSegment(…).invert_phase() ....................................................................................................... 14
Silence ......................................................................................................................................................... 14
silence.detect_silence() ................................................................................................................. 14
silence.detect_nonsilent() ............................................................................................................ 15
silence.split_on_silence() .............................................................................................................. 15
silence.detect_leading_silence() ................................................................................................. 15