Skip to content

don't work, updates killed it ig #1

@FandaNotPhanda

Description

@FandaNotPhanda

PortAudioError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_9248\1048679471.py in
9 print (int(volume_norm))
10
---> 11 with sd.Stream(callback=print_sound):
12 sd.sleep(duration * 1000)

~\AppData\Roaming\Python\Python39\site-packages\sounddevice.py in init(self, samplerate, blocksize, device, channels, dtype, latency, extra_settings, callback, finished_callback, clip_off, dither_off, never_drop_input, prime_output_buffers_using_stream_callback)
1798
1799 """
-> 1800 _StreamBase.init(self, kind='duplex', wrap_callback='array',
1801 **_remove_self(locals()))
1802

~\AppData\Roaming\Python\Python39\site-packages\sounddevice.py in init(self, kind, samplerate, blocksize, device, channels, dtype, latency, extra_settings, callback, finished_callback, clip_off, dither_off, never_drop_input, prime_output_buffers_using_stream_callback, userdata, wrap_callback)
896 userdata = _ffi.NULL
897 self._ptr = _ffi.new('PaStream**')
--> 898 _check(_lib.Pa_OpenStream(self._ptr, iparameters, oparameters,
899 samplerate, blocksize, stream_flags,
900 callback_ptr, userdata),

~\AppData\Roaming\Python\Python39\site-packages\sounddevice.py in _check(err, msg)
2743 hosterror_text = _ffi.string(info.errorText).decode()
2744 hosterror_info = host_api, info.errorCode, hosterror_text
-> 2745 raise PortAudioError(errormsg, err, hosterror_info)
2746
2747 raise PortAudioError(errormsg, err)

PortAudioError: Error opening Stream: Unanticipated host error [PaErrorCode -9999]: 'Undefined external error.' [MME error 1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions