Skip to content
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

Python 3.7 compatibility and Port Audio Error #29

Merged
merged 7 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@

You can visualize the real-time speaker diarization of an audio stream with the built-in demo script.

## Set up PortAudio on Local Windows Environment

Refer sounddevice docs : https://python-sounddevice.readthedocs.io/en/0.4.4/

PortAudio Docs : http://portaudio.com/docs/v19-doxydocs/tutorial_start.html


juanmc2005 marked this conversation as resolved.
Show resolved Hide resolved
## To set up PortAudio on Google Colab Running on Python 3.7 (As of 10th MARCH 2022) :


`!apt install libasound2-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg
`

juanmc2005 marked this conversation as resolved.
Show resolved Hide resolved
### Stream a recorded conversation

```shell
Expand Down
4 changes: 3 additions & 1 deletion src/diart/functional.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from typing import Union, Optional, List, Literal, Iterable, Tuple
from typing import Union, Optional, List, Iterable, Tuple
from typing_extensions import Literal
juanmc2005 marked this conversation as resolved.
Show resolved Hide resolved


import numpy as np
import torch
Expand Down