godot-4.4 #1
|
@ -99,7 +99,7 @@ func _on_wav_button_pressed() -> void:
|
||||||
# save wav
|
# save wav
|
||||||
var wav := AudioStreamWAV.new()
|
var wav := AudioStreamWAV.new()
|
||||||
wav.format = AudioStreamWAV.FORMAT_8_BITS
|
wav.format = AudioStreamWAV.FORMAT_8_BITS
|
||||||
wav.mix_rate = sample_hz
|
wav.mix_rate = int(sample_hz)
|
||||||
wav.stereo = false
|
wav.stereo = false
|
||||||
wav.data = data
|
wav.data = data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue