Adapted to current sources and added build projects.

This commit is contained in:
Norbert Schnell 2009-01-16 23:09:57 +00:00
parent 2e5e52bd7a
commit bb3e77e5ab
10 changed files with 862 additions and 10 deletions

View file

@ -54,9 +54,9 @@ RELASE NOTES of version 04/2004 (release 6)
- introduced a message "info" in order to query the current state of tuning-octave
_____________________________________________________________________
CVS DIRECTORY
SVN DIRECTORY
cvs repository: savannah.nongnu.org:/cvsroot/fluid
svn repository: https://resonance.org/svn/fluidsynth/trunk/fluidsynth
Max/MSP implementation directory: bindings/fluidmax
The fluidsynth directory in the fluidmax directory contains only a version.h which is just added for the case that the version.h file in the fluidsynth checkout is not (auto-)"maked" or generated otherwise.

View file

@ -0,0 +1,339 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXBuildFile section */
3B1863D00B2DACF200083EB3 /* fluidmax_fakefuns.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863CE0B2DACF200083EB3 /* fluidmax_fakefuns.c */; };
3B1863D10B2DACF200083EB3 /* fluidmax.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863CF0B2DACF200083EB3 /* fluidmax.c */; };
3B1863E20B2DAD7800083EB3 /* fluid_chan.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D30B2DAD7800083EB3 /* fluid_chan.c */; };
3B1863E30B2DAD7800083EB3 /* fluid_chorus.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D40B2DAD7800083EB3 /* fluid_chorus.c */; };
3B1863E40B2DAD7800083EB3 /* fluid_conv.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D50B2DAD7800083EB3 /* fluid_conv.c */; };
3B1863E50B2DAD7800083EB3 /* fluid_defsfont.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D60B2DAD7800083EB3 /* fluid_defsfont.c */; };
3B1863E60B2DAD7800083EB3 /* fluid_gen.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D70B2DAD7800083EB3 /* fluid_gen.c */; };
3B1863E70B2DAD7800083EB3 /* fluid_hash.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D80B2DAD7800083EB3 /* fluid_hash.c */; };
3B1863E80B2DAD7800083EB3 /* fluid_list.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863D90B2DAD7800083EB3 /* fluid_list.c */; };
3B1863E90B2DAD7800083EB3 /* fluid_mod.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863DA0B2DAD7800083EB3 /* fluid_mod.c */; };
3B1863EA0B2DAD7800083EB3 /* fluid_ramsfont.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863DB0B2DAD7800083EB3 /* fluid_ramsfont.c */; };
3B1863EB0B2DAD7800083EB3 /* fluid_rev.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863DC0B2DAD7800083EB3 /* fluid_rev.c */; };
3B1863EC0B2DAD7800083EB3 /* fluid_settings.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863DD0B2DAD7800083EB3 /* fluid_settings.c */; };
3B1863EE0B2DAD7800083EB3 /* fluid_synth.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863DF0B2DAD7800083EB3 /* fluid_synth.c */; };
3B1863EF0B2DAD7800083EB3 /* fluid_tuning.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863E00B2DAD7800083EB3 /* fluid_tuning.c */; };
3B1863F00B2DAD7800083EB3 /* fluid_voice.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B1863E10B2DAD7800083EB3 /* fluid_voice.c */; };
3BC6778E0ADB9F2E0064088F /* MaxAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BC6778C0ADB9F2E0064088F /* MaxAPI.framework */; };
3BC6778F0ADB9F2E0064088F /* MaxAudioAPI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BC6778D0ADB9F2E0064088F /* MaxAudioAPI.framework */; };
5CA4036E0F1F689D0054E6B0 /* fluid_dsp_float.c in Sources */ = {isa = PBXBuildFile; fileRef = 5CA4036D0F1F689D0054E6B0 /* fluid_dsp_float.c */; };
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
3B1863CE0B2DACF200083EB3 /* fluidmax_fakefuns.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluidmax_fakefuns.c; path = bindings/fluidmax/fluidmax_fakefuns.c; sourceTree = "<group>"; };
3B1863CF0B2DACF200083EB3 /* fluidmax.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluidmax.c; path = bindings/fluidmax/fluidmax.c; sourceTree = "<group>"; };
3B1863D30B2DAD7800083EB3 /* fluid_chan.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_chan.c; path = ../../../../src/fluid_chan.c; sourceTree = SOURCE_ROOT; };
3B1863D40B2DAD7800083EB3 /* fluid_chorus.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_chorus.c; path = ../../../../src/fluid_chorus.c; sourceTree = SOURCE_ROOT; };
3B1863D50B2DAD7800083EB3 /* fluid_conv.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_conv.c; path = ../../../../src/fluid_conv.c; sourceTree = SOURCE_ROOT; };
3B1863D60B2DAD7800083EB3 /* fluid_defsfont.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_defsfont.c; path = ../../../../src/fluid_defsfont.c; sourceTree = SOURCE_ROOT; };
3B1863D70B2DAD7800083EB3 /* fluid_gen.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_gen.c; path = ../../../../src/fluid_gen.c; sourceTree = SOURCE_ROOT; };
3B1863D80B2DAD7800083EB3 /* fluid_hash.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_hash.c; path = ../../../../src/fluid_hash.c; sourceTree = SOURCE_ROOT; };
3B1863D90B2DAD7800083EB3 /* fluid_list.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_list.c; path = ../../../../src/fluid_list.c; sourceTree = SOURCE_ROOT; };
3B1863DA0B2DAD7800083EB3 /* fluid_mod.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_mod.c; path = ../../../../src/fluid_mod.c; sourceTree = SOURCE_ROOT; };
3B1863DB0B2DAD7800083EB3 /* fluid_ramsfont.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_ramsfont.c; path = ../../../../src/fluid_ramsfont.c; sourceTree = SOURCE_ROOT; };
3B1863DC0B2DAD7800083EB3 /* fluid_rev.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_rev.c; path = ../../../../src/fluid_rev.c; sourceTree = SOURCE_ROOT; };
3B1863DD0B2DAD7800083EB3 /* fluid_settings.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_settings.c; path = ../../../../src/fluid_settings.c; sourceTree = SOURCE_ROOT; };
3B1863DF0B2DAD7800083EB3 /* fluid_synth.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_synth.c; path = ../../../../src/fluid_synth.c; sourceTree = SOURCE_ROOT; };
3B1863E00B2DAD7800083EB3 /* fluid_tuning.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_tuning.c; path = ../../../../src/fluid_tuning.c; sourceTree = SOURCE_ROOT; };
3B1863E10B2DAD7800083EB3 /* fluid_voice.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = fluid_voice.c; path = ../../../../src/fluid_voice.c; sourceTree = SOURCE_ROOT; };
3BC6778C0ADB9F2E0064088F /* MaxAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MaxAPI.framework; path = /Library/Frameworks/MaxAPI.framework; sourceTree = "<absolute>"; };
3BC6778D0ADB9F2E0064088F /* MaxAudioAPI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MaxAudioAPI.framework; path = /Library/Frameworks/MaxAudioAPI.framework; sourceTree = "<absolute>"; };
5CA4036D0F1F689D0054E6B0 /* fluid_dsp_float.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fluid_dsp_float.c; sourceTree = "<group>"; };
8D01CCD20486CAD60068D4B7 /* fluidsynth~.mxo */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "fluidsynth~.mxo"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8D01CCCD0486CAD60068D4B7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */,
3BC6778E0ADB9F2E0064088F /* MaxAPI.framework in Frameworks */,
3BC6778F0ADB9F2E0064088F /* MaxAudioAPI.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* yin */ = {
isa = PBXGroup;
children = (
08FB77ADFE841716C02AAC07 /* Sources */,
089C1671FE841209C02AAC07 /* Frameworks */,
19C28FB4FE9D528D11CA2CBB /* Products */,
);
name = yin;
sourceTree = "<group>";
};
089C1671FE841209C02AAC07 /* Frameworks */ = {
isa = PBXGroup;
children = (
3BC6778C0ADB9F2E0064088F /* MaxAPI.framework */,
3BC6778D0ADB9F2E0064088F /* MaxAudioAPI.framework */,
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
08FB77ADFE841716C02AAC07 /* Sources */ = {
isa = PBXGroup;
children = (
3B1863D20B2DACFC00083EB3 /* fluidsynth */,
3B1863CE0B2DACF200083EB3 /* fluidmax_fakefuns.c */,
3B1863CF0B2DACF200083EB3 /* fluidmax.c */,
);
name = Sources;
path = ../../../..;
sourceTree = SOURCE_ROOT;
};
19C28FB4FE9D528D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8D01CCD20486CAD60068D4B7 /* fluidsynth~.mxo */,
);
name = Products;
sourceTree = "<group>";
};
3B1863D20B2DACFC00083EB3 /* fluidsynth */ = {
isa = PBXGroup;
children = (
3B1863D30B2DAD7800083EB3 /* fluid_chan.c */,
3B1863D40B2DAD7800083EB3 /* fluid_chorus.c */,
3B1863D50B2DAD7800083EB3 /* fluid_conv.c */,
3B1863D60B2DAD7800083EB3 /* fluid_defsfont.c */,
3B1863D70B2DAD7800083EB3 /* fluid_gen.c */,
3B1863D80B2DAD7800083EB3 /* fluid_hash.c */,
3B1863D90B2DAD7800083EB3 /* fluid_list.c */,
3B1863DA0B2DAD7800083EB3 /* fluid_mod.c */,
3B1863DB0B2DAD7800083EB3 /* fluid_ramsfont.c */,
3B1863DC0B2DAD7800083EB3 /* fluid_rev.c */,
3B1863DD0B2DAD7800083EB3 /* fluid_settings.c */,
3B1863DF0B2DAD7800083EB3 /* fluid_synth.c */,
3B1863E00B2DAD7800083EB3 /* fluid_tuning.c */,
3B1863E10B2DAD7800083EB3 /* fluid_voice.c */,
5CA4036D0F1F689D0054E6B0 /* fluid_dsp_float.c */,
);
name = fluidsynth;
path = src;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
8D01CCC60486CAD60068D4B7 /* fluidsynth~ */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "fluidsynth~" */;
buildPhases = (
8D01CCCB0486CAD60068D4B7 /* Sources */,
8D01CCCD0486CAD60068D4B7 /* Frameworks */,
3BC677940ADB9F6C0064088F /* ShellScript */,
);
buildRules = (
);
dependencies = (
);
name = "fluidsynth~";
productInstallPath = "$(HOME)/Library/Bundles";
productName = yin;
productReference = 8D01CCD20486CAD60068D4B7 /* fluidsynth~.mxo */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "fluidmax" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 089C166AFE841209C02AAC07 /* yin */;
projectDirPath = "";
projectRoot = "";
targets = (
8D01CCC60486CAD60068D4B7 /* fluidsynth~ */,
);
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
3BC677940ADB9F6C0064088F /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "NAME=$WRAPPER_NAME\nDEST=$PROJECT_DIR/$EXTERNALS_DIR\nORIG=$TARGET_BUILD_DIR/$NAME\nPROD=$DEST/$NAME\n\n# set bundle bit for mxo's (on some installations, they show up as directories)\n/Developer/Tools/SetFile -a B $ORIG\n\nif test -d \"$PROD\"; then\n\trm -f -r \"$PROD\"\nfi\ncp -R $ORIG $DEST\n\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
8D01CCCB0486CAD60068D4B7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3B1863D00B2DACF200083EB3 /* fluidmax_fakefuns.c in Sources */,
3B1863D10B2DACF200083EB3 /* fluidmax.c in Sources */,
3B1863E20B2DAD7800083EB3 /* fluid_chan.c in Sources */,
3B1863E30B2DAD7800083EB3 /* fluid_chorus.c in Sources */,
3B1863E40B2DAD7800083EB3 /* fluid_conv.c in Sources */,
3B1863E50B2DAD7800083EB3 /* fluid_defsfont.c in Sources */,
3B1863E60B2DAD7800083EB3 /* fluid_gen.c in Sources */,
3B1863E70B2DAD7800083EB3 /* fluid_hash.c in Sources */,
3B1863E80B2DAD7800083EB3 /* fluid_list.c in Sources */,
3B1863E90B2DAD7800083EB3 /* fluid_mod.c in Sources */,
3B1863EA0B2DAD7800083EB3 /* fluid_ramsfont.c in Sources */,
3B1863EB0B2DAD7800083EB3 /* fluid_rev.c in Sources */,
3B1863EC0B2DAD7800083EB3 /* fluid_settings.c in Sources */,
3B1863EE0B2DAD7800083EB3 /* fluid_synth.c in Sources */,
3B1863EF0B2DAD7800083EB3 /* fluid_tuning.c in Sources */,
3B1863F00B2DAD7800083EB3 /* fluid_voice.c in Sources */,
5CA4036E0F1F689D0054E6B0 /* fluid_dsp_float.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
4FADC23408B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = (
/System/Library/Frameworks,
/Library/Frameworks,
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "/Library/Frameworks/MaxAPI.framework/Versions/A/Headers/macho-prefix.h";
GCC_PREPROCESSOR_DEFINITIONS = FLUIDMAX;
HEADER_SEARCH_PATHS = (
../..,
../../../../src,
../../../../include/,
/Library/Frameworks/MaxAPI.framework/Versions/A/Headers,
/Library/Frameworks/MaxAudioAPI.framework/Versions/A/Headers,
);
INFOPLIST_FILE = maxternal.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles";
PRODUCT_NAME = "fluidsynth~";
WRAPPER_EXTENSION = mxo;
};
name = Debug;
};
4FADC23508B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
FRAMEWORK_SEARCH_PATHS = (
/System/Library/Frameworks,
/Library/Frameworks,
);
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "/Library/Frameworks/MaxAPI.framework/Versions/A/Headers/macho-prefix.h";
GCC_PREPROCESSOR_DEFINITIONS = FLUIDMAX;
HEADER_SEARCH_PATHS = (
../..,
../../../../src,
../../../../include/,
/Library/Frameworks/MaxAPI.framework/Versions/A/Headers,
/Library/Frameworks/MaxAudioAPI.framework/Versions/A/Headers,
);
INFOPLIST_FILE = maxternal.plist;
INSTALL_PATH = "$(HOME)/Library/Bundles";
PRODUCT_NAME = "fluidsynth~";
WRAPPER_EXTENSION = mxo;
};
name = Release;
};
4FADC23808B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
EXTERNALS_DIR = ../..;
FRAMEWORK_SEARCH_PATHS = (
/System/Library/Frameworks,
/Library/Frameworks,
);
GCC_PREPROCESSOR_DEFINITIONS = (
HAVE_STRING_H,
HAVE_STDLIB_H,
HAVE_STDIO_H,
HAVE_MATH_H,
HAVE_STDARG_H,
WORDS_BIGENDIAN,
);
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Debug;
};
4FADC23908B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
ppc,
i386,
);
EXTERNALS_DIR = ../..;
FRAMEWORK_SEARCH_PATHS = (
/System/Library/Frameworks,
/Library/Frameworks,
);
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "fluidsynth~" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23408B4156C00ABE55E /* Debug */,
4FADC23508B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "fluidmax" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23808B4156C00ABE55E /* Debug */,
4FADC23908B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 089C1669FE841209C02AAC07 /* Project object */;
}

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>iLaX</string>
</dict>
</plist>

