aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-06-19 14:34:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-06-19 14:34:11 +0000
commitdacf7b607b9d0fda8b9a38b58dc97ce77b9ce3e9 (patch)
tree6516ed960ea9cf0c02ed7fb3886a483954c75e49 /externals/grill
parent681682b3efa84c7d6323a43bdda54616b39cd73c (diff)
use branch hints
added xcode 2.4 project fixed one-shot loop bang updated copyrights svn path=/trunk/; revision=7786
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/xsample/source/groove.cpp12
-rwxr-xr-xexternals/grill/xsample/source/inter.h6
-rw-r--r--externals/grill/xsample/source/main.cpp4
-rw-r--r--externals/grill/xsample/source/main.h11
-rw-r--r--externals/grill/xsample/source/play.cpp4
-rw-r--r--externals/grill/xsample/source/record.cpp4
-rw-r--r--externals/grill/xsample/xsample.vcproj1
-rw-r--r--externals/grill/xsample/xsample.xcodeproj/project.pbxproj529
8 files changed, 557 insertions, 14 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp
index fd899275..c989156e 100644
--- a/externals/grill/xsample/source/groove.cpp
+++ b/externals/grill/xsample/source/groove.cpp
@@ -1,7 +1,7 @@
/*
xsample - extended sample objects for Max/MSP and pd (pure data)
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
*/
@@ -322,7 +322,10 @@ void xgroove::s_pos_once(int n,t_sample *const *invecs,t_sample *const *outvecs)
else
s_pos_off(n,invecs,outvecs);
- if(UNLIKELY(lpbang)) ToOutBang(outchns+3);
+ if(UNLIKELY(lpbang)) {
+ doplay = false;
+ ToOutBang(outchns+3);
+ }
}
void xgroove::s_pos_loop(int n,t_sample *const *invecs,t_sample *const *outvecs)
@@ -361,6 +364,9 @@ void xgroove::s_pos_loop(int n,t_sample *const *invecs,t_sample *const *outvecs)
}
}
else {
+ ///////////////////////////////////
+ // Most of the time is spent in here
+ ///////////////////////////////////
for(int i = 0; i < n; ++i) {
const t_sample spd = speed[i]; // must be first because the vector is reused for output!
@@ -756,7 +762,7 @@ bool xgroove::do_xzone()
void xgroove::m_help()
{
post("%s - part of xsample objects, version " XSAMPLE_VERSION,thisName());
- post("(C) Thomas Grill, 2001-2006");
+ post("(C) Thomas Grill, 2001-2007");
#if FLEXT_SYS == FLEXT_SYS_MAX
post("Arguments: %s [channels=1] [buffer]",thisName());
#else
diff --git a/externals/grill/xsample/source/inter.h b/externals/grill/xsample/source/inter.h
index 5ee87b90..f8a0881b 100755
--- a/externals/grill/xsample/source/inter.h
+++ b/externals/grill/xsample/source/inter.h
@@ -206,7 +206,7 @@ TMPLDEF void xinter::st_play4(const t_sample *bdt,const int smin,const int smax,
if(OCHNS == 1) {
t_sample *sig0 = sig[0];
for(int i = 0; i < n; ++i) {
- float o = *(pos++);
+ float o = pos[i];
register long oint = CASTINT<long>(o);
register t_sample fa,fb,fc,fd;
const float frac = o-oint;
@@ -289,13 +289,13 @@ looped1:
}
}
- const float f1 = 0.5f*(frac-1.0f);
+ const float f1 = frac*0.5f-0.5f;
const float f3 = frac*3.0f-1.0f;
const float amdf = (fa-fd)*frac;
const float cmb = fc-fb;
const float bma = fb-fa;
- *(sig0++) = fb + frac*( cmb - f1 * ( amdf+bma+cmb*f3 ) );
+ sig0[i] = fb + frac*( cmb - f1 * ( amdf+bma+cmb*f3 ) );
}
}
else {
diff --git a/externals/grill/xsample/source/main.cpp b/externals/grill/xsample/source/main.cpp
index 7c8bd9d2..025352a3 100644
--- a/externals/grill/xsample/source/main.cpp
+++ b/externals/grill/xsample/source/main.cpp
@@ -1,7 +1,7 @@
/*
xsample - extended sample objects for Max/MSP and pd (pure data)
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
*/
@@ -16,7 +16,7 @@ static void xsample_main()
flext::post("xsample objects, version " XSAMPLE_VERSION);
flext::post("");
flext::post(" xrecord~, xplay~, xgroove~ ");
- flext::post(" (C)2001-2006 Thomas Grill ");
+ flext::post(" (C)2001-2007 Thomas Grill ");
#ifdef FLEXT_DEBUG
flext::post("");
flext::post("DEBUG BUILD - " __DATE__ " " __TIME__);
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h
index ec2218d3..8cf39d7d 100644
--- a/externals/grill/xsample/source/main.h
+++ b/externals/grill/xsample/source/main.h
@@ -86,8 +86,15 @@ extern "C++" {
}
#endif
-#if FLEXT_CPU == FLEXT_CPU_INTEL && defined(__GNUC__)
-template<typename I,typename F> inline I CASTINT(F o) { return lrintf(o); }
+#if 0 // FLEXT_CPU == FLEXT_CPU_PPC && defined(__GNUC__)
+#include <ppc_intrinsics.h>
+template<typename I,typename F>
+inline I CASTINT( F f )
+{
+ int i;
+ __stfiwx(__fctiwz(f),0,&i);
+ return i;
+}
#elif FLEXT_CPU == FLEXT_CPU_INTEL && defined(_MSC_VER)
template<typename I,typename F>
inline I CASTINT(F x) {
diff --git a/externals/grill/xsample/source/play.cpp b/externals/grill/xsample/source/play.cpp
index f3fdaab1..0f6fec5e 100644
--- a/externals/grill/xsample/source/play.cpp
+++ b/externals/grill/xsample/source/play.cpp
@@ -1,7 +1,7 @@
/*
xsample - extended sample objects for Max/MSP and pd (pure data)
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
*/
@@ -117,7 +117,7 @@ void xplay::m_help()
#ifdef FLEXT_DEBUG
post("compiled on " __DATE__ " " __TIME__);
#endif
- post("(C) Thomas Grill, 2001-2006");
+ post("(C) Thomas Grill, 2001-2007");
#if FLEXT_SYS == FLEXT_SYS_MAX
post("Arguments: %s [channels=1] [buffer]",thisName());
#else
diff --git a/externals/grill/xsample/source/record.cpp b/externals/grill/xsample/source/record.cpp
index b8c8a9b0..07c94b45 100644
--- a/externals/grill/xsample/source/record.cpp
+++ b/externals/grill/xsample/source/record.cpp
@@ -1,7 +1,7 @@
/*
xsample - extended sample objects for Max/MSP and pd (pure data)
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
*/
@@ -452,7 +452,7 @@ void xrecord::m_help()
#ifdef FLEXT_DEBUG
post("compiled on " __DATE__ " " __TIME__);
#endif
- post("(C) Thomas Grill, 2001-2006");
+ post("(C) Thomas Grill, 2001-2007");
#if FLEXT_SYS == FLEXT_SYS_MAX
post("Arguments: %s [channels=1] [buffer]",thisName());
#else
diff --git a/externals/grill/xsample/xsample.vcproj b/externals/grill/xsample/xsample.vcproj
index 112dfc21..e978ee7e 100644
--- a/externals/grill/xsample/xsample.vcproj
+++ b/externals/grill/xsample/xsample.vcproj
@@ -3,6 +3,7 @@
ProjectType="Visual C++"
Version="7.10"
Name="xsample"
+ ProjectGUID="{7A2856E0-6DC1-4CD7-8A05-E6BA1DF8CA22}"
Keyword="Win32Proj">
<Platforms>
<Platform
diff --git a/externals/grill/xsample/xsample.xcodeproj/project.pbxproj b/externals/grill/xsample/xsample.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..90e0aa55
--- /dev/null
+++ b/externals/grill/xsample/xsample.xcodeproj/project.pbxproj
@@ -0,0 +1,529 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 42;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ E94AC9640789EEA300AE1770 /* libflext-pd_sd.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E94AC9630789EEA300AE1770 /* libflext-pd_sd.a */; };
+ E98C3077078D948800EC0264 /* vecLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E98C3076078D948800EC0264 /* vecLib.framework */; };
+ E98C3078078D948800EC0264 /* vecLib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E98C3076078D948800EC0264 /* vecLib.framework */; };
+ E9974DF30770749400206F68 /* groove.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE50770749400206F68 /* groove.cpp */; };
+ E9974DF40770749400206F68 /* inter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE60770749400206F68 /* inter.cpp */; };
+ E9974DF50770749400206F68 /* inter.h in Headers */ = {isa = PBXBuildFile; fileRef = E9974DE70770749400206F68 /* inter.h */; };
+ E9974DF60770749400206F68 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE80770749400206F68 /* main.cpp */; };
+ E9974DF70770749400206F68 /* main.h in Headers */ = {isa = PBXBuildFile; fileRef = E9974DE90770749400206F68 /* main.h */; };
+ E9974DF80770749400206F68 /* play.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DEA0770749400206F68 /* play.cpp */; };
+ E9974DF90770749400206F68 /* record.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DEB0770749400206F68 /* record.cpp */; };
+ E9974E2D07707D1400206F68 /* prefix.h in Headers */ = {isa = PBXBuildFile; fileRef = E9974E2B07707D1400206F68 /* prefix.h */; };
+ E9974E59077084DA00206F68 /* xsample-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E9974E58077084DA00206F68 /* xsample-Info.plist */; };
+ E9974E5B0770851500206F68 /* MaxAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9974DFA0770750400206F68 /* MaxAPI.framework */; };
+ E9974E5C0770851700206F68 /* MaxAudioAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9974DFB0770750400206F68 /* MaxAudioAPI.framework */; };
+ E9974E5E0770852000206F68 /* prefix.h in Sources */ = {isa = PBXBuildFile; fileRef = E9974E2B07707D1400206F68 /* prefix.h */; };
+ E9974E5F0770852000206F68 /* groove.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE50770749400206F68 /* groove.cpp */; };
+ E9974E600770852000206F68 /* inter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE60770749400206F68 /* inter.cpp */; };
+ E9974E610770852000206F68 /* inter.h in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE70770749400206F68 /* inter.h */; };
+ E9974E620770852000206F68 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE80770749400206F68 /* main.cpp */; };
+ E9974E630770852000206F68 /* main.h in Sources */ = {isa = PBXBuildFile; fileRef = E9974DE90770749400206F68 /* main.h */; };
+ E9974E640770852000206F68 /* play.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DEA0770749400206F68 /* play.cpp */; };
+ E9974E650770852000206F68 /* record.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E9974DEB0770749400206F68 /* record.cpp */; };
+ E9974EB007708BF700206F68 /* xsample.rsrc in Resources */ = {isa = PBXBuildFile; fileRef = E9974EAF07708BF700206F68 /* xsample.rsrc */; };
+ E9974EC607708D0C00206F68 /* xsample-objectmappings.txt in CopyFiles */ = {isa = PBXBuildFile; fileRef = E9974EC307708CED00206F68 /* xsample-objectmappings.txt */; };
+ E9B5873A08E6F228002DA49F /* libflext-max_sd.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E94AC9610789EE8700AE1770 /* libflext-max_sd.a */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ E9974EC207708C9300206F68 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 8;
+ dstPath = "/Library/Application Support/Cycling '74/init";
+ dstSubfolderSpec = 0;
+ files = (
+ E9974EC607708D0C00206F68 /* xsample-objectmappings.txt in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ D2AAC09D05546B4700DB518D /* xsample.pd_darwin */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = xsample.pd_darwin; sourceTree = BUILT_PRODUCTS_DIR; };
+ E94AC9610789EE8700AE1770 /* libflext-max_sd.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libflext-max_sd.a"; path = "/usr/local/lib/libflext-max_sd.a"; sourceTree = "<absolute>"; };
+ E94AC9630789EEA300AE1770 /* libflext-pd_sd.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libflext-pd_sd.a"; path = "/usr/local/lib/libflext-pd_sd.a"; sourceTree = "<absolute>"; };
+ E98C3076078D948800EC0264 /* vecLib.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = vecLib.framework; path = /System/Library/Frameworks/vecLib.framework; sourceTree = "<absolute>"; };
+ E9974DE50770749400206F68 /* groove.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = groove.cpp; path = source/groove.cpp; sourceTree = "<group>"; };
+ E9974DE60770749400206F68 /* inter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = inter.cpp; path = source/inter.cpp; sourceTree = "<group>"; };
+ E9974DE70770749400206F68 /* inter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = inter.h; path = source/inter.h; sourceTree = "<group>"; };
+ E9974DE80770749400206F68 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = source/main.cpp; sourceTree = "<group>"; };
+ E9974DE90770749400206F68 /* main.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = main.h; path = source/main.h; sourceTree = "<group>"; };
+ E9974DEA0770749400206F68 /* play.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = play.cpp; path = source/play.cpp; sourceTree = "<group>"; };
+ E9974DEB0770749400206F68 /* record.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = record.cpp; path = source/record.cpp; sourceTree = "<group>"; };
+ E9974DFA0770750400206F68 /* MaxAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MaxAPI.framework; path = /Library/Frameworks/MaxAPI.framework; sourceTree = "<absolute>"; };
+ E9974DFB0770750400206F68 /* MaxAudioAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MaxAudioAPI.framework; path = /Library/Frameworks/MaxAudioAPI.framework; sourceTree = "<absolute>"; };
+ E9974E2B07707D1400206F68 /* prefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = prefix.h; path = source/prefix.h; sourceTree = "<group>"; };
+ E9974E53077083C700206F68 /* xsample.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = xsample.mxo; sourceTree = BUILT_PRODUCTS_DIR; };
+ E9974E58077084DA00206F68 /* xsample-Info.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xml; name = "xsample-Info.plist"; path = "source/xsample-Info.plist"; sourceTree = "<group>"; };
+ E9974EAF07708BF700206F68 /* xsample.rsrc */ = {isa = PBXFileReference; lastKnownFileType = archive.rsrc; name = xsample.rsrc; path = source/xsample.rsrc; sourceTree = "<group>"; };
+ E9974EC307708CED00206F68 /* xsample-objectmappings.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = "xsample-objectmappings.txt"; path = "maxmsp/xsample-objectmappings.txt"; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ D2AAC09B05546B4700DB518D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E94AC9640789EEA300AE1770 /* libflext-pd_sd.a in Frameworks */,
+ E98C3077078D948800EC0264 /* vecLib.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ E9974E51077083C700206F68 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E9B5873A08E6F228002DA49F /* libflext-max_sd.a in Frameworks */,
+ E9974E5C0770851700206F68 /* MaxAudioAPI.framework in Frameworks */,
+ E9974E5B0770851500206F68 /* MaxAPI.framework in Frameworks */,
+ E98C3078078D948800EC0264 /* vecLib.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 034768DDFF38A45A11DB9C8B /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ D2AAC09D05546B4700DB518D /* xsample.pd_darwin */,
+ E9974E53077083C700206F68 /* xsample.mxo */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 0867D691FE84028FC02AAC07 /* xsample */ = {
+ isa = PBXGroup;
+ children = (
+ E9974EC507708CFA00206F68 /* Max */,
+ 08FB77ACFE841707C02AAC07 /* Source */,
+ 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
+ 034768DDFF38A45A11DB9C8B /* Products */,
+ );
+ name = xsample;
+ sourceTree = "<group>";
+ };
+ 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
+ isa = PBXGroup;
+ children = (
+ E98C3076078D948800EC0264 /* vecLib.framework */,
+ E94AC9630789EEA300AE1770 /* libflext-pd_sd.a */,
+ E94AC9610789EE8700AE1770 /* libflext-max_sd.a */,
+ E9974DFA0770750400206F68 /* MaxAPI.framework */,
+ E9974DFB0770750400206F68 /* MaxAudioAPI.framework */,
+ );
+ name = "External Frameworks and Libraries";
+ sourceTree = "<group>";
+ };
+ 08FB77ACFE841707C02AAC07 /* Source */ = {
+ isa = PBXGroup;
+ children = (
+ E9974EAF07708BF700206F68 /* xsample.rsrc */,
+ E9974E58077084DA00206F68 /* xsample-Info.plist */,
+ E9974E2B07707D1400206F68 /* prefix.h */,
+ E9974DE50770749400206F68 /* groove.cpp */,
+ E9974DE60770749400206F68 /* inter.cpp */,
+ E9974DE70770749400206F68 /* inter.h */,
+ E9974DE80770749400206F68 /* main.cpp */,
+ E9974DE90770749400206F68 /* main.h */,
+ E9974DEA0770749400206F68 /* play.cpp */,
+ E9974DEB0770749400206F68 /* record.cpp */,
+ );
+ name = Source;
+ sourceTree = "<group>";
+ };
+ E9974EC507708CFA00206F68 /* Max */ = {
+ isa = PBXGroup;
+ children = (
+ E9974EC307708CED00206F68 /* xsample-objectmappings.txt */,
+ );
+ name = Max;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+ D2AAC09905546B4700DB518D /* Headers */ = {
+ isa = PBXHeadersBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E9974DF50770749400206F68 /* inter.h in Headers */,
+ E9974DF70770749400206F68 /* main.h in Headers */,
+ E9974E2D07707D1400206F68 /* prefix.h in Headers */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+ D2AAC09C05546B4700DB518D /* pd static */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = E9A5BC8A0A33819900AD9F03 /* Build configuration list for PBXNativeTarget "pd static" */;
+ buildPhases = (
+ D2AAC09905546B4700DB518D /* Headers */,
+ D2AAC09B05546B4700DB518D /* Frameworks */,
+ D2AAC09A05546B4700DB518D /* Sources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "pd static";
+ productName = xsample;
+ productReference = D2AAC09D05546B4700DB518D /* xsample.pd_darwin */;
+ productType = "com.apple.product-type.library.dynamic";
+ };
+ E9974E52077083C700206F68 /* max static */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = E9A5BC8E0A33819900AD9F03 /* Build configuration list for PBXNativeTarget "max static" */;
+ buildPhases = (
+ E9974E4F077083C700206F68 /* Resources */,
+ E9974E50077083C700206F68 /* Sources */,
+ E9974E51077083C700206F68 /* Frameworks */,
+ E9974EC207708C9300206F68 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "max static";
+ productName = "Max xsample static";
+ productReference = E9974E53077083C700206F68 /* xsample.mxo */;
+ productType = "com.apple.product-type.bundle";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 0867D690FE84028FC02AAC07 /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = E9A5BC920A33819900AD9F03 /* Build configuration list for PBXProject "xsample" */;
+ hasScannedForEncodings = 1;
+ mainGroup = 0867D691FE84028FC02AAC07 /* xsample */;
+ productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
+ projectDirPath = "";
+ targets = (
+ D2AAC09C05546B4700DB518D /* pd static */,
+ E9974E52077083C700206F68 /* max static */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ E9974E4F077083C700206F68 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E9974E59077084DA00206F68 /* xsample-Info.plist in Resources */,
+ E9974EB007708BF700206F68 /* xsample.rsrc in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ D2AAC09A05546B4700DB518D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E9974DF30770749400206F68 /* groove.cpp in Sources */,
+ E9974DF40770749400206F68 /* inter.cpp in Sources */,
+ E9974DF60770749400206F68 /* main.cpp in Sources */,
+ E9974DF80770749400206F68 /* play.cpp in Sources */,
+ E9974DF90770749400206F68 /* record.cpp in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ E9974E50077083C700206F68 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ E9974E5E0770852000206F68 /* prefix.h in Sources */,
+ E9974E5F0770852000206F68 /* groove.cpp in Sources */,
+ E9974E600770852000206F68 /* inter.cpp in Sources */,
+ E9974E610770852000206F68 /* inter.h in Sources */,
+ E9974E620770852000206F68 /* main.cpp in Sources */,
+ E9974E630770852000206F68 /* main.h in Sources */,
+ E9974E640770852000206F68 /* play.cpp in Sources */,
+ E9974E650770852000206F68 /* record.cpp in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ E9A5BC8B0A33819900AD9F03 /* Development */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ DEBUGGING_SYMBOLS = YES;
+ DYLIB_COMPATIBILITY_VERSION = 1;
+ DYLIB_CURRENT_VERSION = 1;
+ EXECUTABLE_EXTENSION = pd_darwin;
+ GCC_ALTIVEC_EXTENSIONS = YES;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_INPUT_FILETYPE = sourcecode.cpp.cpp;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = source/prefix.h;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "FLEXT_SYS=2",
+ _DEBUG,
+ FLEXT_USESIMD,
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(PD-devel)/src",
+ /usr/local/include/flext,
+ );
+ INSTALL_PATH = "$(PD)/extra";
+ LIBRARY_SEARCH_PATHS = "";
+ LIBRARY_STYLE = BUNDLE;
+ MACH_O_TYPE = mh_dylib;
+ MACOSX_DEPLOYMENT_TARGET = 10.3;
+ OPTIMIZATION_CFLAGS = "-O0";
+ OTHER_LDFLAGS = (
+ "-undefined",
+ dynamic_lookup,
+ );
+ PRODUCT_NAME = xsample;
+ ZERO_LINK = YES;
+ };
+ name = Development;
+ };
+ E9A5BC8C0A33819900AD9F03 /* Deployment */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ DYLIB_COMPATIBILITY_VERSION = 1;
+ DYLIB_CURRENT_VERSION = 1;
+ EXECUTABLE_EXTENSION = pd_darwin;
+ GCC_ALTIVEC_EXTENSIONS = YES;
+ GCC_AUTO_VECTORIZATION = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_ENABLE_SSE3_EXTENSIONS = YES;
+ GCC_FAST_MATH = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = s;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = source/prefix.h;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "FLEXT_SYS=2",
+ NDEBUG,
+ FLEXT_USESIMD,
+ );
+ HEADER_SEARCH_PATHS = (
+ "$(PD)/src",
+ "$(flext)/source",
+ );
+ INSTALL_PATH = "$(PD)/extra";
+ LIBRARY_SEARCH_PATHS = "$(flext)/build";
+ LIBRARY_STYLE = BUNDLE;
+ MACH_O_TYPE = mh_dylib;
+ MACOSX_DEPLOYMENT_TARGET = 10.3;
+ OTHER_LDFLAGS = (
+ "-lflext-pd_s",
+ "-undefined",
+ dynamic_lookup,
+ );
+ PRODUCT_NAME = xsample;
+ ZERO_LINK = NO;
+ };
+ name = Deployment;
+ };
+ E9A5BC8D0A33819900AD9F03 /* Default */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ DYLIB_COMPATIBILITY_VERSION = 1;
+ DYLIB_CURRENT_VERSION = 1;
+ EXECUTABLE_EXTENSION = pd_darwin;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
+ GCC_INPUT_FILETYPE = sourcecode.cpp.cpp;
+ GCC_PREPROCESSOR_DEFINITIONS = "FLEXT_SYS=2";
+ HEADER_SEARCH_PATHS = (
+ "$(PDApp)/src",
+ "$(flext)/source",
+ );
+ INSTALL_PATH = "$(PD)/extra";
+ LIBRARY_SEARCH_PATHS = "$(flext)/build";
+ LIBRARY_STYLE = BUNDLE;
+ MACH_O_TYPE = mh_bundle;
+ OTHER_LDFLAGS = (
+ "-bundle_loader",
+ "$(PDApp)/bin/pd",
+ );
+ PRODUCT_NAME = xsample;
+ };
+ name = Default;
+ };
+ E9A5BC8F0A33819900AD9F03 /* Development */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ DEBUGGING_SYMBOLS = YES;
+ GCC_ALTIVEC_EXTENSIONS = YES;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = source/prefix.h;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "FLEXT_SYS=1",
+ _DEBUG,
+ FLEXT_USESIMD,
+ );
+ GENERATE_PKGINFO_FILE = YES;
+ HEADER_SEARCH_PATHS = (
+ "$(maxsdk)/max-includes",
+ "$(maxsdk)/msp-includes",
+ "$(flext)/source",
+ );
+ INFOPLIST_FILE = "source/xsample-Info.plist";
+ INSTALL_PATH = "/Library/Application Support/Cycling 74/externals/flext";
+ LIBRARY_SEARCH_PATHS = "$(flext)/build";
+ LIBRARY_STYLE = DYNAMIC;
+ OPTIMIZATION_CFLAGS = "-O0";
+ OTHER_CFLAGS = "";
+ OTHER_REZFLAGS = "";
+ PRODUCT_NAME = xsample;
+ SECTORDER_FLAGS = "";
+ WARNING_CFLAGS = (
+ "-Wmost",
+ "-Wno-four-char-constants",
+ "-Wno-unknown-pragmas",
+ );
+ WRAPPER_EXTENSION = mxo;
+ ZERO_LINK = YES;
+ };
+ name = Development;
+ };
+ E9A5BC900A33819900AD9F03 /* Deployment */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = YES;
+ GCC_ALTIVEC_EXTENSIONS = YES;
+ GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = source/prefix.h;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "FLEXT_SYS=1",
+ NDEBUG,
+ FLEXT_USESIMD,
+ );
+ GENERATE_PKGINFO_FILE = YES;
+ HEADER_SEARCH_PATHS = (
+ "$(maxsdk)/max-includes",
+ "$(maxsdk)/msp-includes",
+ "$(flext)/source",
+ );
+ INFOPLIST_FILE = "source/xsample-Info.plist";
+ INSTALL_PATH = "/Library/Application Support/Cycling 74/externals/flext";
+ LIBRARY_SEARCH_PATHS = "$(flext)/build";
+ LIBRARY_STYLE = DYNAMIC;
+ OTHER_CFLAGS = "";
+ OTHER_LDFLAGS = "-lflext-max_s";
+ OTHER_REZFLAGS = "";
+ PRODUCT_NAME = xsample;
+ SECTORDER_FLAGS = "";
+ WARNING_CFLAGS = (
+ "-Wmost",
+ "-Wno-four-char-constants",
+ "-Wno-unknown-pragmas",
+ );
+ WRAPPER_EXTENSION = mxo;
+ ZERO_LINK = NO;
+ };
+ name = Deployment;
+ };
+ E9A5BC910A33819900AD9F03 /* Default */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PREPROCESSOR_DEFINITIONS = "FLEXT_SYS=1";
+ GENERATE_PKGINFO_FILE = YES;
+ HEADER_SEARCH_PATHS = (
+ "$(maxsdk)/max-includes",
+ "$(maxsdk)/msp-includes",
+ "$(flext)/source",
+ );
+ INFOPLIST_FILE = "source/xsample-Info.plist";
+ INSTALL_PATH = "/Library/Application Support/Cycling 74/externals/flext";
+ LIBRARY_SEARCH_PATHS = "$(flext)/build";
+ LIBRARY_STYLE = DYNAMIC;
+ OTHER_CFLAGS = "";
+ OTHER_REZFLAGS = "";
+ PRODUCT_NAME = xsample;
+ SECTORDER_FLAGS = "";
+ WARNING_CFLAGS = (
+ "-Wmost",
+ "-Wno-four-char-constants",
+ "-Wno-unknown-pragmas",
+ );
+ WRAPPER_EXTENSION = mxo;
+ };
+ name = Default;
+ };
+ E9A5BC930A33819900AD9F03 /* Development */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ };
+ name = Development;
+ };
+ E9A5BC940A33819900AD9F03 /* Deployment */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ };
+ name = Deployment;
+ };
+ E9A5BC950A33819900AD9F03 /* Default */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ };
+ name = Default;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ E9A5BC8A0A33819900AD9F03 /* Build configuration list for PBXNativeTarget "pd static" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E9A5BC8B0A33819900AD9F03 /* Development */,
+ E9A5BC8C0A33819900AD9F03 /* Deployment */,
+ E9A5BC8D0A33819900AD9F03 /* Default */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Default;
+ };
+ E9A5BC8E0A33819900AD9F03 /* Build configuration list for PBXNativeTarget "max static" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E9A5BC8F0A33819900AD9F03 /* Development */,
+ E9A5BC900A33819900AD9F03 /* Deployment */,
+ E9A5BC910A33819900AD9F03 /* Default */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Default;
+ };
+ E9A5BC920A33819900AD9F03 /* Build configuration list for PBXProject "xsample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ E9A5BC930A33819900AD9F03 /* Development */,
+ E9A5BC940A33819900AD9F03 /* Deployment */,
+ E9A5BC950A33819900AD9F03 /* Default */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Default;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
+}