class AUDIO_SOUND_GENERATOR General cluster: audio_3d description: "Class that generates sound using lists of INTEGER_16" create: make Ancestors DOUBLE_MATH Queries arc_cosine (v: REAL_64): REAL_64 arc_sine (v: REAL_64): REAL_64 arc_tangent (v: REAL_64): REAL_64 Bits_per_sample: INTEGER_32 ceiling (v: REAL_64): REAL_64 cosine (v: REAL_64): REAL_64 create_sine_wave (a_amplitude: REAL_64; a_frequency: INTEGER_32): CHAIN [INTEGER_16] create_square_wave (a_amplitude: REAL_64; a_frequency: INTEGER_32): CHAIN [INTEGER_16] create_triangle_wave (a_amplitude: REAL_64; a_frequency: INTEGER_32): CHAIN [INTEGER_16] dabs (v: REAL_64): REAL_64 Euler: REAL_64 exp (x: REAL_64): REAL_64 floor (v: REAL_64): REAL_64 log (v: REAL_64): REAL_64 log10 (v: REAL_64): REAL_64 log_2 (v: REAL_64): REAL_64 Max_amplitude: REAL_64 max_frequency: INTEGER_32 max_integer_16: INTEGER_16 max_integer_32: INTEGER_32 Min_frequency: INTEGER_32 min_integer_16: INTEGER_16 min_integer_32: INTEGER_32 Number_of_channels: INTEGER_32 Pi: REAL_64 Pi_2: REAL_64 Pi_4: REAL_64 Sample_rate: INTEGER_32 sine (v: REAL_64): REAL_64 sqrt (v: REAL_64): REAL_64 Sqrt2: REAL_64 tangent (v: REAL_64): REAL_64 Commands add_noise (a_sound: CHAIN [INTEGER_16]; a_amplitude: INTEGER_32) add_silence_from_samples (a_sound: CHAIN [INTEGER_16]; a_samples: INTEGER_32) add_silence_from_seconds (a_sound: CHAIN [INTEGER_16]; a_seconds: REAL_64) amplify_wave (a_sound: CHAIN [INTEGER_16]; a_amp_value: REAL_64) fade (a_sound: CHAIN [INTEGER_16]; a_begin_length_percentage, a_end_length_percentage, a_begin_volume_percentage, a_end_volume_percentage: REAL_64) mix (a_sound1, a_sound2: CHAIN [INTEGER_16]; a_percentage: REAL_64) print_wave (a_wave: CHAIN [INTEGER_16]) repeat_wave_from_duration (a_sound: CHAIN [INTEGER_16]; a_seconds: REAL_64) repeat_wave_from_repetitions (a_sound: CHAIN [INTEGER_16]; a_repetition: INTEGER_32) Constraints max frequency valid
Generated by ISE EiffelStudio