- Notifications
You must be signed in to change notification settings - Fork1
GunnarPalss/tts-exercises
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains excercises and supporting code for the course T-717-SPST at Reykjavik University. (Work in progress)
- Exercise 1: Digital Audio
- Exercise 2: Audio Manipulation
- Exercise 3: Domain Specific TTS
- Exercise 4: Script Design
- Exercise 5: Record Your Data (work in progress)
- Exercise 6: Festival in Docker (work in progress)
- Exercise 7: Ossian in AWS (work in progress)
All the code in this repository is written in Python 3. The recommended approach is to create a python virtual environment:
- Create the virtual environment with one of the following:
- macOS/Linux:
python3 -m venv .envorvirtualenv -p python3 ..env - Windows:
python -m venv ./envorpy -3 -m venv .env
- macOS/Linux:
- Activate it with
source ./env/bin/activateif you are in the project directory. Otherwise you dosource /path/to/your/environment/bin/activate.
You can however use Python in any way you see fit and perhaps you may have all the requirements already installed system wide.
Install Python requirements withpip install -r requirements.txt. You can of course install any additional python requirements usingpip, just make sure you have your virtual environment activated when you do.
To get the best experience make sure that your VS Code workspace is using the correct Python interpreter. If you are using a virtual environment then the workspace settingpython.pythonPath has to be set to/path/to/venv/bin/python. Normally VS Code takes care of doing this for you by recognizing that there is a virtual environment in the workspace. If not:
- Make sure you have the VSC Python extension installed (search for
ms-python.pythonin the extension search) - Press the settings cog in the bottom left inside VSC and select
settings. - Select
Workspace - search for
pythonpathand edit the value to point to your python interpreter as explained above.
You can read a more detailed document about python environments in VSChere.
I would recommend forking this repository before starting your work. By doing that you could easily version control your own work throughout the course. Notes:
- This repository will ignore
*.wavfiles, except for thedata/directories in assignments 1-3. If you want to track your results as well, either save them in these./datadirectories or modify the.gitignorefile. - This repository is a work in progress so when important changes are made, followthis to update your fork according to the upstream.
Each assignment has aREADME.md which includes the assignment description and what to turn in. You should return a PDF file where each question inREADME.md that is marked with(*) is answered. Try to adhere to the numbering in theREADME.md files. For example, label the answer to the first question inthis assignment as1.1. Furthermore:
- Each assignment has a
template.pyfile. This file should be included in your submission with your own code filled in as well as any other helper functions you write to generate your results. - Some assignments have an
example.pyfile that shows how to use some of the functions that are given intools.py. - In some of the assignments you are asked to generate and save waveforms to disk. In those cases, it is good to include those as well.Turn in your assignment on the Canvas page for the course.
About
Exercises for the course T-717-SPST at Reykjavik University
Resources
Uh oh!
There was an error while loading.Please reload this page.