Juan Coria

Results 52 comments of Juan Coria

Hi @chanleii, Your question is very similar to #67. I think the same answer applies. To summarize: the audio source you need is not implemented, you should implement your own...

Hi @ckliao-nccu, I see you're instantiating `AudioSource`, which is an abstract class. You should always use a concrete audio source. The ones that diart provides (as of today) are: `FileAudioSource`,...

@ckliao-nccu ok it looks like your implementation should be working. 1. How is the code failing? Is `dops.regularize_stream()` getting executed? Does the pipeline hang or throw an error? Where does...

Ok so the progress bar is showing and it's being updated (if I understand correctly). Have you inspected the chunks you're giving to the pipeline? Try using this: ```python self.observable...

@ckliao-nccu would it help your use case if diart provided a `WebsocketAudioSource` that handles the websocket server loop? or would that be incompatible with what you're trying to achieve?

> visualize_annotation doesn't plot anything. I just realized there was a typo in the code snippet I sent, it should be "annotation" and not "ann". > Of course it will...

Yes the errors are normal. It's because we've removed the chunk or annotation with the starmap operator and `RTTMWriter` is expecting both. > My new question is that is there...

@ckliao-nccu I just added an experimental `WebSocketAudioSource` in the `feat/ws` branch. You can take a look at it [here](https://github.com/juanmc2005/StreamingSpeakerDiarization/blob/feat/ws/src/diart/sources.py#L230). Would you mind experimenting with it and telling me if you...

Happy to hear it works! Let me know if you run into any troubles with it. I'll make sure to include it in the next release. > But I have...

Closing this because websockets are now implemented in #77 and recently merged to develop. TCP/UDP compatibility (already mentioned in #67) has been pushed to the next release (v0.6)