code
stringlengths
0
21.5M
repo_name
stringlengths
4
92
path
stringlengths
1
189
language
stringlengths
0
26
license
stringclasses
11 values
size
int64
0
21.5M
#!/bin/bash -e . util/travis/common.sh needs_compile || exit 0 if [ -z "${CLANG_TIDY}" ]; then CLANG_TIDY=clang-tidy fi files_to_analyze="$(find src/ -name '*.cpp' -or -name '*.h')" mkdir -p cmakebuild && cd cmakebuild cmake -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DRUN_IN_PLACE=TRUE \ -...
pgimeno/minetest
util/travis/clangtidy.sh
Shell
mit
860
#!/bin/bash -e set_linux_compiler_env() { if [[ "${COMPILER}" == "gcc-5.1" ]]; then export CC=gcc-5.1 export CXX=g++-5.1 elif [[ "${COMPILER}" == "gcc-6" ]]; then export CC=gcc-6 export CXX=g++-6 elif [[ "${COMPILER}" == "gcc-8" ]]; then export CC=gcc-8 export CXX=g++-8 elif [[ "${COMPILER}" == "clang-...
pgimeno/minetest
util/travis/common.sh
Shell
mit
1,432
#! /bin/bash function perform_lint() { echo "Performing LINT..." if [ -z "${CLANG_FORMAT}" ]; then CLANG_FORMAT=clang-format fi echo "LINT: Using binary $CLANG_FORMAT" CLANG_FORMAT_WHITELIST="util/travis/clang-format-whitelist.txt" files_to_lint="$(find src/ -name '*.cpp' -or -name '*.h')" local errorcount=0...
pgimeno/minetest
util/travis/lint.sh
Shell
mit
987
#!/usr/bin/env python2 # # ===- run-clang-tidy.py - Parallel clang-tidy runner ---------*- python -*--===# # # The LLVM Compiler Infrastructure # # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. # # ===-----------------------------------...
pgimeno/minetest
util/travis/run-clang-tidy.py
Python
mit
10,204
#!/bin/bash -e . util/travis/common.sh . util/travis/lint.sh needs_compile || exit 0 if [[ ! -z "${CLANG_FORMAT}" ]]; then # Lint and exit CI perform_lint exit 0 fi set_linux_compiler_env if [[ ${PLATFORM} == "Unix" ]]; then mkdir -p travisbuild cd travisbuild || exit 1 CMAKE_FLAGS='' if [[ ${TRAVIS_OS_NAM...
pgimeno/minetest
util/travis/script.sh
Shell
mit
1,867
# Target operating system name set(CMAKE_SYSTEM_NAME Windows) # Compilers to use set(CMAKE_C_COMPILER %PREFIX%-gcc) set(CMAKE_CXX_COMPILER %PREFIX%-g++) set(CMAKE_RC_COMPILER %PREFIX%-windres) # Location of the target environment set(CMAKE_FIND_ROOT_PATH %ROOTPATH%) # Adjust the default behaviour of the FIND_XXX() c...
pgimeno/minetest
util/travis/toolchain_mingw.cmake.in
in
mit
571
#!/bin/sh # Update/create minetest po files # an auxiliary function to abort processing with an optional error # message abort() { test -n "$1" && echo >&2 "$1" exit 1 } # The po/ directory is assumed to be parallel to the directory where # this script is. Relative paths are fine for us so we can just # use the fo...
pgimeno/minetest
util/updatepo.sh
Shell
mit
2,299
-- minetest.lua -- Packet dissector for the UDP-based Minetest protocol -- Copy this to $HOME/.wireshark/plugins/ -- -- Minetest -- Copyright (C) 2011 celeron55, Perttu Ahola <celeron55@gmail.com> -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Publi...
pgimeno/minetest
util/wireshark/minetest.lua
Lua
mit
45,568
.git .gitignore .dockerignore .idea
Tonypythony/audiowmark
.dockerignore
Dockerfile
mit
36
# https://rhysd.github.io/actionlint/ name: Testing on: [push] jobs: linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Test Build run: misc/dbuild.sh macos: runs-on: macos-11 steps: - uses: actions/checkout@v3 - name: Test Build run: misc/macbuild....
Tonypythony/audiowmark
.github/workflows/testing.yml
YAML
mit
323
autom4te.cache/ build-aux/ m4/ aclocal.m4 configure config.h config.h.in config.log config.status Makefile Makefile.in libtool stamp-h1
Tonypythony/audiowmark
.gitignore
Git
mit
136
FROM gcc:latest RUN apt-get update && apt-get install -y build-essential RUN apt-get install -y libfftw3-dev RUN apt-get install -y libsndfile1-dev RUN apt-get install -y automake RUN apt-get install -y autoconf RUN apt-get install -y libtool RUN apt-get install -y autoconf-archive RUN apt-get install -y libgcrypt20-d...
Tonypythony/audiowmark
Dockerfile
Dockerfile
mit
562
SUBDIRS = src tests ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = README.adoc Dockerfile
Tonypythony/audiowmark
Makefile.am
am
mit
81
Overview of Changes in audiowmark-0.6.0: * implement speed detection/correction (--detect-speed) * Add '--json' CLI option for machine readable results. Overview of Changes in audiowmark-0.5.0: * support HTTP Live Streaming for audio/video streaming * fix floating point wav input * improve command line option handli...
Tonypythony/audiowmark
NEWS
none
mit
1,262
= audiowmark - Audio Watermarking == Description `audiowmark` is an Open Source (GPL) solution for audio watermarking. A sound file is read by the software, and a 128-bit message is stored in a watermark in the output sound file. For human listeners, the files typically sound the same. However, the 128-bit message ...
Tonypythony/audiowmark
README.adoc
AsciiDoc
mit
25,642
#!/bin/bash if automake --version >/dev/null 2>&1; then : else echo "You need to have automake installed to build this package" DIE=1 fi if autoconf --version >/dev/null 2>&1; then : else echo "You need to have autoconf installed to build this package" DIE=1 fi if libtoolize --version >/dev/null 2>&1; th...
Tonypythony/audiowmark
autogen.sh
Shell
mit
763
AC_INIT([audiowmark], [0.6.0]) AC_CONFIG_SRCDIR([src/audiowmark.cc]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([foreign]) AC_PROG_CXX AC_PROG_LIBTOOL dnl dnl sndfile dnl AC_DEFUN([AC_SNDFILE_REQUIREMENTS], [ PKG_CHECK_MODULES(SNDFILE, [sndfile]) AC_S...
Tonypythony/audiowmark
configure.ac
ac
mit
2,984
FROM gcc:latest RUN apt-get update && apt-get install -y \ libgcrypt20-dev libsndfile1-dev libmpg123-dev libzita-resampler-dev \ libfftw3-dev autoconf-archive clang ADD . /audiowmark WORKDIR /audiowmark RUN misc/build.sh
Tonypythony/audiowmark
misc/Dockerfile
Dockerfile
mit
228
FROM archlinux RUN pacman -Syu --noconfirm RUN pacman -S --noconfirm \ gcc clang make automake autoconf pkg-config \ libsndfile mpg123 zita-resampler fftw autoconf-archive ADD . /audiowmark WORKDIR /audiowmark RUN misc/build.sh
Tonypythony/audiowmark
misc/Dockerfile-arch
none
mit
239
#!/bin/bash set -Eeuo pipefail build() { if [ -f "./configure" ]; then make uninstall make distclean fi echo "###############################################################################" echo "# BUILD TESTS :" echo "# CC=$CC CXX=$CXX " echo "# ./autogen.sh $@" echo "######################...
Tonypythony/audiowmark
misc/build.sh
Shell
mit
728
#!/bin/bash set -Eeuo pipefail docker build -f "misc/Dockerfile" -t audiowmark-dbuild . docker build -f "misc/Dockerfile-arch" -t audiowmark-dbuild-arch .
Tonypythony/audiowmark
misc/dbuild.sh
Shell
mit
156
#!/bin/bash set -Eeuo pipefail -x # install dependencies brew install autoconf-archive automake libsndfile fftw mpg123 libgcrypt # build zita-resampler git clone https://github.com/swesterfeld/zita-resampler cd zita-resampler cmake . make install cd .. # build audiowmark ./autogen.sh make make check
Tonypythony/audiowmark
misc/macbuild.sh
Shell
mit
304
*.o .deps/ .libs/ test/ audiowmark testconvcode testmp3 testrandom teststream testlimiter testhls testmpegts testshortcode testthreadpool
Tonypythony/audiowmark
src/.gitignore
Git
mit
138
bin_PROGRAMS = audiowmark dist_bin_SCRIPTS = videowmark COMMON_SRC = utils.hh utils.cc convcode.hh convcode.cc random.hh random.cc wavdata.cc wavdata.hh \ audiostream.cc audiostream.hh sfinputstream.cc sfinputstream.hh stdoutwavoutputstream.cc stdoutwavoutputstream.hh \ sfoutputstream.cc sfoutputstream.hh ...
Tonypythony/audiowmark
src/Makefile.am
am
mit
2,040
speed detection possible improvements: - detect silence instead of total volume? - split big region into two smaller ones? - connected search on even smaller regions? possible improvements: - dynamic bit strength - merge infinite wav header generator videowmark: opus length ffprobe -show_format phil.mkv
Tonypythony/audiowmark
src/TODO
none
mit
307
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/audiobuffer.hh
C++
mit
1,513
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/audiostream.cc
C++
mit
2,827
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/audiostream.hh
C++
mit
1,796
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/audiowmark.cc
C++
mit
25,077
#/bin/bash echo 512 $(ber-test.sh) for quality in 256 196 128 96 64 do echo $quality $(ber-test.sh double-mp3 $quality) done
Tonypythony/audiowmark
src/ber-double-mp3.sh
Shell
mit
128
#/bin/bash echo 512 $(ber-test.sh) for quality in 256 196 128 96 64 do echo $quality $(ber-test.sh mp3 $quality) done
Tonypythony/audiowmark
src/ber-mp3.sh
Shell
mit
121
#/bin/bash echo 512 $(ber-test.sh) for quality in 256 196 128 96 64 do echo $quality $(ber-test.sh ogg $quality) done
Tonypythony/audiowmark
src/ber-ogg.sh
Shell
mit
121
#!/bin/bash # set -Eeuo pipefail # -x set -Eeo pipefail TRANSFORM=$1 if [ "x$AWM_TRUNCATE" != "x" ]; then AWM_REPORT=truncv fi if [ "x$AWM_SET" == "x" ]; then AWM_SET=small fi if [ "x$AWM_SEEDS" == "x" ]; then AWM_SEEDS=0 fi if [ "x$AWM_REPORT" == "x" ]; then AWM_REPORT=fer fi if [ "x$AWM_FILE" == "x" ]; then...
Tonypythony/audiowmark
src/ber-test.sh
Shell
mit
6,096
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/convcode.cc
C++
mit
7,059
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/convcode.hh
C++
mit
1,338
for delta in 0.080 0.050 0.030 0.020 0.015 0.010 0.005 do audiowmark add "$1" --water-delta=$delta /tmp/w$delta.wav a9fcd54b25e7e863d72cd47c08af46e61 done audiowmark scale "$1" /tmp/w.orig.wav
Tonypythony/audiowmark
src/delta2wav.sh
Shell
mit
196
#!/bin/bash SEEDS="$1" MAX_SEED=$(($SEEDS - 1)) P="$2" shift 2 echo "n seeds : $SEEDS" echo "ber-test args : $@" echo "params : $P" for seed in $(seq 0 $MAX_SEED) do echo $(AWM_SEEDS=$seed AWM_PARAMS="$P" AWM_REPORT="fer" ber-test.sh "$@") done | awk '{bad += $1; files += $2; print bad, files, bad * 100....
Tonypythony/audiowmark
src/fer-test.sh
Shell
mit
332
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/fft.cc
C++
mit
2,756
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/fft.hh
C++
mit
1,335
#!/bin/bash for TEST in mp3 double-mp3 ogg do echo ".$TEST" echo '[frame="topbot",options="header",cols="12*>"]' echo '|==========================' echo -n "| " for D in $(seq 15 -1 5) do DELTA=$(printf "0.0%02d\n" $D) echo -n "| $DELTA" done echo for BITRATE in 512 256 196 128 96 64 do ...
Tonypythony/audiowmark
src/gen-fer-adoc.sh
Shell
mit
660
#!/bin/bash DELTA_RANGE="0.005 0.006 0.007 0.008 0.009 0.010 0.011 0.012 0.013 0.014 0.015" SEEDS="$(seq 0 19)" echo -n "all: " for SEED in $SEEDS do for DELTA in $DELTA_RANGE do echo -n "$DELTA-ogg-$SEED $DELTA-mp3-$SEED $DELTA-double-mp3-$SEED " done done echo echo for SEED in $SEEDS do for DELTA in $...
Tonypythony/audiowmark
src/gen-fer-mk.sh
Shell
mit
1,055
#!/bin/bash STRENGTHS="10 15 20 30" STR_CLIPS="5 10 15 20 25 30" MAIN_CLIPS="5 10 15 20 30 40 50 60" echo ".performance-by-clip-length" echo '[frame="topbot",options="header",cols="<2,8*>1"]' echo '|==========================' echo -n "| Quality " for CLIP in $MAIN_CLIPS do echo -n "| $CLIP" done echo for TEST in ...
Tonypythony/audiowmark
src/gen-short-clip-adoc.sh
Shell
mit
1,198
#!/bin/bash SEEDS=$(seq 5) STRENGTHS="10 15 20 30" STR_CLIPS="5 10 15 20 25 30" MAIN_CLIPS="5 10 15 20 30 40 50 60" MULTI_CLIP=4 echo -n "all:" for STRENGTH in $STRENGTHS do FILE="snr-$STRENGTH" echo -n " $FILE" done for SEED in $SEEDS do for STRENGTH in $STRENGTHS do for CLIP in $STR_CLIPS do ...
Tonypythony/audiowmark
src/gen-short-clip-mk.sh
Shell
mit
2,342
#!/bin/bash STRENGTHS="10 15" STR_CLIPS="6 10 15 20 25 30" QUALITIES="128 256" for LS in long short do echo ".watermarking-with-$LS-payload" echo '[frame="topbot",options="header",cols="<1,7*>1"]' echo '|==========================' echo -n "| Strength | Quality " for CLIP in $STR_CLIPS do echo -n "| ...
Tonypythony/audiowmark
src/gen-short-payload-adoc.sh
Shell
mit
738
#!/bin/bash SEEDS=$(seq 5) STRENGTHS="10 15" QUALITIES="128 256" CLIPS="6 10 15 20 25 30" MULTI_CLIP=4 echo -n "all:" for SEED in $SEEDS do for STRENGTH in $STRENGTHS do for QUALITY in $QUALITIES do for CLIP in $CLIPS do echo -n " long-$CLIP-$STRENGTH-$QUALITY-$SEED short-$CLIP-$STREN...
Tonypythony/audiowmark
src/gen-short-payload-mk.sh
Shell
mit
1,285
#!/bin/bash STRENGTHS="10 15" CLIPS="15 30" echo ".watermarking-speed" echo '[frame="topbot",options="header",cols="<1,3*<"]' echo '|==========================' echo -n "| Strength " for CLIP in $CLIPS do echo -n "| 0:$CLIP" done echo -n "| 2:45" echo for STRENGTH in $STRENGTHS do echo -n "| $STRENGTH " for C...
Tonypythony/audiowmark
src/gen-speed-adoc.sh
Shell
mit
802
#!/bin/bash SEEDS=$(seq 10) STRENGTHS="10 15" CLIPS="15 30" MODES="0 1 2" echo -n "all:" for SEED in $SEEDS do for MODE in $MODES do for STRENGTH in $STRENGTHS do # clips for CLIP in $CLIPS do echo -n " speed-$CLIP-$STRENGTH-$MODE-$SEED" done # full file echo -...
Tonypythony/audiowmark
src/gen-speed-mk.sh
Shell
mit
1,477
#!/bin/bash echo ".sync-codec-resistence" echo '[frame="topbot",options="header",cols="<2,6*>1"]' echo '|==========================' echo -n "| " for STRENGTH in $(seq 10 -1 5) do echo -n "| $STRENGTH" done echo for TEST in mp3 double-mp3 ogg do if [ $TEST == mp3 ]; then echo -n "| mp3 128kbit/s" elif [ $TES...
Tonypythony/audiowmark
src/gen-sync-adoc.sh
Shell
mit
763
#!/bin/bash STRENGTH_RANGE=$(seq 5 10) SEEDS="$(seq 0 19)" echo -n "all: " for SEED in $SEEDS do for STRENGTH in $STRENGTH_RANGE do echo -n "$STRENGTH-ogg-$SEED $STRENGTH-mp3-$SEED $STRENGTH-double-mp3-$SEED " done done echo echo for SEED in $SEEDS do for STRENGTH in $STRENGTH_RANGE do FILE="$STRE...
Tonypythony/audiowmark
src/gen-sync-mk.sh
Shell
mit
1,167
#!/bin/bash mkdir -p test if [ ! -z "$(ls test)" ]; then echo test dir not empty exit 1 fi seq=1 cat test_list | while read f do audiowmark gentest "$f" test/T$(printf "%02d__%s" $seq $(echo $f | sed 's, ,_,g;s,.*/,,g')).wav || exit 1 ((seq++)) done
Tonypythony/audiowmark
src/gen-test.sh
Shell
mit
261
#!/bin/bash TRUNCATE="60 110 245" for TRUNC in 60 110 245 do echo ".sync-codec-resistence$TRUNC" echo '[frame="topbot",options="header",cols="<2,6*>1"]' echo '|==========================' echo -n "| " for STRENGTH in $(seq 10 -1 5) do echo -n "| $STRENGTH" done echo for TEST in mp3 double-mp3 ogg do if [ $TEST ==...
Tonypythony/audiowmark
src/gen-trunc-adoc.sh
Shell
mit
839
#!/bin/bash STRENGTH_RANGE=$(seq 5 10) SEEDS="$(seq 0 19)" TRUNCATE="60 110 245" echo -n "all: " for SEED in $SEEDS do for STRENGTH in $STRENGTH_RANGE do echo -n "$STRENGTH-ogg-$SEED $STRENGTH-mp3-$SEED $STRENGTH-double-mp3-$SEED " done done echo echo for SEED in $SEEDS do for STRENGTH in $STRENGTH_RANG...
Tonypythony/audiowmark
src/gen-trunc-mk.sh
Shell
mit
1,216
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/hls.cc
C++
mit
17,209
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/hls.hh
C++
mit
1,109
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/hlsoutputstream.cc
C++
mit
14,217
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/hlsoutputstream.hh
C++
mit
3,026
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/limiter.cc
C++
mit
4,085
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/limiter.hh
C++
mit
1,500
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/mp3inputstream.cc
C++
mit
6,443
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/mp3inputstream.hh
C++
mit
1,687
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/mpegts.cc
C++
mit
9,016
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/mpegts.hh
C++
mit
1,968
# pseudo random pattern PATTERN=4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 TRANSFORM=$1 peaq_print_scores() { awk ' BEGIN { odg = "*ERROR*"; di = "*ERROR*"; } /Objective Difference Grade:/ { odg = $NF; } /Distortion Index:/ { di = $NF; } END { print odg, di ...
Tonypythony/audiowmark
src/peaq.sh
Shell
mit
753
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/random.cc
C++
mit
6,684
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/random.hh
C++
mit
2,393
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawconverter.cc
C++
mit
4,741
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawconverter.hh
C++
mit
1,187
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawinputstream.cc
C++
mit
3,513
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawinputstream.hh
C++
mit
2,384
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawoutputstream.cc
C++
mit
2,873
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/rawoutputstream.hh
C++
mit
1,505
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/resample.cc
C++
mit
3,630
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/resample.hh
C++
mit
957
SEEDS="$1" MAX_SEED=$(($SEEDS - 1)) P1="$2" P2="$3" shift 3 echo "n seeds : $SEEDS" echo "ber-test args : $@" echo "left : $P1" echo "right : $P2" for seed in $(seq 0 $MAX_SEED) do echo $(AWM_SEEDS=$seed AWM_PARAMS="$P1" ber-test.sh "$@") $(AWM_SEEDS=$seed AWM_PARAMS="$P2" ber-test.sh "$@") don...
Tonypythony/audiowmark
src/seed-test.sh
Shell
mit
479
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/sfinputstream.cc
C++
mit
7,101
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/sfinputstream.hh
C++
mit
2,106
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/sfoutputstream.cc
C++
mit
3,732
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/sfoutputstream.hh
C++
mit
1,928
all: short-60 short-60-mp3 \ short-50 short-50-mp3 \ short-40 short-40-mp3 \ short-30 short-30-mp3 \ short-20 short-20-mp3 \ short-10 short-10-mp3 short-60: AWM_FILE=t-short-60 AWM_CLIP=60 fer-test.sh 10 "" > tmp-short-60 mv tmp-short-60 short-60 short-60-mp3: AWM_FILE=t-short-60-mp3 AWM_CLIP=60 fer-test...
Tonypythony/audiowmark
src/short.mk
mk
mit
1,561
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/shortcode.cc
C++
mit
11,100
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/shortcode.hh
C++
mit
1,645
# pseudo random pattern PATTERN=4e1243bd22c66e76c2ba9eddc1f91394 for i in test/T* do echo $i $(audiowmark add $i t.wav $PATTERN $AWM_PARAMS --snr 2>&1 | grep SNR) done | awk '{s += $3; n++} END { print s/n; }'
Tonypythony/audiowmark
src/snr.sh
Shell
mit
214
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/stdoutwavoutputstream.cc
C++
mit
4,230
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/stdoutwavoutputstream.hh
C++
mit
1,516
for strength in 30 20 15 10 5 3 2 1 do echo $strength $(AWM_PARAMS="--strength=$strength" snr.sh) done
Tonypythony/audiowmark
src/strength2snr.sh
Shell
mit
105
#!/bin/bash SEEDS="$1" MAX_SEED=$(($SEEDS - 1)) P="$2" shift 2 echo "n seeds : $SEEDS" echo "ber-test args : $@" echo "params : $P" for seed in $(seq 0 $MAX_SEED) do echo $(AWM_SEEDS=$seed AWM_PARAMS="$P" AWM_REPORT="sync" ber-test.sh "$@") done | awk '{bad += $1; files += $2; print bad, files, bad * 100...
Tonypythony/audiowmark
src/sync-test.sh
Shell
mit
333
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/syncfinder.cc
C++
mit
14,639
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/syncfinder.hh
C++
mit
4,423
#!/bin/bash set -Eeo pipefail X=1 while : do echo "## $X" ./audiowmark cmp test-speed-crash.wav f0 --detect-speed --test-speed 0.9764 X=$((X + 1)) done
Tonypythony/audiowmark
src/test-speed-crash.sh
Shell
mit
159
/home/stefan/files/music/artists/air/2009__love_2/09_sing_sang_sung.flac /home/stefan/files/music/artists/jamie_cullum/the_pursuit/12_music_is_through.flac /home/stefan/files/music/artists/gotye/making_mirrors/10 - Giving Me A Chance.flac /home/stefan/files/music/artists/alice_cooper/the_definitive_alice_cooper/18_how_...
Tonypythony/audiowmark
src/test_list
none
mit
2,549
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testconvcode.cc
C++
mit
6,731
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testhls.cc
C++
mit
5,161
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testlimiter.cc
C++
mit
3,417
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testmp3.cc
C++
mit
1,778
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testmpegts.cc
C++
mit
2,534
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testrandom.cc
C++
mit
1,369
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/testshortcode.cc
C++
mit
5,562
/* * Copyright (C) 2018-2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Tonypythony/audiowmark
src/teststream.cc
C++
mit
1,553
/* * Copyright (C) 2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is ...
Tonypythony/audiowmark
src/testthreadpool.cc
C++
mit
1,108
/* * Copyright (C) 2020 Stefan Westerfeld * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is ...
Tonypythony/audiowmark
src/threadpool.cc
C++
mit
2,263