Functions

  char_buffer_util_copy_buffer_to_buffer (destination, dchannels, doffset, source, schannels, soffset, frame_count, byte_order, word_size, mode)
  char_buffer_util_copy_cbuffer_to_double (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_float (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_s16 (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_s24 (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_s32 (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_s64 (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_cbuffer_to_s8 (destination, dchannels, source, word_size, schannels, frame_count, byte_order)
  char_buffer_util_copy_double_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_float_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_s16_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_s24_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_s32_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_s64_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  char_buffer_util_copy_s8_to_cbuffer (destination, word_size, dchannels, source, schannels, frame_count, byte_order)
  diatonic_scale_midi_key_to_note (key, note)
  diatonic_scale_note_to_midi_key (note, key)
  fast_pitch_util_compute_complex (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_double (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_float (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_s16 (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_s24 (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_s32 (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_s64 (buffer, buffer_length, samplerate, base_key, tuning)
  fast_pitch_util_compute_s8 (buffer, buffer_length, samplerate, base_key, tuning)
  fm_synth_util_impulse (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_complex (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_double (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_float (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_impulse_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_complex (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_double (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_float (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sawtooth_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_complex (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_double (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_float (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_sin_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_complex (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_double (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_float (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_square_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_complex (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_double (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_float (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fm_synth_util_triangle_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
  fourier_transform_util_compute_stft_complex (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_double (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_float (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_s16 (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_s24 (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_s32 (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_s64 (buffer, channels, buffer_length, retval)
  fourier_transform_util_compute_stft_s8 (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_complex (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_double (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_float (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_s16 (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_s24 (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_s32 (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_s64 (buffer, channels, buffer_length, retval)
  fourier_transform_util_inverse_stft_s8 (buffer, channels, buffer_length, retval)
  fx_analyse_channel_input_data_alloc ()
  fx_analyse_channel_input_data_free (input_data)
  fx_analyse_channel_input_data_get_strct_mutex (input_data)
  fx_buffer_channel_input_data_alloc ()
  fx_buffer_channel_input_data_free (input_data)
  fx_buffer_channel_input_data_get_strct_mutex (input_data)
  fx_eq10_channel_input_data_alloc ()
  fx_eq10_channel_input_data_free (input_data)
  fx_factory_create (audio, play_container, recall_container, plugin_name, filename, effect, start_audio_channel, stop_audio_channel, start_pad, stop_pad, position, create_flags, recall_flags)
  lfo_synth_util_impulse (buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
  lfo_synth_util_impulse_complex (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_double (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_float (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_s16 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_s24 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_s32 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_s64 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_impulse_s8 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth (buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
  lfo_synth_util_sawtooth_complex (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_double (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_float (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_s16 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_s24 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_s32 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_s64 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sawtooth_s8 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin (buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
  lfo_synth_util_sin_complex (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_double (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_float (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_s16 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_s24 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_s32 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_s64 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_sin_s8 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square (buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
  lfo_synth_util_square_complex (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_double (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_float (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_s16 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_s24 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_s32 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_s64 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_square_s8 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle (buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
  lfo_synth_util_triangle_complex (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_double (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_float (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_s16 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_s24 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_s32 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_s64 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lfo_synth_util_triangle_s8 (buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
  lv2_option_ressource_alloc ()
  lv2_port_preset_alloc (port_symbol, port_type)
  lv2_port_preset_free (lv2_port_preset)
  mid_file_read_midi (midi_file)
  midi_builder_header_alloc ()
  midi_builder_header_free (midi_builder_header)
  midi_builder_track_alloc ()
  midi_builder_track_free (midi_builder_track)
  osc_buffer_util_get_blob (buffer, data_size, data)
  osc_buffer_util_get_bundle (buffer, tv_secs, tv_fraction, immediately)
  osc_buffer_util_get_char (buffer, val)
  osc_buffer_util_get_double (buffer, val)
  osc_buffer_util_get_float (buffer, val)
  osc_buffer_util_get_int32 (buffer, val)
  osc_buffer_util_get_int64 (buffer, val)
  osc_buffer_util_get_message (buffer, address_pattern, type_tag)
  osc_buffer_util_get_midi (buffer, port, status_byte, data0, data1)
  osc_buffer_util_get_packet (buffer, packet_size, packet)
  osc_buffer_util_get_rgba (buffer, r, g, b, a)
  osc_buffer_util_get_string (buffer, str, length)
  osc_buffer_util_get_timetag (buffer, tv_secs, tv_fraction, immediately)
  osc_buffer_util_put_blob (buffer, data_size, data)
  osc_buffer_util_put_bundle (buffer, tv_secs, tv_fraction, immediately)
  osc_buffer_util_put_char (buffer, val)
  osc_buffer_util_put_double (buffer, val)
  osc_buffer_util_put_float (buffer, val)
  osc_buffer_util_put_int32 (buffer, val)
  osc_buffer_util_put_int64 (buffer, val)
  osc_buffer_util_put_message (buffer, address_pattern, type_tag)
  osc_buffer_util_put_midi (buffer, port, status_byte, data0, data1)
  osc_buffer_util_put_packet (buffer, packet_size, packet)
  osc_buffer_util_put_rgba (buffer, r, g, b, a)
  osc_buffer_util_put_string (buffer, str, length)
  osc_buffer_util_put_timetag (buffer, tv_secs, tv_fraction, immediately)
  osc_builder_bundle_alloc (offset)
  osc_builder_bundle_free (bundle)
  osc_builder_message_alloc (offset)
  osc_builder_message_free (message)
  osc_builder_packet_alloc (offset)
  osc_builder_packet_free (packet)
  osc_meter_controller_monitor_alloc ()
  osc_meter_controller_monitor_free (monitor)
  osc_meter_controller_monitor_ref (monitor)
  osc_meter_controller_monitor_unref (monitor)
  osc_util_meta_data (uri, meta_data_length)
  osc_util_mime_header (uri, mime_header_length)
  osc_util_slip_decode (slip_buffer, slip_buffer_length, returned_buffer_length)
  osc_util_slip_encode (osc_buffer, buffer_length, returned_buffer_length)
  osc_util_timetag_now (tv_sec, tv_fraction)
  osc_util_type_tag_string_count_type (type_tag)
  recall_handler_alloc (signal_name, callback, data)
  recall_handler_free (recall_handler)
  sequencer_util_get_obj_mutex (sequencer)
  sf2_synth_util_copy (buffer, buffer_size, ipatch_sample, note, volume, samplerate, audio_buffer_util_format, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_complex (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_double (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_float (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_s16 (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_s24 (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_s32 (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_s64 (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sf2_synth_util_copy_s8 (buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy (buffer, buffer_size, sfz_sample, note, volume, samplerate, audio_buffer_util_format, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_complex (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_double (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_float (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_s16 (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_s24 (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_s32 (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_s64 (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  sfz_synth_util_copy_s8 (buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
  soundcard_util_adjust_delay_and_attack (soundcard)
  soundcard_util_get_obj_mutex (soundcard)
  stream_alloc (buffer_size, format)
  stream_free (buffer)
  stream_slice_alloc (buffer_size, format)
  stream_slice_free (buffer_size, format, buffer)
  synth_util_get_xcross_count (buffer, audio_buffer_util_format, buffer_size)
  synth_util_get_xcross_count_complex (buffer, buffer_size)
  synth_util_get_xcross_count_double (buffer, buffer_size)
  synth_util_get_xcross_count_float (buffer, buffer_size)
  synth_util_get_xcross_count_s16 (buffer, buffer_size)
  synth_util_get_xcross_count_s24 (buffer, buffer_size)
  synth_util_get_xcross_count_s32 (buffer, buffer_size)
  synth_util_get_xcross_count_s64 (buffer, buffer_size)
  synth_util_get_xcross_count_s8 (buffer, buffer_size)
  synth_util_impulse (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
  synth_util_impulse_complex (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_double (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_float (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_impulse_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
  synth_util_sawtooth_complex (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_double (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_float (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sawtooth_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
  synth_util_sin_complex (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_double (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_float (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_sin_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
  synth_util_square_complex (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_double (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_float (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_square_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle (buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
  synth_util_triangle_complex (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_double (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_float (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_s16 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_s24 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_s32 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_s64 (buffer, freq, phase, volume, samplerate, offset, n_frames)
  synth_util_triangle_s8 (buffer, freq, phase, volume, samplerate, offset, n_frames)

Details

AgsAudio.char_buffer_util_copy_buffer_to_buffer(destination, dchannels, doffset, source, schannels, soffset, frame_count, byte_order, word_size, mode)
Parameters:
AgsAudio.char_buffer_util_copy_cbuffer_to_double(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (float) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to double buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_float(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (float) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to float buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_s16(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to gint16 buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_s24(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to gint32 buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_s32(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to gint32 buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_s64(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to gint64 buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_cbuffer_to_s8(destination, dchannels, source, word_size, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • word_size (int) – word size
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy str to gint8 buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_double_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (float) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy double to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_float_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (float) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy float to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_s16_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy gint16 to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_s24_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy gint32 to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_s32_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy gint32 to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_s64_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy gint64 to str buffer.

New in version 3.0.0.

AgsAudio.char_buffer_util_copy_s8_to_cbuffer(destination, word_size, dchannels, source, schannels, frame_count, byte_order)
Parameters:
  • destination (int) – destination buffer
  • word_size (int) – word size
  • dchannels (int) – destination channels
  • source (int) – source buffer
  • schannels (int) – source channels
  • frame_count (int) – frame count
  • byte_order (int) – the byte-order

Copy gint8 to str buffer.

New in version 3.0.0.

AgsAudio.diatonic_scale_midi_key_to_note(key, note)
Parameters:
  • key (int) – MIDI key
  • note (str) – return location of note name
Returns:

the number of chars written

Return type:

int

Convert MIDI key to note name and store in note.

New in version 3.0.0.

AgsAudio.diatonic_scale_note_to_midi_key(note, key)
Parameters:
  • note (str) – the note name
  • key (int) – return location of MIDI key
Returns:

the number of chars read

Return type:

int

Convert note to MIDI key and store in key.

New in version 3.0.0.

AgsAudio.fast_pitch_util_compute_complex(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_double(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_float(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_s16(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_s24(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_s32(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_s64(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fast_pitch_util_compute_s8(buffer, buffer_length, samplerate, base_key, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_length (int) – the buffer’s length
  • samplerate (int) – the samplerate
  • base_key (float) – the base key
  • tuning (float) – the tuning

Apply pitch filter.

New in version 3.6.2.

AgsAudio.fm_synth_util_impulse(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_complex(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_double(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_float(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_s16(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_s24(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_s32(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_s64(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_impulse_s8(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate impulse wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_complex(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_double(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_float(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_s16(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_s24(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_s32(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_s64(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sawtooth_s8(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sawtooth wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_complex(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_double(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_float(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_s16(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_s24(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_s32(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_s64(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_sin_s8(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate sin wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_complex(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_double(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_float(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_s16(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_s24(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_s32(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_s64(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_square_s8(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate square wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_complex(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_double(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_float(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_s16(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_s24(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_s32(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_s64(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fm_synth_util_triangle_s8(buffer, freq, phase, volume, samplerate, offset, n_frames, lfo_osc_mode, lfo_freq, lfo_depth, tuning)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • lfo_osc_mode (int) – the LFO’s oscillator mode
  • lfo_freq (float) – the LFO’s frequency
  • lfo_depth (float) – the LFO’s depth
  • tuning (float) – the tuninig

Generate frequency modulate triangle wave.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_complex(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.6.0.

AgsAudio.fourier_transform_util_compute_stft_double(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (float) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_float(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (float) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_s16(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (int) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_s24(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (int) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_s32(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (int) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_s64(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (int) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_compute_stft_s8(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (int) – the audio buffer
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_complex(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (Ags.Complex) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.6.0.

AgsAudio.fourier_transform_util_inverse_stft_double(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (float) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_float(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (float) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_s16(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (int) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_s24(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (int) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_s32(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (int) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_s64(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (int) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fourier_transform_util_inverse_stft_s8(buffer, channels, buffer_length, retval)
Parameters:
  • buffer (Ags.Complex) – the complex data
  • channels (int) – number of audio channels
  • buffer_length (int) – the buffer’s length
  • retval (int) – the return location of result

Compute inverse fourier transform of buffer.

New in version 3.0.0.

AgsAudio.fx_analyse_channel_input_data_alloc()
Returns:the new AgsAudio.FxAnalyseChannelInputData-struct
Return type:object or None

Allocate AgsAudio.FxAnalyseChannelInputData-struct

New in version 3.3.0.

AgsAudio.fx_analyse_channel_input_data_free(input_data)
Parameters:input_data (object or None) – the AgsAudio.FxAnalyseChannelInputData-struct

Free input_data.

New in version 3.3.0.

AgsAudio.fx_analyse_channel_input_data_get_strct_mutex(input_data)
Parameters:input_data (object or None) – the AgsAudio.FxAnalyseChannelInputData
Returns:the GLib.RecMutex to lock input_data
Return type:object or None

Get structure mutex.

New in version 3.3.0.

AgsAudio.fx_buffer_channel_input_data_alloc()
Returns:the new AgsAudio.FxBufferChannelInputData-struct
Return type:object or None

Allocate AgsAudio.FxBufferChannelInputData-struct

New in version 3.3.0.

AgsAudio.fx_buffer_channel_input_data_free(input_data)
Parameters:input_data (object or None) – the AgsAudio.FxBufferChannelInputData-struct

Free input_data.

New in version 3.3.0.

AgsAudio.fx_buffer_channel_input_data_get_strct_mutex(input_data)
Parameters:input_data (object or None) – the AgsAudio.FxBufferChannelInputData
Returns:the GLib.RecMutex to lock input_data
Return type:object or None

Get structure mutex.

New in version 3.3.0.

AgsAudio.fx_eq10_channel_input_data_alloc()
Returns:the new AgsAudio.FxEq10ChannelInputData-struct
Return type:object or None

Allocate AgsAudio.FxEq10ChannelInputData-struct

New in version 3.3.0.

AgsAudio.fx_eq10_channel_input_data_free(input_data)
Parameters:input_data (object or None) – the AgsAudio.FxEq10ChannelInputData-struct

Free input_data.

New in version 3.3.0.

AgsAudio.fx_factory_create(audio, play_container, recall_container, plugin_name, filename, effect, start_audio_channel, stop_audio_channel, start_pad, stop_pad, position, create_flags, recall_flags)
Parameters:
Returns:

The GLib.List-struct containing AgsAudio.Recall

Return type:

[AgsAudio.Recall]

Instantiate AgsAudio.Recall by this factory.

New in version 3.3.0.

AgsAudio.lfo_synth_util_impulse(buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_complex(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_double(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_float(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_s16(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_s24(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_s32(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_s64(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_impulse_s8(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • depth (float) – the depth of the impulse wave
  • tuning (float) – the tuning of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using impulse wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth(buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_complex(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_double(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_float(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_s16(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_s24(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_s32(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_s64(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sawtooth_s8(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • depth (float) – the depth of the sawtooth wave
  • tuning (float) – the tuning of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sawtooth wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin(buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sin wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_complex(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_double(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_float(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_s16(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_s24(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_s32(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_s64(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_sin_s8(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • depth (float) – the depth of the sin wave
  • tuning (float) – the tuning of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using sinus wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square(buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_complex(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_double(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_float(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_s16(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_s24(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_s32(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_s64(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_square_s8(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • depth (float) – the depth of the square wave
  • tuning (float) – the tuning of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using square wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle(buffer, freq, phase, depth, tuning, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_complex(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_double(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_float(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_s16(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_s24(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_s32(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_s64(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lfo_synth_util_triangle_s8(buffer, freq, phase, depth, tuning, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • depth (float) – the depth of the triangle wave
  • tuning (float) – the tuning of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

LFO using triangle wave.

New in version 3.0.0.

AgsAudio.lv2_option_ressource_alloc()
Returns:the newly created AgsAudio.Lv2OptionRessource-struct
Return type:object or None

Allocate an AgsAudio.Lv2OptionRessource.

New in version 3.0.0.

AgsAudio.lv2_port_preset_alloc(port_symbol, port_type)
Parameters:
  • port_symbol (str) – the port symbol
  • port_type (GObject.GType) – the port type
Returns:

the new AgsAudio.Lv2PortPreset-struct.

Return type:

object or None

Allocated AgsAudio.Lv2PortPreset-struct.

New in version 3.0.0.

AgsAudio.lv2_port_preset_free(lv2_port_preset)
Parameters:lv2_port_preset (object or None) – the AgsAudio.Lv2PortPreset-struct

Free lv2_port_preset.

New in version 3.0.0.

AgsAudio.mid_file_read_midi(midi_file)
Parameters:midi_file (AgsAudio.MidiFile) –
AgsAudio.midi_builder_header_alloc()
Returns:the newly allocated AgsAudio.MidiBuilderHeader-struct
Return type:object or None

Allocate MIDI builder header.

New in version 3.0.0.

AgsAudio.midi_builder_header_free(midi_builder_header)
Parameters:midi_builder_header (object or None) – the AgsAudio.MidiBuilderHeader-struct

Free MIDI builder header.

New in version 3.0.0.

AgsAudio.midi_builder_track_alloc()
Returns:the newly allocated AgsAudio.MidiBuilderTrack-struct
Return type:object or None

Allocate MIDI builder track.

New in version 3.0.0.

AgsAudio.midi_builder_track_free(midi_builder_track)
Parameters:midi_builder_track (object or None) – the AgsAudio.MidiBuilderTrack-struct

Free MIDI builder track.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_blob(buffer, data_size, data)
Parameters:
  • buffer (int) – the unsigned str buffer
  • data_size (int) – the return location of blob’s data size
  • data (int) – the return location of blob’s data

Get data from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_bundle(buffer, tv_secs, tv_fraction, immediately)
Parameters:
  • buffer (int) – the unsigned str buffer
  • tv_secs (int) – return location of number of seconds since midnight on January 1, 1900
  • tv_fraction (int) – return location of fraction of seconds to a precision of about 200 picoseconds
  • immediately (bool) – return location of if True apply immediately, otherwise False not immediately

Get bundle from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_char(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (str) – the return location of ASCII str

Get val from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_double(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (float) – the return location of double floating point value

Get val from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_float(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (float) – the float value

Get val from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_int32(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (int) – return location of the 32 bit integer value

Get val from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_int64(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (int) – the return location of 64 bit integer

Get val from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_message(buffer, address_pattern, type_tag)
Parameters:
  • buffer (int) – the unsigned str buffer
  • address_pattern (str) – return location of the address pattern
  • type_tag (str) – return location of the type tag

Get message heading from buffer. Note you have to get following arguments yourself.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_midi(buffer, port, status_byte, data0, data1)
Parameters:
  • buffer (int) – the unsigned str buffer
  • port (int) – the return location of port
  • status_byte (int) – the return location of status byte
  • data0 (int) – the return location of first piece of data
  • data1 (int) – the return location of second piece of data

Get MIDI from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_packet(buffer, packet_size, packet)
Parameters:
  • buffer (int) – the unsigned str buffer
  • packet_size (int) – the return location of packet’s size
  • packet (int) – the return location of packet

Get packet from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_rgba(buffer, r, g, b, a)
Parameters:
  • buffer (int) – the unsigned str buffer
  • r (int) – the return location of red value
  • g (int) – the return location of green value
  • b (int) – the return location of blue value
  • a (int) – the return location of alpha value

Get RGBA color specified by r, g, b and a from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_string(buffer, str, length)
Parameters:
  • buffer (int) – the unsigned str buffer
  • str (str) – the return location of ASCII string
  • length (int) – the return location of bytes read

Get str from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_get_timetag(buffer, tv_secs, tv_fraction, immediately)
Parameters:
  • buffer (int) – the unsigned str buffer
  • tv_secs (int) – return location of number of seconds since midnight on January 1, 1900
  • tv_fraction (int) – return location of fraction of seconds to a precision of about 200 picoseconds
  • immediately (bool) – return location of if True apply immediately, otherwise False not immediately

Get timetag specified by tv_secs, tv_fraction and immediately from buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_blob(buffer, data_size, data)
Parameters:
  • buffer (int) – the unsigned str buffer
  • data_size (int) – the blob’s data size
  • data (int) – the blob’s data

Put data to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_bundle(buffer, tv_secs, tv_fraction, immediately)
Parameters:
  • buffer (int) – the unsigned str buffer
  • tv_secs (int) – number of seconds since midnight on January 1, 1900
  • tv_fraction (int) – fraction of seconds to a precision of about 200 picoseconds
  • immediately (bool) – if True apply immediately, otherwise False not immediately

Put bundle to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_char(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (int) – the ASCII str

Put val to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_double(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (float) – the double floating point value

Put val to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_float(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (float) – the float value

Put val to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_int32(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (int) – the 32 bit integer value

Put val in buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_int64(buffer, val)
Parameters:
  • buffer (int) – the unsigned str buffer
  • val (int) – the 64 bit integer

Put val to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_message(buffer, address_pattern, type_tag)
Parameters:
  • buffer (int) – the unsigned str buffer
  • address_pattern (str) – the address pattern
  • type_tag (str) – the type tag

Put message heading to buffer. Note you have to put following arguments yourself.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_midi(buffer, port, status_byte, data0, data1)
Parameters:
  • buffer (int) – the unsigned str buffer
  • port (int) – the port
  • status_byte (int) – the status byte
  • data0 (int) – the first piece of data
  • data1 (int) – the second piece of data

Put MIDI to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_packet(buffer, packet_size, packet)
Parameters:
  • buffer (int) – the unsigned str buffer
  • packet_size (int) – the packet’s size
  • packet (int) – the packet

Put packet to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_rgba(buffer, r, g, b, a)
Parameters:
  • buffer (int) – the unsigned str buffer
  • r (int) – the red value
  • g (int) – the green value
  • b (int) – the blue value
  • a (int) – the alpha value

Put RGBA color specified by r, g, b and a to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_string(buffer, str, length)
Parameters:
  • buffer (int) – the unsigned str buffer
  • str (str) – the ASCII string
  • length (int) – the length to write or -1 to write until null byte

Put str to buffer.

New in version 3.0.0.

AgsAudio.osc_buffer_util_put_timetag(buffer, tv_secs, tv_fraction, immediately)
Parameters:
  • buffer (int) – the unsigned str buffer
  • tv_secs (int) – number of seconds since midnight on January 1, 1900
  • tv_fraction (int) – fraction of seconds to a precision of about 200 picoseconds
  • immediately (bool) – if True apply immediately, otherwise False not immediately

Put timetag specified by tv_secs, tv_fraction and immediately to buffer.

New in version 3.0.0.

AgsAudio.osc_builder_bundle_alloc(offset)
Parameters:offset (int) – the current offset
Returns:the newly allocated AgsAudio.OscBuilderBundle-struct
Return type:object or None

Allocate AgsAudio.OscBuilderBundle-struct.

New in version 3.0.0.

AgsAudio.osc_builder_bundle_free(bundle)
Parameters:bundle (object or None) – the AgsAudio.OscBuilderBundle-struct

Free bundle.

New in version 3.0.0.

AgsAudio.osc_builder_message_alloc(offset)
Parameters:offset (int) – the current offset
Returns:the newly allocated AgsAudio.OscBuilderMessage-struct
Return type:object or None

Allocate AgsAudio.OscBuilderMessage-struct.

New in version 3.0.0.

AgsAudio.osc_builder_message_free(message)
Parameters:message (object or None) – the AgsAudio.OscBuilderMessage-struct

Free message.

New in version 3.0.0.

AgsAudio.osc_builder_packet_alloc(offset)
Parameters:offset (int) – the current offset
Returns:the newly allocated AgsAudio.OscBuilderPacket-struct
Return type:object or None

Allocate AgsAudio.OscBuilderPacket-struct.

New in version 3.0.0.

AgsAudio.osc_builder_packet_free(packet)
Parameters:packet (object or None) – the AgsAudio.OscBuilderPacket-struct

Free packet.

New in version 3.0.0.

AgsAudio.osc_meter_controller_monitor_alloc()
Returns:the newly allocate AgsAudio.OscMeterControllerMonitor-struct
Return type:object or None

Allocate AgsAudio.OscMeterControllerMonitor-struct.

New in version 3.0.0.

AgsAudio.osc_meter_controller_monitor_free(monitor)
Parameters:monitor (object or None) – the AgsAudio.OscMeterControllerMonitor-struct

Free monitor.

New in version 3.0.0.

AgsAudio.osc_meter_controller_monitor_ref(monitor)
Parameters:monitor (object or None) – the AgsAudio.OscMeterControllerMonitor-struct

Increase reference count of monitor.

New in version 3.0.0.

AgsAudio.osc_meter_controller_monitor_unref(monitor)
Parameters:monitor (object or None) – the AgsAudio.OscMeterControllerMonitor-struct

Decrease reference count of monitor. If ref count is less or equal 0 monitor is freed.

New in version 3.0.0.

AgsAudio.osc_util_meta_data(uri, meta_data_length)
Parameters:
  • uri (str) – the URI
  • meta_data_length (int) – the return location of meta data’s length
Returns:

the byte array containing meta data

Return type:

int

Get meta data.

New in version 3.0.0.

AgsAudio.osc_util_mime_header(uri, mime_header_length)
Parameters:
  • uri (str) – the URI
  • mime_header_length (int) – the return location of MIME header’s length
Returns:

the byte array containing MIME header

Return type:

int

Get MIME header.

New in version 3.0.0.

AgsAudio.osc_util_slip_decode(slip_buffer, slip_buffer_length, returned_buffer_length)
Parameters:
  • slip_buffer (int) – the SLIP encoded OSC buffer
  • slip_buffer_length (int) – the buffer length of SLIP encoded OSC buffer
  • returned_buffer_length (int) – the returned buffer’s length
Returns:

the OSC buffer as byte array

Return type:

int

Decode slip_buffer from SLIP encoded format. See SLIP (RFC1055).

New in version 3.0.0.

AgsAudio.osc_util_slip_encode(osc_buffer, buffer_length, returned_buffer_length)
Parameters:
  • osc_buffer (int) – the OSC buffer
  • buffer_length (int) – the OSC buffer’s length
  • returned_buffer_length (int) – the returned buffer’s length
Returns:

the encoded byte array

Return type:

int

Encode osc_buffer to be suitable for network transmission. See SLIP (RFC1055).

New in version 3.0.0.

AgsAudio.osc_util_timetag_now(tv_sec, tv_fraction)
Parameters:
  • tv_sec (int) – the return location of number of seconds since midnight on January 1, 1900
  • tv_fraction (int) – the return location of fraction of seconds to a precision of about 200 picoseconds

Get current time.

New in version 3.0.0.

AgsAudio.osc_util_type_tag_string_count_type(type_tag)
Parameters:type_tag (str) – the type tag string
Returns:the count of types specified
Return type:int

Count types in type_tag.

New in version 3.0.0.

AgsAudio.recall_handler_alloc(signal_name, callback, data)
Parameters:
Returns:

the newly allocated AgsAudio.RecallHandler-struct

Return type:

object or None

Allocates AgsAudio.RecallHandler-struct.

New in version 3.0.0.

AgsAudio.recall_handler_free(recall_handler)
Parameters:recall_handler (object or None) – the AgsAudio.RecallHandler-struct

Free recall_hanlder.

New in version 3.0.0.

AgsAudio.sequencer_util_get_obj_mutex(sequencer)
Parameters:sequencer (GObject.Object) – the GObject.Object sub-type implementing Ags.Soundcard
Returns:GLib.RecMutex pointer
Return type:GLib.RecMutex

Get object mutex of sequencer.

New in version 3.0.0.

AgsAudio.sf2_synth_util_copy(buffer, buffer_size, ipatch_sample, note, volume, samplerate, audio_buffer_util_format, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (object or None) – the audio buffer
  • buffer_size (int) – the buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – the loop start
  • loop_end (int) – the loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_complex(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_double(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_float(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_s16(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_s24(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_s32(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_s64(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sf2_synth_util_copy_s8(buffer, buffer_size, ipatch_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • ipatch_sample (AgsAudio.IpatchSample) – the AgsAudio.IpatchSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy(buffer, buffer_size, sfz_sample, note, volume, samplerate, audio_buffer_util_format, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (object or None) – the audio buffer
  • buffer_size (int) – the buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – the loop start
  • loop_end (int) – the loop end

Generate Soundfont2 wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_complex(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_double(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_float(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (float) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_s16(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_s24(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_s32(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_s64(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.sfz_synth_util_copy_s8(buffer, buffer_size, sfz_sample, note, volume, samplerate, offset, n_frames, loop_mode, loop_start, loop_end)
Parameters:
  • buffer (int) – the audio buffer
  • buffer_size (int) – the audio buffer size
  • sfz_sample (AgsAudio.SFZSample) – the AgsAudio.SFZSample
  • note (float) – the note
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames
  • loop_mode (int) – the loop mode
  • loop_start (int) – loop start
  • loop_end (int) – loop end

Generate SFZ wave.

New in version 3.4.0.

AgsAudio.soundcard_util_adjust_delay_and_attack(soundcard)
Parameters:soundcard (GObject.Object) – the GObject.Object sub-type implementing Ags.Soundcard

Adjust delay and attack of soundcard.

New in version 3.3.0.

AgsAudio.soundcard_util_get_obj_mutex(soundcard)
Parameters:soundcard (GObject.Object) – the GObject.Object sub-type implementing Ags.Soundcard
Returns:GLib.RecMutex pointer
Return type:GLib.RecMutex

Get object mutex of soundcard.

New in version 3.0.0.

AgsAudio.stream_alloc(buffer_size, format)
Parameters:
  • buffer_size (int) – the buffer size
  • format (int) – the format
Returns:

the audio data array

Return type:

object or None

Allocs an audio buffer.

New in version 3.0.0.

AgsAudio.stream_free(buffer)
Parameters:buffer (object or None) – the buffer

Frees an audio buffer.

New in version 3.0.0.

AgsAudio.stream_slice_alloc(buffer_size, format)
Parameters:
  • buffer_size (int) – the buffer size
  • format (int) – the format
Returns:

the audio data array

Return type:

object or None

Allocs an audio buffer.

New in version 3.3.0.

AgsAudio.stream_slice_free(buffer_size, format, buffer)
Parameters:
  • buffer_size (int) – the buffer size
  • format (int) – the format
  • buffer (object or None) – the buffer

Frees an audio buffer.

New in version 3.3.0.

AgsAudio.synth_util_get_xcross_count(buffer, audio_buffer_util_format, buffer_size)
Parameters:
  • buffer (object or None) – the buffer containing audio data
  • audio_buffer_util_format (int) – the audio buffer util format
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_complex(buffer, buffer_size)
Parameters:
  • buffer (Ags.Complex) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_double(buffer, buffer_size)
Parameters:
  • buffer (float) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_float(buffer, buffer_size)
Parameters:
  • buffer (float) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_s16(buffer, buffer_size)
Parameters:
  • buffer (int) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_s24(buffer, buffer_size)
Parameters:
  • buffer (int) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_s32(buffer, buffer_size)
Parameters:
  • buffer (int) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_s64(buffer, buffer_size)
Parameters:
  • buffer (int) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_get_xcross_count_s8(buffer, buffer_size)
Parameters:
  • buffer (int) – the buffer containing audio data
  • buffer_size (int) – the buffer size
Returns:

the count of zero-crossings

Return type:

int

Get zero-cross count.

New in version 3.0.0.

AgsAudio.synth_util_impulse(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_complex(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_double(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_float(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_s16(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_s24(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_s32(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_s64(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_impulse_s8(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the impulse wave
  • phase (float) – the phase of the impulse wave
  • volume (float) – the volume of the impulse wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate impulse wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_complex(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_double(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_float(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_s16(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_s24(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_s32(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_s64(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sawtooth_s8(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sawtooth wave
  • phase (float) – the phase of the sawtooth wave
  • volume (float) – the volume of the sawtooth wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sawtooth wave.

New in version 3.0.0.

AgsAudio.synth_util_sin(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sin wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_complex(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_double(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_float(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_s16(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_s24(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_s32(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_s64(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_sin_s8(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the sin wave
  • phase (float) – the phase of the sin wave
  • volume (float) – the volume of the sin wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate sinus wave.

New in version 3.0.0.

AgsAudio.synth_util_square(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_complex(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_double(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_float(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_s16(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_s24(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_s32(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_s64(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_square_s8(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the square wave
  • phase (float) – the phase of the square wave
  • volume (float) – the volume of the square wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate square wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle(buffer, freq, phase, volume, samplerate, audio_buffer_util_format, offset, n_frames)
Parameters:
  • buffer (object or None) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • audio_buffer_util_format (int) – the audio data format
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_complex(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (Ags.Complex) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_double(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_float(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (float) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_s16(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_s24(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_s32(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_s64(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.

AgsAudio.synth_util_triangle_s8(buffer, freq, phase, volume, samplerate, offset, n_frames)
Parameters:
  • buffer (int) – the audio buffer
  • freq (float) – the frequency of the triangle wave
  • phase (float) – the phase of the triangle wave
  • volume (float) – the volume of the triangle wave
  • samplerate (int) – the samplerate
  • offset (int) – start frame
  • n_frames (int) – generate n frames

Generate triangle wave.

New in version 3.0.0.