-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 - Exits with no errors or results #149
Comments
Hi @matbee-eth, When diart receives "speakers:9", it will interpret that as a path. You need to provide either "microphone:9" or the path to an existing file. That said, there seems to be another problem with soundfile, can you set the input to "microphone" and see if you get the same error? |
@juanmc2005 I tried a path to a file, and microphone and it similarly just quits quietly- although I am trying to monitor an audio-out device not an input device. |
Diart's not yet compatible with output devices so I don't think that will work. Although this is something I would really like to include in future versions. Have you installed portaudio, pysoundfile and ffmpeg ? Can you identify what line is blocking you in diart.sources ? |
I have all of those installed- I'm unable to identify what line is blocking me. Ive tried commenting out a plethora of code in diart.sources but the same symptom occurred- I feel its something else that my lack of python skills are of no help. If you have any bounty system I'd love to contribute. An alternative to diart capturing audio-out, I could use ffmpeg to capture and pipe the data. Has this been something you've seen done? |
@matbee-eth you could try putting a breakpoint in the beginning of
What kind of bounty system are you referring to?
I haven't seen or tries this but it looks like it could work! If you have a working example could you post it here? This could be an interesting alternative to implement a new audio source. |
@juanmc2005 is there any progress on this bug? I tried to use this in ubuntu, it failed there due to error in sample rate. Hoping that it would work in windows, tried to do the same but it shows this output and stops.
tried microphone with multiple input devices but it still wont work. Please let me know if there are any quickfixes I can do to make it work in any of the OS. |
Hi @sahith2k3, the sample rate error is a known bug. It was fixed in #153. Can you install from that PR and see if it works? |
Note that diart's inference time will suffer if your microphone doesn't support 16khz sampling. The dynamic resampling is quite slow. I added the possibility to resample on GPU, which might help with that, but the best thing will be to use a device supporting 16khz. |
when I run: diart.stream speakers:9, or execute it in a python script it simply sends a notice about sox_io, and then exits. No errors. How do I figure out what's wrong?
If I remove this line:
import diart.sources as src
I get further. But, it obviously crashes once its required.
The text was updated successfully, but these errors were encountered: