Basic WAV Audio Player with Play, Pause, Stop, etc. + basic pitchshift & lowpass filter. (work in progress)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
cmake
lib
src
.gitignore
CMakeLists.txt
LICENSE
Makefile
README.md
Unix-Build.sh
Unix-BuildDebug.sh
Unix-Clean.sh
Unix-GenCodeBlocksProject.sh
Unix-GitPull.sh
Unix-GitPush.sh
Windows-Clean.bat
Windows-GenVisualStudioProject.bat
push
run

README.md

WAV Audio Player Starter Code

Just some code to get started with audio in C++. Basic audio functions like Play, Stop, Pause etc. + Pitch-Shift & primitive lowpass filter Work in Progress.

##Build Dependencies##

##Build Toolchains##

  • Linux -> make/g++/gcc + CodeBlocks
  • Mac -> make/g++/gcc + Xcode/CodeBlocks
  • Windows -> Visual Studio / CodeBlocks
  • BUILD TOOLCHAIN (Can be any one of the following, doesn't need to be all of them)

###NOTES for Dependencies### On Unix/Linux/Mac you can likely install CMAKE and SDL2 with your package manager

# On ubuntu just run
sudo apt-get install cmake libsdl2-dev

# On Mac with HomeBrew just run
brew install cmake sdl2

##Build Instructions## ###Mac OSX/Linux/Unix###

  • Open a Terminal and run:
# install dependencies

./Unix-Build.sh [Build Target, Debug or Release (Optional)] [Any arguments for CMake (Optional)]

#For instance, you can use the CMake argument -G "Xcode" to generate an Xcode project during build,
#or you can use -G "CodeBlocks - Unix Makefiles" to generate a CodeBlocks Project.
#See http://www.cmake.org/ for more details about CMake arguments

###Windows###

  • Make sure CMake is both installed and added to the system PATH.
  • Run "Windows-GenVisualStudioProject.bat" If this fails for any reason, try using the Manual Build Instructions below.
  • Go to the build folder, and open 3DEngineCpp.sln with Visual Studio 2012 or newer (For older versions of Visual Studio, use manual build instructions)
  • Right click on the AudioProject project, and select "Set as start up project"
  • Build and Run