Skip to content

Commit

Permalink
Merge pull request #24 from seyong92/main
Browse files Browse the repository at this point in the history
update to 0.3.7
  • Loading branch information
seyong92 committed Sep 13, 2023
2 parents d201074 + c97918b commit 5b72892
Show file tree
Hide file tree
Showing 111 changed files with 3,204 additions and 18,457 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,14 +29,14 @@ jobs:
sudo apt-get install libsndfile1-dev
python -m pip install --upgrade pip
python -m pip install poetry flake8 pytest
poetry install
poetry install --no-root
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 ./pytsmod --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 ./pytsmod --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
poetry run pytest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ poetry.lock
dist
.vscode
.ipynb_checkpoints
.pytest_cache
.venv
__pycache__
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
![license](https://img.shields.io/github/license/KAIST-MACLab/PyTSMod.svg)
![downloads](https://img.shields.io/pypi/dm/pytsmod.svg)

PyTSMod is a open-source library for Time-Scale Modification algorithms in Python 3. PyTSMod contains basic TSM algorithms such as Overlap-Add (OLA), Waveform-Similarity Overlap-Add (WSOLA), Time-Domain Pitch-Synchronous Overlap-Add (TD-PSOLA), and Phase Vocoder (PV-TSM). We are also planning to add more TSM algorithms and pitch shifting algorithms.
PyTSMod is an open-source library for Time-Scale Modification algorithms in Python 3. PyTSMod contains basic TSM algorithms such as Overlap-Add (OLA), Waveform-Similarity Overlap-Add (WSOLA), Time-Domain Pitch-Synchronous Overlap-Add (TD-PSOLA), and Phase Vocoder (PV-TSM). We are also planning to add more TSM algorithms and pitch shifting algorithms.

Full documentation is available on <https://pytsmod.readthedocs.io>

Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo → docs/build/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 9f893f4b48a2045fc2ca8356eadbae1d
config: 9eca3db2664a2903f563dbdb0ecdcd24
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file added docs/build/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/build/.doctrees/modules.doctree
Binary file not shown.
Binary file added docs/build/.doctrees/pytsmod.console.doctree
Binary file not shown.
Binary file added docs/build/.doctrees/pytsmod.doctree
Binary file not shown.
Binary file added docs/build/.doctrees/pytsmod.utils.doctree
Binary file not shown.
20 changes: 20 additions & 0 deletions docs/build/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. PyTSMod documentation master file, created by
sphinx-quickstart on Wed Sep 13 20:17:23 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to PyTSMod's documentation!
===================================

.. toctree::
:maxdepth: 2
:caption: Contents:



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 7 additions & 0 deletions docs/build/_sources/modules.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pytsmod
=======

.. toctree::
:maxdepth: 4

pytsmod
21 changes: 21 additions & 0 deletions docs/build/_sources/pytsmod.console.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pytsmod.console package
=======================

Submodules
----------

pytsmod.console.console module
------------------------------

.. automodule:: pytsmod.console.console
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: pytsmod.console
:members:
:undoc-members:
:show-inheritance:
70 changes: 70 additions & 0 deletions docs/build/_sources/pytsmod.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
pytsmod package
===============

Subpackages
-----------

.. toctree::
:maxdepth: 4

pytsmod.console
pytsmod.utils

Submodules
----------

pytsmod.hptsm module
--------------------

.. automodule:: pytsmod.hptsm
:members:
:undoc-members:
:show-inheritance:

pytsmod.olatsm module
---------------------

.. automodule:: pytsmod.olatsm
:members:
:undoc-members:
:show-inheritance:

pytsmod.pvtsm module
--------------------

.. automodule:: pytsmod.pvtsm
:members:
:undoc-members:
:show-inheritance:

pytsmod.solatsm module
----------------------

.. automodule:: pytsmod.solatsm
:members:
:undoc-members:
:show-inheritance:

pytsmod.tdpsolatsm module
-------------------------

.. automodule:: pytsmod.tdpsolatsm
:members:
:undoc-members:
:show-inheritance:

pytsmod.wsolatsm module
-----------------------

.. automodule:: pytsmod.wsolatsm
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: pytsmod
:members:
:undoc-members:
:show-inheritance:
37 changes: 37 additions & 0 deletions docs/build/_sources/pytsmod.utils.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
pytsmod.utils package
=====================

Submodules
----------

pytsmod.utils.stft module
-------------------------

.. automodule:: pytsmod.utils.stft
:members:
:undoc-members:
:show-inheritance:

pytsmod.utils.validate module
-----------------------------

.. automodule:: pytsmod.utils.validate
:members:
:undoc-members:
:show-inheritance:

pytsmod.utils.win module
------------------------

.. automodule:: pytsmod.utils.win
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: pytsmod.utils
:members:
:undoc-members:
:show-inheritance:
73 changes: 44 additions & 29 deletions docs/build/html/_static/basic.css → docs/build/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -222,7 +222,7 @@ table.modindextable td {
/* -- general body styles --------------------------------------------------- */

div.body {
min-width: 450px;
min-width: 360px;
max-width: 800px;
}

Expand All @@ -237,16 +237,6 @@ a.headerlink {
visibility: hidden;
}

a.brackets:before,
span.brackets > a:before{
content: "[";
}

a.brackets:after,
span.brackets > a:after {
content: "]";
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
Expand Down Expand Up @@ -335,12 +325,16 @@ p.sidebar-title {
font-weight: bold;
}

nav.contents,
aside.topic,
div.admonition, div.topic, blockquote {
clear: left;
}

/* -- topics ---------------------------------------------------------------- */

nav.contents,
aside.topic,
div.topic {
border: 1px solid #ccc;
padding: 7px;
Expand Down Expand Up @@ -379,13 +373,17 @@ div.body p.centered {

div.sidebar > :last-child,
aside.sidebar > :last-child,
nav.contents > :last-child,
aside.topic > :last-child,
div.topic > :last-child,
div.admonition > :last-child {
margin-bottom: 0;
}

div.sidebar::after,
aside.sidebar::after,
nav.contents::after,
aside.topic::after,
div.topic::after,
div.admonition::after,
blockquote::after {
Expand Down Expand Up @@ -428,10 +426,6 @@ table.docutils td, table.docutils th {
border-bottom: 1px solid #aaa;
}

table.footnote td, table.footnote th {
border: 0 !important;
}

th {
text-align: left;
padding-right: 5px;
Expand Down Expand Up @@ -615,19 +609,26 @@ ul.simple p {
margin-bottom: 0;
}

dl.footnote > dt,
dl.citation > dt {
aside.footnote > span,
div.citation > span {
float: left;
margin-right: 0.5em;
}

dl.footnote > dd,
dl.citation > dd {
aside.footnote > span:last-of-type,
div.citation > span:last-of-type {
padding-right: 0.5em;
}
aside.footnote > p {
margin-left: 2em;
}
div.citation > p {
margin-left: 4em;
}
aside.footnote > p:last-of-type,
div.citation > p:last-of-type {
margin-bottom: 0em;
}

dl.footnote > dd:after,
dl.citation > dd:after {
aside.footnote > p:last-of-type:after,
div.citation > p:last-of-type:after {
content: "";
clear: both;
}
Expand All @@ -644,10 +645,6 @@ dl.field-list > dt {
padding-right: 5px;
}

dl.field-list > dt:after {
content: ":";
}

dl.field-list > dd {
padding-left: 0.5em;
margin-top: 0em;
Expand All @@ -673,6 +670,16 @@ dd {
margin-left: 30px;
}

.sig dd {
margin-top: 0px;
margin-bottom: 0px;
}

.sig dl {
margin-top: 0px;
margin-bottom: 0px;
}

dl > dd:last-child,
dl > dd:last-child > :last-child {
margin-bottom: 0;
Expand Down Expand Up @@ -741,6 +748,14 @@ abbr, acronym {
cursor: help;
}

.translated {
background-color: rgba(207, 255, 207, 0.2)
}

.untranslated {
background-color: rgba(255, 207, 207, 0.2)
}

/* -- code displays --------------------------------------------------------- */

pre {
Expand Down
Loading

0 comments on commit 5b72892

Please sign in to comment.