Permalink
Browse files

Initial commit

  • Loading branch information...
Sebastian Ritterbusch Sebastian Ritterbusch
Sebastian Ritterbusch authored and Sebastian Ritterbusch committed Mar 8, 2016
0 parents commit 865ff19f897c9082ca7e9f43a4c6e82a9e9bc952
Showing with 7,319 additions and 0 deletions.
  1. +2,425 −0 Doxyfile
  2. +21 −0 LICENSE
  3. +22 −0 Makefile
  4. +65 −0 README.md
  5. +59 −0 Release/makefile
  6. +8 −0 Release/objects.mk
  7. +27 −0 Release/sources.mk
  8. +69 −0 Release/src/subdir.mk
  9. BIN documentation/.DS_Store
  10. 0 footer.html
  11. BIN images/crosstalk-example.png
  12. BIN images/factor-result.png
  13. BIN images/leveler-result.png
  14. BIN images/normalize-result.png
  15. BIN images/skip-result.png
  16. BIN images/xfilter-result.png
  17. BIN images/xgate-result.png
  18. +8 −0 makefile.targets
  19. BIN ospac-internal.pdf
  20. +164 −0 ospac.1
  21. +198 −0 src/Channel.cpp
  22. +159 −0 src/Channel.h
  23. +447 −0 src/CrosstalkFilter.cpp
  24. +97 −0 src/CrosstalkFilter.h
  25. +105 −0 src/CrosstalkGate.cpp
  26. +50 −0 src/CrosstalkGate.h
  27. +52 −0 src/Equalizer.cpp
  28. +48 −0 src/Equalizer.h
  29. +119 −0 src/Frequency.cpp
  30. +45 −0 src/Frequency.h
  31. +50 −0 src/Log.cpp
  32. +113 −0 src/Log.h
  33. +135 −0 src/Maximizer.cpp
  34. +94 −0 src/Maximizer.h
  35. +107 −0 src/Merge.cpp
  36. +46 −0 src/Merge.h
  37. +43 −0 src/MonoMix.cpp
  38. +45 −0 src/MonoMix.h
  39. +805 −0 src/OspacMain.cpp
  40. +211 −0 src/OspacMain.h
  41. +10 −0 src/Physics.cpp
  42. +39 −0 src/Physics.h
  43. +261 −0 src/Plot.cpp
  44. +63 −0 src/Plot.h
  45. +324 −0 src/SelectiveLeveler.cpp
  46. +95 −0 src/SelectiveLeveler.h
  47. +135 −0 src/Skip.cpp
  48. +40 −0 src/Skip.h
  49. +181 −0 src/StereoMix.cpp
  50. +63 −0 src/StereoMix.h
  51. +162 −0 src/Wave.cpp
  52. +62 −0 src/Wave.h
  53. +47 −0 test/Makefile
  54. BIN test/intro-cooking-math-4.wav
  55. BIN test/intro-reverb-only.wav
  56. BIN test/volume-changes.wav
2,425 Doxyfile

Large diffs are not rendered by default.

Oops, something went wrong.
21 LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 Sebastian Ritterbusch <ospac@ritterbusch.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,22 @@
all: src/*cpp src/*h
cd Release;make all;cd ..
Release/ospac: src/*cpp src/*h
cd Release;make all;cd ..
test: Release/ospac
cd test;make all;cd ..
install: Release/ospac
cd Release;make install;cd ..
uninstall:
cd Release;make uninstall; cd ..
clean:
cd Release;make clean; cd ..
cd test;make clean;cd ..
rm -f *~
rm -f src/*~
@@ -0,0 +1,65 @@
## Synopsis
Ospac will take a multi-channel recording of an audio podcast conversation
and master this to a high-quality mix-down with support for intro and outro.
## Examples
Mix 2 mono voice recordings with crosstalk filter, leveling and normalization:
ospac person1.wav person2.wav --output target.wav
Mix a podcast with stereo intro and outro:
ospac --mix in.wav --overlap 4 \
--voice person1.wav person2.wav --overlap 4 \
--mix out.wav --output target.wav
## Motivation
Ospac was developed due to the need of a batch solution for audio podcast
creation. It is a rewrite and compilation of the scripts and methods used
for the Modellansatz podcast, http://modellansatz.de/ .
## Installation
Check that you have libsndfile and a c++-compiler on your system. Then, you
may build and install ospac in this way:
$ make ospac && sudo make install
## API Reference
See the doxygen docs for a detailed API reference.
## Tests
You may run tests that create exemplary mixdowns and waveform images
that are used in the API documentation.
$ make test
## License
The MIT License (MIT)
Copyright (c) 2016 Sebastian Ritterbusch <ospac@ritterbusch.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,59 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: ospac
# Tool invocations
ospac: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross G++ Linker'
g++ -o "ospac" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS) ospac
-@echo ' '
.PHONY: all clean dependents
.SECONDARY:
-include ../makefile.targets
@@ -0,0 +1,8 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS :=
LIBS := -lsndfile
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
C_UPPER_SRCS :=
CXX_SRCS :=
C++_SRCS :=
OBJ_SRCS :=
CC_SRCS :=
ASM_SRCS :=
C_SRCS :=
CPP_SRCS :=
O_SRCS :=
S_UPPER_SRCS :=
CC_DEPS :=
C++_DEPS :=
EXECUTABLES :=
OBJS :=
C_UPPER_DEPS :=
CXX_DEPS :=
C_DEPS :=
CPP_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
src \
@@ -0,0 +1,69 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
CPP_SRCS += \
../src/Channel.cpp \
../src/CrosstalkFilter.cpp \
../src/CrosstalkGate.cpp \
../src/Equalizer.cpp \
../src/Frequency.cpp \
../src/Log.cpp \
../src/Maximizer.cpp \
../src/Merge.cpp \
../src/MonoMix.cpp \
../src/OspacMain.cpp \
../src/Physics.cpp \
../src/Plot.cpp \
../src/SelectiveLeveler.cpp \
../src/Skip.cpp \
../src/StereoMix.cpp \
../src/Wave.cpp
OBJS += \
./src/Channel.o \
./src/CrosstalkFilter.o \
./src/CrosstalkGate.o \
./src/Equalizer.o \
./src/Frequency.o \
./src/Log.o \
./src/Maximizer.o \
./src/Merge.o \
./src/MonoMix.o \
./src/OspacMain.o \
./src/Physics.o \
./src/Plot.o \
./src/SelectiveLeveler.o \
./src/Skip.o \
./src/StereoMix.o \
./src/Wave.o
CPP_DEPS += \
./src/Channel.d \
./src/CrosstalkFilter.d \
./src/CrosstalkGate.d \
./src/Equalizer.d \
./src/Frequency.d \
./src/Log.d \
./src/Maximizer.d \
./src/Merge.d \
./src/MonoMix.d \
./src/OspacMain.d \
./src/Physics.d \
./src/Plot.d \
./src/SelectiveLeveler.d \
./src/Skip.d \
./src/StereoMix.d \
./src/Wave.d
# Each subdirectory must supply rules for building sources it contributes
src/%.o: ../src/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
g++ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
Binary file not shown.
No changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
install: ospac
cp ospac /usr/local/bin
cp ../ospac.1 /usr/local/share/man/man1/
unsinstall:
rm -f /usr/local/bin/ospac
rm -f /usr/local/share/man/man1/ospac.1
Binary file not shown.
Oops, something went wrong.

0 comments on commit 865ff19

Please sign in to comment.