Commit 24e5fc0f authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

sync iem_tab library with Pd-l2ork (probably a commit that I missed awhile back)

parent 8db4ead2
# Microsoft Developer Studio Project File - Name="iem_tab" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** NICHT BEARBEITEN **
# TARGTYPE "Win32 (x86) External Target" 0x0106
CFG=iem_tab - 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_tab.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_tab.mak" CFG="iem_tab - Win32 Debug"
!MESSAGE
!MESSAGE Fr die Konfiguration stehen zur Auswahl:
!MESSAGE
!MESSAGE "iem_tab - Win32 Release" (basierend auf "Win32 (x86) External Target")
!MESSAGE "iem_tab - Win32 Debug" (basierend auf "Win32 (x86) External Target")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
!IF "$(CFG)" == "iem_tab - 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_tab.exe"
# PROP Bsc_Name "iem_tab.bsc"
# PROP Target_Dir ""
!ELSEIF "$(CFG)" == "iem_tab - 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_tab.exe"
# PROP Bsc_Name "iem_tab.bsc"
# PROP Target_Dir ""
!ENDIF
# Begin Target
# Name "iem_tab - Win32 Release"
# Name "iem_tab - Win32 Debug"
!IF "$(CFG)" == "iem_tab - Win32 Release"
!ELSEIF "$(CFG)" == "iem_tab - 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_tab"=.\iem_tab.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
all: ..\iem_tab.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 = tab_abs.c \
tab_add.c \
tab_add_scalar.c \
tab_carth2polar.c \
tab_complex_inv.c \
tab_complex_mul.c \
tab_const.c \
tab_conv.c \
tab_copy.c \
tab_counter.c \
tab_cross_corr.c \
tab_div.c \
tab_eq.c \
tab_eq_scalar.c \
tab_fft.c \
tab_find_exact_peaks.c \
tab_find_peaks.c \
tab_ge.c \
tab_ge_scalar.c \
tab_gt.c \
tab_gt_scalar.c \
tab_get_size.c \
tab_ifft.c \
tab_le.c \
tab_le_scalar.c \
tab_lt.c \
tab_lt_scalar.c \
tab_max_index.c \
tab_min_index.c \
tab_min_max.c \
tab_mul.c \
tab_mul_scalar.c \
tab_ne.c \
tab_ne_scalar.c \
tab_reverse.c \
tab_rfft.c \
tab_rifft.c \
tab_sqrt.c \
tab_sub.c \
tab_sum.c \
iem_tab.c
OBJ = $(SRC:.c=.obj)
.c.obj:
cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c
..\iem_tab.dll: $(OBJ)
link $(PD_WIN_L_FLAGS) /dll /export:iem_tab_setup \
/out:..\iem_tab.dll $(OBJ) $(PD_WIN_LIB)
clean:
del *.obj
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="iem_tab"
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_tab.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_tab.exe"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="iem_tab.bsc">
</File>
<File
RelativePath="makefile_vc7proj">
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
TARGET = iem_tab
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 = tab_abs.c \
tab_add.c \
tab_add_scalar.c \
tab_carth2polar.c \
tab_complex_inv.c \
tab_complex_mul.c \
tab_const.c \
tab_conv.c \
tab_copy.c \
tab_counter.c \
tab_cross_corr.c \
tab_div.c \
tab_eq.c \
tab_eq_scalar.c \
tab_fft.c \
tab_find_exact_peaks.c \
tab_find_peaks.c \
tab_ge.c \
tab_ge_scalar.c \
tab_gt.c \
tab_gt_scalar.c \
tab_get_size.c \
tab_ifft.c \
tab_le.c \
tab_le_scalar.c \
tab_lt.c \
tab_lt_scalar.c \
tab_max_index.c \
tab_min_index.c \
tab_min_max.c \
tab_mul.c \
tab_mul_scalar.c \
tab_ne.c \
tab_ne_scalar.c \
tab_reverse.c \
tab_rfft.c \
tab_rifft.c \
tab_sqrt.c \
tab_sub.c \
tab_sum.c \
iem_tab.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_tab", "iem_tab.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_tab"
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_tab.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_tab.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="iem_tab.bsc"
>
</File>
<File
RelativePath="makefile_vc9proj"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
TARGET = iem_tab
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 = tab_abs.c \
tab_add.c \
tab_add_scalar.c \
tab_carth2polar.c \
tab_complex_inv.c \
tab_complex_mul.c \
tab_const.c \
tab_conv.c \
tab_copy.c \
tab_counter.c \
tab_cross_corr.c \
tab_div.c \
tab_eq.c \
tab_eq_scalar.c \
tab_fft.c \
tab_find_exact_peaks.c \
tab_find_peaks.c \
tab_ge.c \
tab_ge_scalar.c \
tab_gt.c \
tab_gt_scalar.c \
tab_get_size.c \
tab_ifft.c \
tab_le.c \
tab_le_scalar.c \
tab_lt.c \
tab_lt_scalar.c \
tab_max_index.c \
tab_min_index.c \
tab_min_max.c \
tab_mul.c \
tab_mul_scalar.c \
tab_ne.c \
tab_ne_scalar.c \
tab_reverse.c \
tab_rfft.c \
tab_rifft.c \
tab_sqrt.c \
tab_sub.c \
tab_sum.c \
iem_tab.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
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
iem_tab written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2009 */
iem_tab written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2011 */
#include "m_pd.h"
#include "iemlib.h"
......@@ -56,6 +56,8 @@ void tab_conv_setup(void);
void tab_copy_setup(void);
void tab_counter_setup(void);
void tab_cross_corr_setup(void);
void tab_dbtopow_setup(void);
void tab_dbtorms_setup(void);
void tab_div_setup(void);
void tab_eq_setup(void);
void tab_eq_scalar_setup(void);
......@@ -75,14 +77,15 @@ void tab_lt_scalar_setup(void);
void tab_max_index_setup(void);
void tab_min_index_setup(void);
void tab_min_max_setup(void);
//void tab_mls_setup(void);
void tab_mul_setup(void);
void tab_mul_scalar_setup(void);
void tab_ne_setup(void);
void tab_ne_scalar_setup(void);
void tab_powtodb_setup(void);
void tab_reverse_setup(void);
void tab_rfft_setup(void);
void tab_rifft_setup(void);
void tab_rmstodb_setup(void);
void tab_sqrt_setup(void);
void tab_sub_setup(void);
void tab_sum_setup(void);
......@@ -105,6 +108,8 @@ void iem_tab_setup(void)
tab_copy_setup();
tab_counter_setup();
tab_cross_corr_setup();
tab_dbtopow_setup();
tab_dbtorms_setup();
tab_div_setup();
tab_eq_setup();
tab_eq_scalar_setup();
......@@ -124,19 +129,20 @@ void iem_tab_setup(void)
tab_max_index_setup();
tab_min_index_setup();
tab_min_max_setup();
// tab_mls_setup();
tab_mul_setup();
tab_mul_scalar_setup();
tab_ne_setup();
tab_ne_scalar_setup();
tab_powtodb_setup();
tab_reverse_setup();
tab_rfft_setup();
tab_rifft_setup();
tab_rmstodb_setup();
tab_sqrt_setup();
tab_sub_setup();
tab_sum_setup();
post("iem_tab (R-1.18) library loaded! (c) Thomas Musil 01.2009");
post("iem_tab (R-1.20) library loaded! (c) Thomas Musil 11.2011");
post(" musil%ciem.at iem KUG Graz Austria", '@');
}
......
......@@ -8,8 +8,8 @@ iem_tab written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2009
typedef struct
{
float real;
float imag;
t_float real;
t_float imag;
}
TAB_COMPLEX;
......

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_tab", "iem_tab.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_tab"
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_tab.exe"
PreprocessorDefinitions=""
IncludeSearchPath=""
ForcedIncludes=""
AssemblySearchPath=""
ForcedUsingAssemblies=""
CompileAsManaged=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"