View file

@ -0,0 +1,6 @@
;fluidsynth.def
LIBRARY fluidsynth~.mxe
EXPORTS
main

View file

@ -0,0 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fluidsynth", "fluidsynth.vcproj", "{73069FC3-D989-47DB-B15F-625703EED4DA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{73069FC3-D989-47DB-B15F-625703EED4DA}.Debug|Win32.ActiveCfg = Debug|Win32
{73069FC3-D989-47DB-B15F-625703EED4DA}.Debug|Win32.Build.0 = Debug|Win32
{73069FC3-D989-47DB-B15F-625703EED4DA}.Release|Win32.ActiveCfg = Release|Win32
{73069FC3-D989-47DB-B15F-625703EED4DA}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,324 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="8,00"
Name="fluidsynth"
ProjectGUID="{73069FC3-D989-47DB-B15F-625703EED4DA}"
RootNamespace="yin"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
GenerateTypeLibrary="false"
TypeLibraryName=""
HeaderFileName=""
DLLDataFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="&quot;..\..\..\..\..\MaxWinSDK\c74support\msp-includes&quot;;&quot;..\..\..\..\..\MaxWinSDK\c74support\max-includes&quot;;..\..;..\..\..\..\src;..\..\..\..\include"
PreprocessorDefinitions="WIN_VERSION;WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;FLUIDSYNTH_DLL_EXPORTS;FLUIDSYNTH_SEQ_DLL_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
MinimalRebuild="true"
ExceptionHandling="1"
BasicRuntimeChecks="0"
RuntimeLibrary="3"
StructMemberAlignment="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="ext.h"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
UseLibraryDependencyInputs="false"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies=" MaxAPI.lib MaxAudio.lib"
ShowProgress="0"
OutputFile="fluidsynth~.mxe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;..\..\..\..\..\MaxWinSDK\c74support\msp-includes\&quot;;&quot;..\..\..\..\..\MaxWinSDK\c74support\max-includes\&quot;"
IgnoreAllDefaultLibraries="false"
IgnoreDefaultLibraryNames=""
ModuleDefinitionFile=".\fluidsynth.def"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="copy &quot;$(TargetPath)&quot; &quot;C:\Program Files\Fichiers communs\Cycling &apos;74\externals\&quot;&#x0D;&#x0A;copy &quot;$(TargetPath)&quot; &quot;C:\Program Files\Cycling &apos;74\MaxMSP 4.6\Cycling &apos;74\externals\&quot;&#x0D;&#x0A;"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="true"
SuppressStartupBanner="true"
TargetEnvironment="1"
GenerateTypeLibrary="false"
TypeLibraryName=""
HeaderFileName=""
DLLDataFileName=""
/>
<Tool
Name="VCCLCompilerTool"
Optimization="3"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="&quot;..\..\..\..\..\MaxWinSDK\c74support\msp-includes&quot;;&quot;..\..\..\..\..\MaxWinSDK\c74support\max-includes&quot;;..\..;..\..\..\..\src;..\..\..\..\include"
PreprocessorDefinitions="WIN_VERSION;WIN32;NDEBUG;_WINDOWS;_USRDLL;WIN_EXT_VERSION;FLUIDSYNTH_DLL_EXPORTS;FLUIDSYNTH_SEQ_DLL_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
StringPooling="true"
ExceptionHandling="0"
RuntimeLibrary="2"
StructMemberAlignment="2"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="false"
UsePrecompiledHeader="0"
PrecompiledHeaderThrough="ext.h"
WarningLevel="3"
SuppressStartupBanner="true"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="MaxAPI.lib MaxAudio.lib"
OutputFile="fluidsynth~.mxe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;..\..\..\..\..\MaxWinSDK\c74support\msp-includes\&quot;;&quot;..\..\..\..\..\MaxWinSDK\c74support\max-includes\&quot;"
IgnoreAllDefaultLibraries="false"
ModuleDefinitionFile=".\fluidsynth.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
CommandLine="copy &quot;$(TargetPath)&quot; &quot;C:\Program Files\Fichiers communs\Cycling &apos;74\externals\maxternals\&quot;&#x0D;&#x0A;copy &quot;$(TargetPath)&quot; &quot;C:\Program Files\Cycling &apos;74\MaxMSP 4.6\Cycling &apos;74\externals\maxternals\&quot;&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
<File
RelativePath="..\..\fluidmax.c"
>
</File>
<File
RelativePath="..\..\fluidmax_fakefuns.c"
>
</File>
<Filter
Name="fluidsynth"
>
<File
RelativePath="..\..\..\..\src\fluid_chan.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_chorus.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_conv.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_defsfont.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_gen.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_hash.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_list.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_mod.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_ramsfont.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_rev.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_settings.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_strtok.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_synth.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_tuning.c"
>
</File>
<File
RelativePath="..\..\..\..\src\fluid_voice.c"
>
</File>
</Filter>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl"
>
</Filter>
<Filter
Name="Resource Files"
>
<File
RelativePath=".\fluidsynth.def"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -1,16 +1,12 @@
#define MACINTOSH
#define MACOS9
#define HAVE_STRING_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDIO_H 1
#define HAVE_MATH_H 1
#define HAVE_STDARG_H 1
#if defined(__POWERPC__)
#define WORDS_BIGENDIAN 1
#endif
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#undef WITH_PROFILING
#define __Types__

View file

@ -26,6 +26,16 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
/*
* This file contains the (mostly empty) implementation of some functions without
* which Fluidsynth wouldn't compile.
*
* The Max/MSP version of FluidSynth tries to link only with a minimum of needed
* files. Some of the linked files depend on functions that are not necessary
* and that are implemnted in files we don't want to include. So, alternate or empty
* implemntations of these functions are provided here.
*
*/
#include "ftmax.h"
#include "fluidsynth.h"
#include "fluidsynth_priv.h"
@ -60,6 +70,72 @@ fluid_sys_config()
{
}
char*
fluid_error()
{
return NULL;
}
/* This code is (unelegantly) copied from fluid_sys.c since other parts of fluid_sys.c
* that we don't need here depend on many other things that we don't want here. */
char *
fluid_strtok (char **str, char *delim)
{
char *s, *d, *token;
char c;
if (str == NULL || delim == NULL || !*delim)
{
FLUID_LOG(FLUID_ERR, "Null pointer");
return NULL;
}
s = *str;
if (!s) return NULL; /* str points to a NULL pointer? (tokenize already ended) */
/* skip delimiter chars at beginning of token */
do
{
c = *s;
if (!c) /* end of source string? */
{
*str = NULL;
return NULL;
}
for (d = delim; *d; d++) /* is source char a token char? */
{
if (c == *d) /* token char match? */
{
s++; /* advance to next source char */
break;
}
}
} while (*d); /* while token char match */
token = s; /* start of token found */
/* search for next token char or end of source string */
for (s = s+1; *s; s++)
{
c = *s;
for (d = delim; *d; d++) /* is source char a token char? */
{
if (c == *d) /* token char match? */
{
*s = '\0'; /* overwrite token char with zero byte to terminate token */
*str = s+1; /* update str to point to beginning of next token */
return token;
}
}
}
/* we get here only if source string ended */
*str = NULL;
return token;
}
int
fluid_log(int level, char* fmt, ...)
{
@ -92,3 +168,85 @@ fluid_midi_driver_settings(fluid_settings_t *settings)
{
fluid_settings_register_str(settings, "midi.driver", "", 0, NULL, NULL);
}
int fluid_midi_event_get_type(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_type(fluid_midi_event_t* evt, int type)
{
return FLUID_OK;
}
int fluid_midi_event_get_channel(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_channel(fluid_midi_event_t* evt, int chan)
{
return FLUID_OK;
}
int fluid_midi_event_get_key(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_key(fluid_midi_event_t* evt, int v)
{
return FLUID_OK;
}
int fluid_midi_event_get_velocity(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_velocity(fluid_midi_event_t* evt, int v)
{
return FLUID_OK;
}
int fluid_midi_event_get_control(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_control(fluid_midi_event_t* evt, int v)
{
return FLUID_OK;
}
int fluid_midi_event_get_value(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_value(fluid_midi_event_t* evt, int v)
{
return FLUID_OK;
}
int fluid_midi_event_get_program(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_program(fluid_midi_event_t* evt, int val)
{
return FLUID_OK;
}
int fluid_midi_event_get_pitch(fluid_midi_event_t* evt)
{
return 0;
}
int fluid_midi_event_set_pitch(fluid_midi_event_t* evt, int val)
{
return FLUID_OK;
}