Mercurial > hg > audio_effects_textbook_code
view effects/compressor/Compressor.jucer @ 0:e32fe563e124
First commit
author | Andrew McPherson <andrewm@eecs.qmul.ac.uk> |
---|---|
date | Fri, 10 Oct 2014 15:41:23 +0100 |
parents | |
children | 04e171d2a747 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <JUCERPROJECT id="MBaMzn" name="compressor" projectType="audioplug" version="1.0.0" bundleIdentifier="uk.ac.qmul.eecs.compressor" buildVST="1" buildRTAS="0" buildAU="1" pluginName="Compressor" pluginDesc="Compressor" pluginManufacturer="Reiss and McPherson" pluginManufacturerCode="JRAM" pluginCode="comp" pluginChannelConfigs="{2, 2}, {1, 1}" pluginIsSynth="0" pluginWantsMidiIn="0" pluginProducesMidiOut="0" pluginSilenceInIsSilenceOut="1" pluginTailLength="0" pluginEditorRequiresKeys="0" pluginAUExportPrefix="CompressorAU" pluginAUViewClass="CompressorAU_V1" pluginRTASCategory="" jucerVersion="3.1.0" aaxIdentifier="uk.ac.qmul.eecs.compressor" buildVST3="0" buildAAX="0" pluginAAXCategory="AAX_ePlugInCategory_Dynamics" includeBinaryInAppConfig="1" companyName="Reiss and McPherson"> <EXPORTFORMATS> <VS2010 targetFolder="Builds/VisualStudio2010" libraryType="1" vstFolder="..\..\vstsdk2.4"> <CONFIGURATIONS> <CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="32-bit" isDebug="0" optimisation="2" targetName="Compressor"/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_video" path="../../juce/modules"/> <MODULEPATH id="juce_opengl" path="../../juce/modules"/> <MODULEPATH id="juce_gui_extra" path="../../juce/modules"/> <MODULEPATH id="juce_gui_basics" path="../../juce/modules"/> <MODULEPATH id="juce_graphics" path="../../juce/modules"/> <MODULEPATH id="juce_events" path="../../juce/modules"/> <MODULEPATH id="juce_data_structures" path="../../juce/modules"/> <MODULEPATH id="juce_cryptography" path="../../juce/modules"/> <MODULEPATH id="juce_core" path="../../juce/modules"/> <MODULEPATH id="juce_audio_processors" path="../../juce/modules"/> <MODULEPATH id="juce_audio_plugin_client" path="../../juce/modules"/> <MODULEPATH id="juce_audio_formats" path="../../juce/modules"/> <MODULEPATH id="juce_audio_devices" path="../../juce/modules"/> <MODULEPATH id="juce_audio_basics" path="../../juce/modules"/> </MODULEPATHS> </VS2010> <XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="../../vstsdk2.4" postbuildCommand=" # This script takes the build product and copies it to the AU, VST, VST3, RTAS and AAX folders, depending on # which plugin types you've built original=$CONFIGURATION_BUILD_DIR/$FULL_PRODUCT_NAME # this looks inside the binary to detect which platforms are needed.. copyAU=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'AudioUnit' | wc -l` copyVST=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'VSTPlugin' | wc -l` copyVST3=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'GetPluginFactory' | wc -l` copyRTAS=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'CProcess' | wc -l` copyAAX=`nm -g "$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH" | grep -i 'ACFStartup' | wc -l` if [ $copyAU -gt 0 ]; then echo "Copying to AudioUnit folder..." AU=~/Library/Audio/Plug-Ins/Components/$PRODUCT_NAME.component if [ -d "$AU" ]; then rm -r "$AU" fi cp -r "$original" "$AU" sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$AU/Contents/PkgInfo" sed -i "" -e 's/TDMw/BNDL/g' "$AU/Contents/$INFOPLIST_FILE" # Fix info.plist for AUs built with Xcode 3 if [ -f "$DEVELOPER_DIR/Library/Developer/CoreAudio/AudioUnits/AUPublic/AUBase/AUPlugInDispatch.cpp" ]; then echo else echo "Removing AudioComponents entry from Info.plist because this is not a new-format AU" /usr/libexec/PlistBuddy -c "Delete AudioComponents" "$AU/Contents/Info.plist" fi fi if [ $copyVST -gt 0 ]; then echo "Copying to VST folder..." VST=~/Library/Audio/Plug-Ins/VST/$PRODUCT_NAME.vst if [ -d "$VST" ]; then rm -r "$VST" fi cp -r "$original" "$VST" sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$VST/Contents/PkgInfo" sed -i "" -e 's/TDMw/BNDL/g' "$VST/Contents/$INFOPLIST_FILE" fi if [ $copyVST3 -gt 0 ]; then echo "Copying to VST3 folder..." VST3=~/Library/Audio/Plug-Ins/VST3/$PRODUCT_NAME.vst3 if [ -d "$VST3" ]; then rm -r "$VST3" fi cp -r "$original" "$VST3" sed -i "" -e 's/TDMwPTul/BNDLPTul/g' "$VST3/Contents/PkgInfo" sed -i "" -e 's/TDMw/BNDL/g' "$VST3/Contents/$INFOPLIST_FILE" fi if [ $copyRTAS -gt 0 ]; then echo "Copying to RTAS folder..." RTAS=/Library/Application\ Support/Digidesign/Plug-Ins/$PRODUCT_NAME.dpm if [ -d "$RTAS" ]; then rm -r "$RTAS" fi cp -r "$original" "$RTAS" fi if [ $copyAAX -gt 0 ]; then echo "Copying to AAX folder..." if [ -d "/Applications/ProTools_3PDev/Plug-Ins" ]; then AAX1="/Applications/ProTools_3PDev/Plug-Ins/$PRODUCT_NAME.aaxplugin" if [ -d "$AAX1" ]; then rm -r "$AAX1" fi cp -r "$original" "$AAX1" fi if [ -d "/Library/Application Support/Avid/Audio/Plug-Ins" ]; then AAX2="/Library/Application Support/Avid/Audio/Plug-Ins/$PRODUCT_NAME.aaxplugin" if [ -d "$AAX2" ]; then rm -r "$AAX2" fi cp -r "$original" "$AAX2" fi fi "> <CONFIGURATIONS> <CONFIGURATION name="Debug" osxSDK="default" osxCompatibility="default" osxArchitecture="64BitUniversal" isDebug="1" optimisation="1" targetName="compressor"/> <CONFIGURATION name="Release" osxSDK="default" osxCompatibility="default" osxArchitecture="64BitUniversal" isDebug="0" optimisation="2" targetName="compressor"/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_video" path="../../juce/modules"/> <MODULEPATH id="juce_opengl" path="../../juce/modules"/> <MODULEPATH id="juce_gui_extra" path="../../juce/modules"/> <MODULEPATH id="juce_gui_basics" path="../../juce/modules"/> <MODULEPATH id="juce_graphics" path="../../juce/modules"/> <MODULEPATH id="juce_events" path="../../juce/modules"/> <MODULEPATH id="juce_data_structures" path="../../juce/modules"/> <MODULEPATH id="juce_cryptography" path="../../juce/modules"/> <MODULEPATH id="juce_core" path="../../juce/modules"/> <MODULEPATH id="juce_audio_processors" path="../../juce/modules"/> <MODULEPATH id="juce_audio_plugin_client" path="../../juce/modules"/> <MODULEPATH id="juce_audio_formats" path="../../juce/modules"/> <MODULEPATH id="juce_audio_devices" path="../../juce/modules"/> <MODULEPATH id="juce_audio_basics" path="../../juce/modules"/> </MODULEPATHS> </XCODE_MAC> </EXPORTFORMATS> <MAINGROUP id="R56iUz" name="compressor"> <GROUP id="{839367BB-53A9-7137-E15E-D2DD800BA26D}" name="Source"> <FILE id="RUKlAk" name="PluginProcessor.cpp" compile="1" resource="0" file="Source/PluginProcessor.cpp"/> <FILE id="uEbtTW" name="PluginProcessor.h" compile="0" resource="0" file="Source/PluginProcessor.h"/> <FILE id="vo9R27" name="PluginEditor.cpp" compile="1" resource="0" file="Source/PluginEditor.cpp"/> <FILE id="IiR9iQ" name="PluginEditor.h" compile="0" resource="0" file="Source/PluginEditor.h"/> </GROUP> </MAINGROUP> <MODULES> <MODULE id="juce_audio_basics" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_audio_devices" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_audio_formats" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_audio_plugin_client" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_audio_processors" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_core" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_cryptography" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_data_structures" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_events" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_graphics" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_opengl" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_video" showAllCode="1" useLocalCopy="0"/> </MODULES> <JUCEOPTIONS JUCE_QUICKTIME="disabled"/> </JUCERPROJECT>