From ac3c1af24f19e7ce89cde443fbd66aa3a8d60d1d Mon Sep 17 00:00:00 2001 From: Takenori Yoshimura Date: Mon, 26 Dec 2022 03:55:14 +0000 Subject: [PATCH 1/7] test --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index c0f6e1b5..4b63dc69 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,26 @@ The Speech Signal Processing Toolkit (SPTK) is a software for speech signal proc [![](https://github.com/sp-nitech/SPTK/workflows/build/badge.svg)](https://github.com/sp-nitech/SPTK/actions) +What is SPTK? +------------- +- SPTK consists of over 100 commands for speech signal processing. +- The data format used in SPTK is raw header-less, e.g., there is no data structure. + Thanks to the data format, we can check file contents immediately on CUI. + ```sh + data.raw | dmp +s + ``` +- The data used in the commands is passed through standard input/output. + We can chain multiple processes using pipes. + ```sh + data.raw | x2x +sd | clip | x2x +da | less + ``` +- The data type is basically little-endian double 16 bytes. +- The commands does not require interactive user inputs. + Parameters are set via command line options beforehand. + ```sh + impulse -l 4 | sopr -m 10 | x2x +da + + Documentation ------------- See [this page](https://sp-nitech.github.io/sptk/4.0/) for a reference manual. From 92dfadfd286303c24bace1d5ec4da88d910ba28f Mon Sep 17 00:00:00 2001 From: takenori-y Date: Sat, 27 May 2023 11:04:56 +0900 Subject: [PATCH 2/7] test --- .github/workflows/check-build.yml | 15 +++++++++-- make.bat | 42 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 make.bat diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 94e92b79..89146924 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -15,12 +15,13 @@ on: - '**.md' jobs: - build: + ubuntu-latest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: clone + uses: actions/checkout@v2 - name: install packages run: | sudo apt-get update @@ -33,3 +34,13 @@ jobs: run: make format - name: make test run: make test + + windows-latest: + runs-on: windows-latest + + - name: clone + uses: actions/checkout@v2 + - name: msbuild + uses: microsoft/setup-msbuild@v1.1 + - name: make + run: ./make.bat diff --git a/make.bat b/make.bat new file mode 100644 index 00000000..1db90814 --- /dev/null +++ b/make.bat @@ -0,0 +1,42 @@ +:: ------------------------------------------------------------------------ :: +:: Copyright 2021 SPTK Working Group :: +:: :: +:: Licensed under the Apache License, Version 2.0 (the "License"); :: +:: you may not use this file except in compliance with the License. :: +:: You may obtain a copy of the License at :: +:: :: +:: http://www.apache.org/licenses/LICENSE-2.0 :: +:: :: +:: Unless required by applicable law or agreed to in writing, software :: +:: distributed under the License is distributed on an "AS IS" BASIS, :: +:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. :: +:: See the License for the specific language governing permissions and :: +:: limitations under the License. :: +:: ------------------------------------------------------------------------ :: + +@echo off + +set BUILDDIR=build + +set JOBS=4 + +where /q cmake || ( + echo ERROR: Could not find cmake. + exit /b 1 +) + +where /q MSBuild || ( + echo ERROR: Could not find MSBuild. + exit /b 1 +) + +if not exist %BUILDDIR% mkdir %BUILDDIR% + +pushd %BUILDDIR% + +cmake .. -DCMAKE_INSTALL_PREFIX=.. +MSBuild -maxcpucount:%JOBS% /p:Configuration=Release INSTALL.vcxproj + +popd + +pause From 78d695b259b74a12a135d87c4548ffbb70368edd Mon Sep 17 00:00:00 2001 From: takenori-y Date: Sat, 27 May 2023 11:13:14 +0900 Subject: [PATCH 3/7] test --- .github/workflows/check-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 89146924..aad37232 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -14,6 +14,7 @@ on: - 'doc/**' - '**.md' + jobs: ubuntu-latest: From bc13195c98ca5813296d71b5e325443616b5dc4b Mon Sep 17 00:00:00 2001 From: takenori-y Date: Sat, 27 May 2023 11:16:08 +0900 Subject: [PATCH 4/7] test --- .github/workflows/check-build.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index aad37232..43db2de0 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -21,8 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: clone - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - name: install packages run: | sudo apt-get update @@ -35,13 +34,3 @@ jobs: run: make format - name: make test run: make test - - windows-latest: - runs-on: windows-latest - - - name: clone - uses: actions/checkout@v2 - - name: msbuild - uses: microsoft/setup-msbuild@v1.1 - - name: make - run: ./make.bat From f6e64ad56dfdd3838ff6cdeb05d3df7010c4ed5b Mon Sep 17 00:00:00 2001 From: takenori-y Date: Sat, 27 May 2023 11:21:48 +0900 Subject: [PATCH 5/7] test --- .github/workflows/check-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 43db2de0..f56b6fa0 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -21,7 +21,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: clone + uses: actions/checkout@v2 - name: install packages run: | sudo apt-get update @@ -34,3 +35,9 @@ jobs: run: make format - name: make test run: make test + + windows-latest: + runs-on: windows-latest + + - name: clone + uses: actions/checkout@v2 From ea9f96fb7a735b74f6b5c1d613674148ba16c595 Mon Sep 17 00:00:00 2001 From: takenori-y Date: Sat, 27 May 2023 11:23:04 +0900 Subject: [PATCH 6/7] test --- .github/workflows/check-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index f56b6fa0..c85aae9d 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -39,5 +39,10 @@ jobs: windows-latest: runs-on: windows-latest + steps: - name: clone uses: actions/checkout@v2 + - name: msbuild + uses: microsoft/setup-msbuild@v1.1 + - name: make + run: ./make.bat From daf0eb5681151a9ce5a2d7a4f7fa6e287f9f361a Mon Sep 17 00:00:00 2001 From: takenori-y Date: Mon, 16 Dec 2024 17:59:17 +0900 Subject: [PATCH 7/7] test --- .github/workflows/check-build.yml | 17 ----------------- tools/Makefile | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index c85aae9d..aeb077e3 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -29,20 +29,3 @@ jobs: sudo apt-get install csh parallel valgrind - name: setup run: cd tools; make check -j 4 - - name: make - run: make - - name: make format - run: make format - - name: make test - run: make test - - windows-latest: - runs-on: windows-latest - - steps: - - name: clone - uses: actions/checkout@v2 - - name: msbuild - uses: microsoft/setup-msbuild@v1.1 - - name: make - run: ./make.bat diff --git a/tools/Makefile b/tools/Makefile index 3242f82a..17585bf7 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -20,7 +20,7 @@ JOBS := 4 all: check doxygen.done -check: venv_dev bats.done shellcheck.done sptk.done +check: sptk.done venv: @if type virtualenv > /dev/null 2>&1; then \