Skip to content

Commit

Permalink
added windows project and addons
Browse files Browse the repository at this point in the history
  • Loading branch information
nkundiushuti committed Jul 9, 2013
1 parent ad058d2 commit eb17251
Show file tree
Hide file tree
Showing 6 changed files with 1,854 additions and 13 deletions.
46 changes: 33 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,68 @@
beatStation
===========

beatStation - an openFrameworks tapping recorder interface
beatStation - an openFrameworks tapping recorder

This work is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/.

This work is partly-funded by the ERDF - European Regional Development Fund through the COMPETE Programme (operational programme for competitiveness) and by National Funds through the FCT- Fundacao para a Ciencia e a Tecnologia (Portuguese Foundation for Science and Technology) within project "PTDC/EAT-MMU/112255/2009-(FCOM-01-0124-FEDER-014732)"

========================
USAGE
========================

The already build binaries can be download from: https://sourceforge.net/projects/beatstation/

Download the archive and extract/copy the directory on your local hard drive.

Before starting the app you need to copy 2 or more sound files to annotate in the data/sounds/ subdirectory.

You can also adjust different settings from the settings file. Take a look at the wiki page for more info. For instance, you can choose to tap with a midi interface or just use the keyboard.

beatStation was designed as a game with a purpose application in which users can compete between each other in tapping various songs. In this setup, you need to have Octave or Matlab installed in order to compute the score for each user.

beatStation can be used by researchers to annotate audio, conduct experiments, or as an inspiration for future apps.

Contact me at miron.marius [at] gmail [dot] com for future questions


========================
BUILDING
========================

These are the MAC OSX and Windows versions. for the linux version go at: https://github.com/nkundiushuti/beatStationLinux

========================
MACOS BUILD
========================

You will need Mac Os version minimum 10.6 and XCode if you want to build the project again on your machine.
You will need Mac Os version minimum 10.6 and XCode if you want to build the project again on your machine. You will also need the version 0.7.1 of openFrameworks. It is not likely that the latest version of openFrameworks will work with this app.
The .app that you can find in the bin directory was built on Mac OS Lion and I suggest rebuilding it on your system.
You need to download openFrameworks and copy the beatStation directory into the /apps/myapps directory and then build it with Xcode (open and build beatStation.xcodeproj) and run it.

========================
WINDOWS BUILD
========================

LINUX BUILD - check the linux version at https://github.com/nkundiushuti/beatStationLinux

I suggest you rebuild the beatStation as the version included was built on 32 bit Ubuntu.

You will need to have Codeblocks installed.
Download and install openframeworks for linux as specified on the website.
You will need to have Codeblocks 10 installed.
Download and install openframeworks 0.7.1 for linux and Codeblocks as specified on the website.
Building DOES NOT work with later versions of Openframeworks or Codeblocks
Unpack addons.zip or download from github and copy in the openframeworks addons directory(not the project addons!), the following addons:

- ofxUI
- ofxXMLSettings
- ofxDirList
- ofxTextSuite
- ofxNetwork

Copy the beatStation directory in the apps/myapps directory, open the codeblocks project(beatStation.cbp) and CLEAN then BUILD.
We excluded ofxMidi from the Linux version because there are issues with rtMidi and ALSA drivers.


IMPORTANT - you must copy some audio files in the sounds directory before starting the app

WINDOWS - to be done



========================
FUNCTIONALITIES
========================

The app has an user management system and a tapping recording system, as well as an ability to run tests on different machines connected in a client-server architecture.

