Commit b4c7ff20 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

update iem_spec2 to Sourceforge svn

parent 3e9603e3
# Microsoft Developer Studio Project File - Name="iem_spec2" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** NICHT BEARBEITEN **
# TARGTYPE "Win32 (x86) External Target" 0x0106
CFG=iem_spec2 - Win32 Debug
!MESSAGE Dies ist kein gltiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und fhren Sie den Befehl
!MESSAGE
!MESSAGE NMAKE /f "iem_spec2.mak".
!MESSAGE
!MESSAGE Sie knnen beim Ausfhren von NMAKE eine Konfiguration angeben
!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
!MESSAGE
!MESSAGE NMAKE /f "iem_spec2.mak" CFG="iem_spec2 - Win32 Debug"
!MESSAGE
!MESSAGE Fr die Konfiguration stehen zur Auswahl:
!MESSAGE
!MESSAGE "iem_spec2 - Win32 Release" (basierend auf "Win32 (x86) External Target")
!MESSAGE "iem_spec2 - Win32 Debug" (basierend auf "Win32 (x86) External Target")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
!IF "$(CFG)" == "iem_spec2 - Win32 Release"
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
# PROP BASE Rebuild_Opt "/a"
# PROP BASE Target_File "makefile_win.exe"
# PROP BASE Bsc_Name "makefile_win.bsc"
# PROP BASE Target_Dir ""
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Cmd_Line "NMAKE /f makefile_win"
# PROP Rebuild_Opt "/a"
# PROP Target_File "iem_spec2.exe"
# PROP Bsc_Name "iem_spec2.bsc"
# PROP Target_Dir ""
!ELSEIF "$(CFG)" == "iem_spec2 - Win32 Debug"
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Cmd_Line "NMAKE /f makefile_win"
# PROP BASE Rebuild_Opt "/a"
# PROP BASE Target_File "makefile_win.exe"
# PROP BASE Bsc_Name "makefile_win.bsc"
# PROP BASE Target_Dir ""
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Cmd_Line "NMAKE /f makefile_win"
# PROP Rebuild_Opt "/a"
# PROP Target_File "iem_spec2.exe"
# PROP Bsc_Name "iem_spec2.bsc"
# PROP Target_Dir ""
!ENDIF
# Begin Target
# Name "iem_spec2 - Win32 Release"
# Name "iem_spec2 - Win32 Debug"
!IF "$(CFG)" == "iem_spec2 - Win32 Release"
!ELSEIF "$(CFG)" == "iem_spec2 - Win32 Debug"
!ENDIF
# Begin Source File
SOURCE=.\makefile_win
# End Source File
# End Target
# End Project
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELSCHT WERDEN!
###############################################################################
Project: "iem_spec2"=.\iem_spec2.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
all: ..\iem_spec2.dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98"
PD_INST_PATH = "C:\Programme\pd"
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN
PD_WIN_L_FLAGS = /nologo
PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid \
$(VIS_CPP_PATH)\lib\libc.lib \
$(VIS_CPP_PATH)\lib\oldnames.lib \
$(VIS_CPP_PATH)\lib\kernel32.lib \
$(VIS_CPP_PATH)\lib\wsock32.lib \
$(VIS_CPP_PATH)\lib\winmm.lib \
$(PD_INST_PATH)\bin\pd.lib
SRC = spec2_1p1z_freq~.c \
spec2_1p1z_time~.c \
spec2_abs~.c \
spec2_add_scalar~.c \
spec2_add~.c \
spec2_block_delay~.c \
spec2_clip_max~.c \
spec2_clip_min~.c \
spec2_dbtopow~.c \
spec2_dbtorms~.c \
spec2_matrix_bundle_stat~.c \
spec2_mul_scalar~.c \
spec2_mul~.c \
spec2_powtodb~.c \
spec2_rmstodb~.c \
spec2_shift~.c \
spec2_sqrt~.c \
spec2_stretch~.c \
spec2_sub~.c \
spec2_sum~.c \
spec2_tab_conv~.c \
spec2_tabreceive_enable~.c \
spec2_tabreceive~.c \
iem_spec2.c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
..\iem_spec2.dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:iem_spec2_setup \
/out:..\iem_spec2.dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="iem_spec2"
ProjectGUID="{6A44952F-0D55-44EE-9032-928368583BEC}"
SccProjectName=""
SccLocalPath=""
Keyword="MakeFileProj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc7proj"
ReBuildCommandLine="NMAKE /f makefile_vc7proj /a"
Output="iem_spec2.exe"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc7proj"
ReBuildCommandLine="NMAKE /f makefile_vc7proj /a"
Output="iem_spec2.exe"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="iem_spec2.bsc">
</File>
<File
RelativePath="makefile_vc7proj">
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
TARGET = iem_spec2
all: ..\$(TARGET).dll
VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio .NET 2003\Vc7"
VIS_SDK_PATH = "C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK"
PD_INST_PATH = "C:\Programme\pd-0.42-5"
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -D_CRT_SECURE_NO_WARNINGS
PD_WIN_L_FLAGS = /nologo
PD_WIN_LIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \
$(VIS_CPP_PATH)\lib\libcmt.lib \
$(VIS_CPP_PATH)\lib\oldnames.lib \
$(VIS_SDK_PATH)\lib\kernel32.lib \
$(PD_INST_PATH)\bin\pd.lib
SRC = spec2_1p1z_freq~.c \
spec2_1p1z_time~.c \
spec2_abs~.c \
spec2_add_scalar~.c \
spec2_add~.c \
spec2_block_delay~.c \
spec2_clip_max~.c \
spec2_clip_min~.c \
spec2_dbtopow~.c \
spec2_dbtorms~.c \
spec2_matrix_bundle_stat~.c \
spec2_mul_scalar~.c \
spec2_mul~.c \
spec2_powtodb~.c \
spec2_rmstodb~.c \
spec2_shift~.c \
spec2_sqrt~.c \
spec2_stretch~.c \
spec2_sub~.c \
spec2_sum~.c \
spec2_tab_conv~.c \
spec2_tabreceive_enable~.c \
spec2_tabreceive~.c \
iem_spec2.c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
..\$(TARGET).dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:$(TARGET)_setup \
/out:..\$(TARGET).dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_spec2", "iem_spec2.vcproj", "{6A44952F-0D55-44EE-9032-928368583BEC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.ActiveCfg = Debug|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.Build.0 = Debug|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.ActiveCfg = Release|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="iem_spec2"
ProjectGUID="{6A44952F-0D55-44EE-9032-928368583BEC}"
Keyword="MakeFileProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc9proj"
ReBuildCommandLine="NMAKE /f makefile_vc9proj /a"
CleanCommandLine=""
Output="iem_spec2.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc9proj"
ReBuildCommandLine="NMAKE /f makefile_vc9proj /a"
CleanCommandLine=""
Output="iem_spec2.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="iem_spec2.bsc"
>
</File>
<File
RelativePath="makefile_vc9proj"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
TARGET = iem_spec2
all: ..\$(TARGET).dll
VIS_CPP_PATH = "C:\Program Files\Microsoft Visual Studio 9.0\VC"
VIS_SDK_PATH = "C:\Program Files\Microsoft SDKs\Windows\v6.0A"
PD_INST_PATH = "C:\Program Files\pd-0.43.0"
PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -D_CRT_SECURE_NO_WARNINGS
PD_WIN_L_FLAGS = /nologo
PD_WIN_LIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \
$(VIS_CPP_PATH)\lib\libcmt.lib \
$(VIS_CPP_PATH)\lib\oldnames.lib \
$(VIS_SDK_PATH)\lib\kernel32.lib \
$(PD_INST_PATH)\bin\pd.lib
SRC = spec2_1p1z_freq~.c \
spec2_1p1z_time~.c \
spec2_abs~.c \
spec2_add_scalar~.c \
spec2_add~.c \
spec2_block_delay~.c \
spec2_clip_max~.c \
spec2_clip_min~.c \
spec2_dbtopow~.c \
spec2_dbtorms~.c \
spec2_matrix_bundle_stat~.c \
spec2_mul_scalar~.c \
spec2_mul~.c \
spec2_powtodb~.c \
spec2_rmstodb~.c \
spec2_shift~.c \
spec2_sqrt~.c \
spec2_stretch~.c \
spec2_sub~.c \
spec2_sum~.c \
spec2_tab_conv~.c \
spec2_tabreceive_enable~.c \
spec2_tabreceive~.c \
iem_spec2.c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
..\$(TARGET).dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:$(TARGET)_setup \
/out:..\$(TARGET).dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_spec2", "iem_spec2.vcproj", "{6A44952F-0D55-44EE-9032-928368583BEC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.ActiveCfg = Debug|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.Build.0 = Debug|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.ActiveCfg = Release|Win32
{6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="iem_spec2"
ProjectGUID="{6A44952F-0D55-44EE-9032-928368583BEC}"
Keyword="MakeFileProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc9proj"
ReBuildCommandLine="NMAKE /f makefile_vc9proj /a"
CleanCommandLine=""
Output="iem_spec2.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="0"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCNMakeTool"
BuildCommandLine="NMAKE /f makefile_vc9proj"
ReBuildCommandLine="NMAKE /f makefile_vc9proj /a"
CleanCommandLine=""
Output="iem_spec2.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="iem_spec2.bsc"
>
</File>
<File
RelativePath="makefile_vc9proj"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
iemlib written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2009 */
iemlib written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2012 */
#ifndef __IEMLIB_H__
#define __IEMLIB_H__
#define IS_A_NULL(atom,index) ((atom+index)->a_type == A_NULL)
#define IS_A_POINTER(atom,index) ((atom+index)->a_type == A_POINTER)
#define IS_A_FLOAT(atom,index) ((atom+index)->a_type == A_FLOAT)
#define IS_A_SYMBOL(atom,index) ((atom+index)->a_type == A_SYMBOL)
......@@ -15,6 +16,8 @@ iemlib written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2009 *
#define IS_A_SEMI(atom,index) ((atom+index)->a_type == A_SEMI)
#define IS_A_COMMA(atom,index) ((atom+index)->a_type == A_COMMA)
#define SETNULL(atom) ((atom)->a_type = A_NULL)
/* now miller's code starts :
for 4 point interpolation
for lookup tables
......@@ -53,11 +56,11 @@ extern int sys_noloadbang;
#define int32 long
#endif /* MSW */
#if defined(__FreeBSD__) || defined(__APPLE__)
#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
#include <machine/endian.h>
#endif
#ifdef __linux__
#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID)
#include <endian.h>
#endif
......@@ -100,7 +103,7 @@ union tabfudge_f
#endif
/* on 64bit systems we cannot use garray_getfloatarray... */
#if (defined __x86_64__)
#if ((defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 40))
# define iemarray_t t_word
# define iemarray_getarray garray_getfloatwords
# define iemarray_getfloat(pointer, index) (pointer[index].w_float)
......@@ -112,5 +115,4 @@ union tabfudge_f
# define iemarray_setfloat(pointer, index, fvalue) (pointer[index] = fvalue)
#endif
#endif
TARGET = iem_spec2
all: ..\$(TARGET).dll
VIS_CPP_PATH = "$(PROGRAMFILES)\Microsoft Visual Studio 9.0\VC"
VIS_SDK_PATH = "$(PROGRAMFILES)\Microsoft SDKs\Windows\v6.0A"
PD_INST_PATH = "$(PROGRAMFILES)\pd"
PD_WIN_INCLUDE_PATH = /I. /I..\..\include /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include
PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /DHAVE_G_CANVAS_H /Ox -D_CRT_SECURE_NO_WARNINGS
PD_WIN_L_FLAGS = /nologo
PD_WIN_LIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \
$(VIS_CPP_PATH)\lib\libcmt.lib \
$(VIS_CPP_PATH)\lib\oldnames.lib \
$(VIS_SDK_PATH)\lib\kernel32.lib \
$(PD_INST_PATH)\bin\pd.lib
SRC = spec2_1p1z_freq~.c \
spec2_1p1z_time~.c \
spec2_abs~.c \
spec2_add_scalar~.c \
spec2_add~.c \
spec2_block_delay~.c \
spec2_clip_max~.c \
spec2_clip_min~.c \
spec2_dbtopow~.c \
spec2_dbtorms~.c \
spec2_matrix_bundle_stat~.c \
spec2_mul_scalar~.c \
spec2_mul~.c \
spec2_powtodb~.c \
spec2_rmstodb~.c \
spec2_shift~.c \
spec2_sqrt~.c \
spec2_stretch~.c \
spec2_sub~.c \
spec2_sum~.c \
spec2_tab_conv~.c \