Expand Down
Binary file added addons.zip
Binary file not shown.
258 changes: 258 additions & 0 deletions beatStation_win.cbp
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="beatStation_win" />
<Option makefile="makefile" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Option virtualFolders="addons\;src\;addons\ofxMidi\;addons\ofxMidi\src\;addons\ofxMidi\src\desktop\;addons\ofxMidi\src\desktop\rtmidi\;addons\ofxTextSuite\;addons\ofxXmlSettings\;addons\ofxNetwork\;" />
<Build>
<Target title="release">
<Option output="bin\$(PROJECT_NAME)" prefix_auto="1" extension_auto="1" />
<Option working_dir="bin" />
<Option object_output="obj\release" />
<Option external_deps="..\..\..\libs\openFrameworksCompiled\lib\win_cb\openFrameworks.lib;" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworks.lib" />
</Linker>
</Target>
<Target title="debug">
<Option output="bin\$(PROJECT_NAME)_DEBUG" prefix_auto="1" extension_auto="1" />
<Option working_dir="bin" />
<Option object_output="obj\debug\" />
<Option external_deps="..\..\..\libs\openFrameworksCompiled\lib\win_cb\openFrameworksDebug.lib;" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-g" />
</Compiler>
<Linker>
<Add option="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworksDebug.lib" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wno-multichar" />
<Add directory="..\..\..\libs\glu\include" />
<Add directory="..\..\..\libs\freetype\include" />
<Add directory="..\..\..\libs\freetype\include\freetype2" />
<Add directory="..\..\..\libs\FreeImage\include" />
<Add directory="..\..\..\libs\quicktime\include" />
<Add directory="..\..\..\libs\rtAudio\include" />
<Add directory="..\..\..\libs\fmodex\include" />
<Add directory="..\..\..\libs\videoInput\include" />
<Add directory="..\..\..\libs\glew\include" />
<Add directory="..\..\..\libs\glut\include" />
<Add directory="..\..\..\libs\openFrameworks" />
<Add directory="..\..\..\libs\openFrameworks\3d" />
<Add directory="..\..\..\libs\openFrameworks\app" />
<Add directory="..\..\..\libs\openFrameworks\communication" />
<Add directory="..\..\..\libs\openFrameworks\events" />
<Add directory="..\..\..\libs\openFrameworks\gl" />
<Add directory="..\..\..\libs\openFrameworks\graphics" />
<Add directory="..\..\..\libs\openFrameworks\math" />
<Add directory="..\..\..\libs\openFrameworks\sound" />
<Add directory="..\..\..\libs\openFrameworks\types" />
<Add directory="..\..\..\libs\openFrameworks\utils" />
<Add directory="..\..\..\libs\openFrameworks\video" />
<Add directory="..\..\..\libs\poco\include" />
<Add directory="..\..\..\libs\tess2\include" />
<Add directory="..\..\..\libs\cairo\include\cairo" />
<Add directory="..\..\..\addons\ofxMidi\src" />
<Add directory="..\..\..\addons\ofxMidi\src\desktop\rtmidi" />
<Add directory="..\..\..\addons\ofxDirList\src" />
<Add directory="..\..\..\addons\ofxNetwork\src" />
<Add directory="..\..\..\addons\ofxUI\src" />
<Add directory="..\..\..\addons\ofxXmlSettings\src" />
<Add directory="..\..\..\addons\ofxTextSuite\src" />
<Add directory="..\..\..\addons\ofxXmlSettings\libs" />
</Compiler>
<Linker>
<Add library="..\..\..\libs\FreeImage\lib\win_cb\FreeImage.lib" />
<Add library="..\..\..\libs\rtAudio\lib\win_cb\librtaudio.a" />
<Add library="..\..\..\libs\quicktime\lib\win_cb\qtmlClient.lib" />
<Add library="..\..\..\libs\cairo\lib\win_cb\libcairo.a" />
<Add library="..\..\..\libs\cairo\lib\win_cb\libpixman-1.a" />
<Add library="..\..\..\libs\freetype\lib\win_cb\libfreetype.a" />
<Add library="..\..\..\libs\glut\lib\win_cb\libglut.a" />
<Add library="..\..\..\libs\videoInput\lib\win_cb\videoInputLib.a" />
<Add library="..\..\..\libs\fmodex\lib\win_cb\libfmodex.a" />
<Add library="..\..\..\libs\glew\lib\win_cb\glew32s.lib" />
<Add library="..\..\..\libs\glu\lib\win_cb\glu32.lib" />
<Add library="..\..\..\libs\poco\lib\win_cb\libPocoNet.a" />
<Add library="..\..\..\libs\poco\lib\win_cb\libPocoUtil.a" />
<Add library="..\..\..\libs\poco\lib\win_cb\libPocoXML.a" />
<Add library="..\..\..\libs\poco\lib\win_cb\libPocoFoundation.a" />
<Add library="..\..\..\libs\tess2\lib\win_cb\libtess2.a" />
<Add library="opengl32" />
<Add library="gdi32" />
<Add library="msimg32" />
<Add library="glu32" />
<Add library="dsound" />
<Add library="winmm" />
<Add library="dxguid" />
<Add library="strmiids" />
<Add library="uuid" />
<Add library="ole32" />
<Add library="oleaut32" />
<Add library="setupapi" />
<Add library="wsock32" />
<Add library="ws2_32" />
<Add library="Iphlpapi" />
<Add directory="..\..\..\addons\ofxNetwork\src" />
<Add directory="..\..\..\addons\ofxDirList\src" />
<Add directory="..\..\..\addons\ofxTextSuite\src" />
<Add directory="..\..\..\addons\ofxXmlSettings\libs" />
<Add directory="..\..\..\addons\ofxXmlSettings\src" />
<Add directory="..\..\..\addons\ofxUI\src" />
</Linker>
<ExtraCommands>
<Add after='xcopy /e /i /y &quot;$(PROJECT_DIR)..\..\..\export\win_cb\*.dll&quot; &quot;$(PROJECT_DIR)bin&quot;' />
<Add after='cmd /c if not exist &quot;$(PROJECT_DIR)bin/data&quot; mkdir &quot;$(PROJECT_DIR)bin/data&quot;' />
<Mode after="always" />
</ExtraCommands>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\ofxRtMidiIn.cpp">
<Option virtualFolder="addons\ofxMidi\src\desktop\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\ofxRtMidiIn.h">
<Option virtualFolder="addons\ofxMidi\src\desktop\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\ofxRtMidiOut.cpp">
<Option virtualFolder="addons\ofxMidi\src\desktop\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\ofxRtMidiOut.h">
<Option virtualFolder="addons\ofxMidi\src\desktop\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\rtmidi\RtError.h">
<Option virtualFolder="addons\ofxMidi\src\desktop\rtmidi\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\rtmidi\RtMidi.cpp">
<Option virtualFolder="addons\ofxMidi\src\desktop\rtmidi\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\desktop\rtmidi\RtMidi.h">
<Option virtualFolder="addons\ofxMidi\src\desktop\rtmidi\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxBaseMidi.cpp">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxBaseMidi.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidi.cpp">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidi.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiConstants.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiIn.cpp">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiIn.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiMessage.cpp">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiMessage.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiOut.cpp">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiOut.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxMidi\src\ofxMidiTypes.h">
<Option virtualFolder="addons\ofxMidi\src\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxNetwork.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxNetworkUtils.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPClient.cpp">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPClient.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPManager.cpp">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPManager.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPServer.cpp">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxTCPServer.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxUDPManager.cpp">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxNetwork\src\ofxUDPManager.h">
<Option virtualFolder="addons\ofxNetwork\" />
</Unit>
<Unit filename="..\..\..\addons\ofxTextSuite\src\ofxTextBlock.cpp">
<Option virtualFolder="addons\ofxTextSuite\" />
</Unit>
<Unit filename="..\..\..\addons\ofxTextSuite\src\ofxTextBlock.h">
<Option virtualFolder="addons\ofxTextSuite\" />
</Unit>
<Unit filename="..\..\..\addons\ofxTextSuite\src\ofxTextSuite.h">
<Option virtualFolder="addons\ofxTextSuite\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\libs\tinyxml.cpp">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\libs\tinyxml.h">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\libs\tinyxmlerror.cpp">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\libs\tinyxmlparser.cpp">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\src\ofxXmlSettings.cpp">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="..\..\..\addons\ofxXmlSettings\src\ofxXmlSettings.h">
<Option virtualFolder="addons\ofxXmlSettings\" />
</Unit>
<Unit filename="src\Usert.h">
<Option virtualFolder="src\" />
</Unit>
<Unit filename="src\main.cpp">
<Option virtualFolder="src" />
</Unit>
<Unit filename="src\testApp.cpp">
<Option virtualFolder="src" />
</Unit>
<Unit filename="src\testApp.h">
<Option virtualFolder="src" />
</Unit>
<Unit filename="src\threadedObject.h">
<Option virtualFolder="src\" />
</Unit>
<Extensions>
<code_completion />
<debugger />
<envvars />
</Extensions>
</Project>
</CodeBlocks_project_file>
Loading

0 comments on commit eb17251

Please sign in to comment.