Permalink
Browse files

GH-318: Adding support for targetting .NET Standard 2.0.

  • Loading branch information...
1 parent f99af2a commit 4780e21e41cc70e35b659267c77128d2df1c0c33 @cesarsouza cesarsouza committed Jun 1, 2017
Showing with 19,527 additions and 22,600 deletions.
  1. +1 −0 .gitignore
  2. +14 −0 Setup/Accord.Setup (NETStandard).csproj
  3. +20 −2 Setup/Scripts/UpdateVersion.cs
  4. +29 −0 Sources/Accord.Audio.DirectSound/Accord.Audio.DirectSound (NETStandard).csproj
  5. +25 −0 Sources/Accord.Audio/Accord.Audio (NETStandard).csproj
  6. +0 −2 Sources/Accord.Audio/ComplexFilters/Base/IComplexFilter.cs
  7. +0 −1 Sources/Accord.Audio/ComplexFilters/CombFilter.cs
  8. +0 −1 Sources/Accord.Audio/ComplexFilters/DifferentialRectificationFilter.cs
  9. +0 −1 Sources/Accord.Audio/ComplexFilters/EnvelopeFilter.cs
  10. +0 −77 Sources/Accord.Audio/Filters/SignalConverter.cs
  11. +0 −1 Sources/Accord.Audio/Filters/WaveRectifier.cs
  12. +0 −1 Sources/Accord.Audio/Generators/ImpulseGenerator.cs
  13. +0 −1 Sources/Accord.Audio/Signals/ComplexSignal.cs
  14. +0 −1 Sources/Accord.Audio/Signals/Signal.cs
  15. +1 −2 Sources/Accord.Audio/Tools.cs
  16. +0 −1 Sources/Accord.Audio/UnsafeTools.cs
  17. +0 −1 Sources/Accord.Audio/Windows/IWindow.cs
  18. +0 −1 Sources/Accord.Audio/Windows/RectangularWindow.cs
  19. +0 −1 Sources/Accord.Audio/Windows/WindowBase.cs
  20. +29 −0 Sources/Accord.Audition/Accord.Audition (NETStandard).csproj
  21. +17 −0 Sources/Accord.Controls.Audio/Accord.NS.Controls.Audio.csproj
  22. +17 −0 Sources/Accord.Controls.Imaging/Accord.NS.Controls.Imaging.csproj
  23. +17 −0 Sources/Accord.Controls.Statistics/Accord.NS.Controls.csproj
  24. +17 −0 Sources/Accord.Controls.Vision/Accord.NS.Controls.Vision.csproj
  25. +22 −0 Sources/Accord.Core/Accord.Core (NETStandard).csproj
  26. +7 −7 Sources/Accord.Core/Collections/PriorityQueue.cs
  27. +1 −1 Sources/Accord.Core/Collections/ReadOnlyOrderedDictionary.cs
  28. +58 −0 Sources/Accord.Core/Compatibility/RangeAttribute.cs
  29. +1 −1 Sources/Accord.Core/Properties/VersionInfo.cs
  30. +30 −0 Sources/Accord.DataSets/Accord.DataSets (NETStandard).csproj
  31. +1 −1 Sources/Accord.DataSets/Base/SparseDataSet.cs
  32. +25 −0 Sources/Accord.Fuzzy/Accord.Fuzzy (NETStandard).csproj
  33. +27 −0 Sources/Accord.Genetic/Accord.Genetic (NETStandard).csproj
  34. +30 −0 Sources/Accord.IO/Accord.IO (NETStandard).csproj
  35. +2 −1 Sources/Accord.IO/ExcelReader.cs
  36. +2 −2 Sources/Accord.IO/Extensions.Matrix.cs
  37. +0 −379 Sources/Accord.Imaging/AForge.Imaging/Filters/Transform/RotateNearestNeighbor.cs
  38. +33 −0 Sources/Accord.Imaging/Accord.Imaging (NETStandard).csproj
  39. +32 −0 Sources/Accord.MachineLearning/Accord.MachineLearning (NETStandard).csproj
  40. +2 −0 Sources/Accord.MachineLearning/DecisionTrees/DecisionTree.cs
  41. +1 −1 Sources/Accord.MachineLearning/KNearestNeighbors`1.cs
  42. +0 −130 Sources/Accord.MachineLearning/Multiclass/Generative.cs
  43. +0 −240 Sources/Accord.MachineLearning/Multiclass/Learning/GenerativeLearning.cs
  44. +6 −6 Sources/Accord.MachineLearning/Multiclass/OneVsOne.cs
  45. +4 −4 Sources/Accord.MachineLearning/VectorMachines/Learning/AveragedStochasticGradientDescent.cs
  46. +6 −6 Sources/Accord.MachineLearning/VectorMachines/MulticlassSupportVectorMachine`2.cs
  47. +26 −0 Sources/Accord.Math.Core/Accord.Math.Core (NETStandard).csproj
  48. +2,267 −2,267 Sources/Accord.Math.Core/Matrix.Add.Generated.cs
  49. +704 −704 Sources/Accord.Math.Core/Matrix.Comparisons.Generated.cs
  50. +11 −11 Sources/Accord.Math.Core/Matrix.Comparisons.tt
  51. +2,267 −2,267 Sources/Accord.Math.Core/Matrix.Divide.Generated.cs
  52. +1,386 −1,386 Sources/Accord.Math.Core/Matrix.Elementwise.Generated.cs
  53. +12 −12 Sources/Accord.Math.Core/Matrix.Elementwise.tt
  54. +49 −49 Sources/Accord.Math.Core/Matrix.Elementwise2.tt
  55. +2 −2 Sources/Accord.Math.Core/Matrix.Elementwise3.tt
  56. +2,267 −2,267 Sources/Accord.Math.Core/Matrix.Multiply.Generated.cs
  57. +10 −10 Sources/Accord.Math.Core/Matrix.MultiplyAndAdd.Generated.cs
  58. +2,267 −2,267 Sources/Accord.Math.Core/Matrix.Subtract.Generated.cs
  59. +27 −0 Sources/Accord.Math/Accord.Math (NETStandard).csproj
  60. +8 −8 Sources/Accord.Math/Accord.Statistics/Classes.cs
  61. +2 −2 Sources/Accord.Math/Accord.Statistics/Measures.Vectors.cs
  62. +48 −48 Sources/Accord.Math/Distance.Generated.cs
  63. +1 −1 Sources/Accord.Math/Distance.cs
  64. +1 −1 Sources/Accord.Math/Distance.tt
  65. +2 −2 Sources/Accord.Math/Distances/Angular.cs
  66. +1 −1 Sources/Accord.Math/Distances/ArgMax.cs
  67. +1 −1 Sources/Accord.Math/Distances/BrayCurtis.cs
  68. +1 −1 Sources/Accord.Math/Distances/Canberra.cs
  69. +1 −1 Sources/Accord.Math/Distances/Chebyshev.cs
  70. +2 −2 Sources/Accord.Math/Distances/Cosine.cs
  71. +2 −2 Sources/Accord.Math/Distances/Dice.cs
  72. +4 −4 Sources/Accord.Math/Distances/Euclidean.cs
  73. +4 −4 Sources/Accord.Math/Distances/Hamming.cs
  74. +1 −1 Sources/Accord.Math/Distances/Hamming`1.cs
  75. +1 −1 Sources/Accord.Math/Distances/Hellinger.cs
  76. +2 −2 Sources/Accord.Math/Distances/Jaccard.cs
  77. +2 −2 Sources/Accord.Math/Distances/Jaccard`1.cs
  78. +2 −2 Sources/Accord.Math/Distances/Kulczynski.cs
  79. +1 −1 Sources/Accord.Math/Distances/Levenshtein.cs
  80. +1 −1 Sources/Accord.Math/Distances/Levenshtein`1.cs
  81. +1 −1 Sources/Accord.Math/Distances/Mahalanobis.cs
  82. +2 −2 Sources/Accord.Math/Distances/Manhattan.cs
  83. +2 −2 Sources/Accord.Math/Distances/Matching.cs
  84. +2 −2 Sources/Accord.Math/Distances/Minkowski.cs
  85. +2 −2 Sources/Accord.Math/Distances/Modular.cs
  86. +1 −1 Sources/Accord.Math/Distances/PearsonCorrelation.cs
  87. +2 −2 Sources/Accord.Math/Distances/RogersTanimoto.cs
  88. +2 −2 Sources/Accord.Math/Distances/RusselRao.cs
  89. +2 −2 Sources/Accord.Math/Distances/SokalMichener.cs
  90. +2 −2 Sources/Accord.Math/Distances/SokalSneath.cs
  91. +3 −3 Sources/Accord.Math/Distances/SquareEuclidean.cs
  92. +1 −1 Sources/Accord.Math/Distances/SquaredMahalanobis.cs
  93. +2 −2 Sources/Accord.Math/Distances/Yule.cs
  94. +41 −41 Sources/Accord.Math/Matrix/Jagged.Construction.cs
  95. +0 −1,087 Sources/Accord.Math/Matrix/Jagged.Measures.Generated.cs
  96. +0 −587 Sources/Accord.Math/Matrix/Jagged.Measures.tt
  97. +117 −117 Sources/Accord.Math/Matrix/Jagged.Product.Generated.cs
  98. +2 −2 Sources/Accord.Math/Matrix/Jagged.Product.tt
  99. +1 −1 Sources/Accord.Math/Matrix/Matrix.Common.cs
  100. +12 −12 Sources/Accord.Math/Matrix/Matrix.Comparisons.tt
  101. +768 −768 Sources/Accord.Math/Matrix/Matrix.Comparisons1.Generated.cs
  102. +1 −1 Sources/Accord.Math/Matrix/Matrix.Complex.cs
  103. +36 −36 Sources/Accord.Math/Matrix/Matrix.Construction.cs
  104. +720 −720 Sources/Accord.Math/Matrix/Matrix.Conversions.Generated.cs
  105. +10 −10 Sources/Accord.Math/Matrix/Matrix.Conversions.tt
  106. +0 −949 Sources/Accord.Math/Matrix/Matrix.Measures.Generated.cs
  107. +0 −518 Sources/Accord.Math/Matrix/Matrix.Measures.tt
  108. +78 −78 Sources/Accord.Math/Matrix/Matrix.Product.tt
  109. +4,660 −4,660 Sources/Accord.Math/Matrix/Matrix.Product1.Generated.cs
  110. +240 −240 Sources/Accord.Math/Matrix/Matrix.Reduction.Generated.cs
  111. +13 −13 Sources/Accord.Math/Matrix/Matrix.Reduction.tt
  112. +7 −7 Sources/Accord.Math/Matrix/Matrix.Selection.cs
  113. +4 −4 Sources/Accord.Math/Matrix/Vector.MinMax.cs
  114. +1 −1 Sources/Accord.Math/Random/ZigguratUniformGenerator.cs
  115. +2 −2 Sources/Accord.Math/Random/ZigguratUniformOneGenerator.cs
  116. +4 −4 Sources/Accord.Math/Sort.cs
  117. +26 −26 Sources/Accord.Math/Special.cs
  118. +1 −1 Sources/Accord.Math/Tools.cs
  119. +23 −23 Sources/Accord.Math/Vector/Vector.Construction.cs
  120. +3 −3 Sources/Accord.Math/Vector/Vector.Sparse.cs
  121. 0 Sources/{Accord.NET.LGPL.sln → Accord.NET (LGPL-only).sln}
  122. +218 −0 Sources/Accord.NET (NETStandard).sln
  123. +30 −0 Sources/Accord.NET (NETStandard).targets
  124. +29 −76 Sources/Accord.NET.sln
  125. +6 −2 Sources/Accord.NET.targets
  126. +28 −0 Sources/Accord.Statistics/Accord.Statistics (NETStandard).csproj
  127. +9 −9 Sources/Accord.Statistics/Distances/Bhattacharyya.cs
  128. +1 −1 Sources/Accord.Statistics/Distributions/Multivariate/Continuous/MultivariateNormalDistribution.cs
  129. +8 −8 Sources/Accord.Statistics/Kernels/Linear.cs
  130. +0 −262 Sources/Accord.Statistics/Models/Markov/Learning/MultipleBaumWelchLearning.cs
  131. +0 −89 Sources/Accord.Statistics/Models/Regression/Linear/MultivariateBilinearRegression.cs
  132. BIN Sources/Accord.Statistics/Visualizations/HistogramBinCollection.cs
  133. +28 −0 Sources/Accord.Text/Accord.Text (NETStandard).csproj
  134. +32 −0 Sources/Accord.Video.DirectShow/Accord.Video.DirectShow (NETStandard).csproj
  135. +5 −2 Sources/Accord.Video.DirectShow/VideoCaptureDeviceForm.Designer.cs
  136. +12 −9 Sources/Accord.Video.DirectShow/VideoCaptureDeviceForm.cs
  137. +31 −0 Sources/Accord.Video.Kinect/Accord.Video.Kinect (NETStandard).csproj
  138. +31 −0 Sources/Accord.Video.VFW/Accord.Video.VFW (NETStandard).csproj
  139. +32 −0 Sources/Accord.Video.Ximea/Accord.Video.Ximea (NETStandard).csproj
  140. +32 −0 Sources/Accord.Video/Accord.Video (NETStandard).csproj
  141. +33 −0 Sources/Accord.Vision/Accord.Vision (NETStandard).csproj
  142. +1 −1 Sources/Extras/Accord.Video.FFMPEG.GPL/VersionInfo.cpp
  143. +9 −0 Sources/Version.targets
  144. +2 −0 Sources/force-clean.cmd
  145. 0 ...cord.Perf.MachineLearning → Tools/Performance/MachineLearning}/Accord.Perf.MachineLearning.csproj
  146. BIN {Performance/Accord.Perf.MachineLearning → Tools/Performance/MachineLearning}/Accord.snk
  147. 0 {Performance/Accord.Perf.MachineLearning → Tools/Performance/MachineLearning}/App.config
  148. 0 {Performance/Accord.Perf.MachineLearning → Tools/Performance/MachineLearning}/Program.cs
  149. 0 ...mance/Accord.Perf.MachineLearning → Tools/Performance/MachineLearning}/Properties/AssemblyInfo.cs
  150. 0 {Performance/Accord.Perf.MachineLearning → Tools/Performance/MachineLearning}/packages.config
  151. +33 −0 Tools/open-csprojs-netstandard.bat
  152. +23 −0 Unit Tests/Accord.Tests.Audio/Accord.Tests.Audio (NETStandard).csproj
  153. +23 −0 Unit Tests/Accord.Tests.Core/Accord.Tests.Core (NETStandard).csproj
  154. +23 −0 Unit Tests/Accord.Tests.IO/Accord.Tests.IO (NETStandard).csproj
  155. +23 −0 Unit Tests/Accord.Tests.Imaging/Accord.Tests.Imaging (NETStandard).csproj
  156. +23 −0 Unit Tests/Accord.Tests.MachineLearning/Accord.Tests.MachineLearning (NETStandard).csproj
  157. +24 −0 Unit Tests/Accord.Tests.Math/Accord.Tests.Math (NETStandard).csproj
  158. +23 −0 Unit Tests/Accord.Tests.Statistics/Accord.Tests.Statistics (NETStandard).csproj
  159. +23 −0 Unit Tests/Accord.Tests.Text/Accord.Tests.Text (NETStandard).csproj
  160. +23 −0 Unit Tests/Accord.Tests.Video/Accord.Tests.Video (NETStandard).csproj
  161. +23 −0 Unit Tests/Accord.Tests.Vision/Accord.Tests.Vision (NETStandard).csproj
  162. +6 −0 Unit Tests/Accord.Tests.targets
  163. +4 −0 build-all.cmd
  164. +22 −3 clean-all.cmd
View
@@ -1,6 +1,7 @@
bin
obj
+.vs
*.user
*.pidb
*.suo
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <AssemblyName>Accord.Setup</AssemblyName>
+ <RootNamespace>Accord.Setup</RootNamespace>
+ <Configurations>Debug</Configurations>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+</Project>
@@ -37,8 +37,6 @@ public static string GetVersionText(string major, string minor, string rev, stri
public static void Replace(string frameworkRootPath)
{
-
-
string version = File.ReadAllText(Path.Combine(frameworkRootPath, "Version.txt"));
string[] parts;
parts = version.Split('-');
@@ -52,6 +50,7 @@ public static void Replace(string frameworkRootPath)
Console.WriteLine("Updating source files with version number {0}.{1}.{2}.{3}{4}", major, minor, rev, build, tag);
replaceAssemblyInfo(frameworkRootPath, tag, major, minor, rev, build);
+ replaceNetStandardTargets(frameworkRootPath, tag, major, minor, rev, build);
replaceDocumentation(frameworkRootPath, major, minor, rev);
}
@@ -79,5 +78,24 @@ private static void replaceAssemblyInfo(string frameworkRootPath, string tag, st
File.WriteAllText(file.FullName, contents);
}
}
+
+ private static void replaceNetStandardTargets(string frameworkRootPath, string tag, string major, string minor, string rev, string build)
+ {
+ string targetsFile = Path.Combine(frameworkRootPath, "Sources", "Version.targets");
+
+ var sb = new StringBuilder();
+
+ sb.AppendLine("<Project>");
+ sb.AppendLine(" <PropertyGroup>");
+ sb.AppendLine(string.Format(" <Copyright>Copyright (c) Accord.NET authors, 2009-{0}</Copyright>", DateTime.Now.Year));
+ sb.AppendLine(" <Version>3.5.0</Version>");
+ sb.AppendLine(string.Format(" <AssemblyVersion>{0}.{1}.{2}</AssemblyVersion>", major, minor, rev));
+ sb.AppendLine(string.Format(" <AssemblyInformationalVersion>{0}.{1}.{2}{3}</AssemblyInformationalVersion>", major, minor, rev, tag));
+ sb.AppendLine(string.Format(" <FileVersion>{0}.{1}.{2}.{3}</FileVersion>", major, minor, rev, build));
+ sb.AppendLine(" </PropertyGroup>");
+ sb.AppendLine("</Project>");
+
+ File.WriteAllText(targetsFile, sb.ToString());
+ }
}
}
@@ -0,0 +1,29 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <AssemblyName>Accord.Audio.DirectSound</AssemblyName>
+ <RootNamespace>Accord.Audio.DirectSound</RootNamespace>
+ </PropertyGroup>
+
+ <Import Project="$(SolutionDir)Accord.NET (NETStandard).targets" />
+
+<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
+ <OutputPath>$(SolutionDir)..\Debug\</OutputPath>
+ <DocumentationFile></DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard|AnyCPU'">
+ <DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="SharpDX" Version="4.0.1" />
+ <PackageReference Include="SharpDX.DirectSound" Version="4.0.1" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\Accord.Audio\Accord.Audio (NETStandard).csproj" />
+ </ItemGroup>
+
+</Project>
@@ -0,0 +1,25 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <AssemblyName>Accord.DataSets</AssemblyName>
+ <RootNamespace>Accord.DataSets</RootNamespace>
+ </PropertyGroup>
+
+ <Import Project="$(SolutionDir)Accord.NET (NETStandard).targets" />
+
+<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
+ <OutputPath>$(SolutionDir)..\Debug\</OutputPath>
+ <DocumentationFile></DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard|AnyCPU'">
+ <DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\Accord.Math.Core\Accord.Math.Core (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.Math\Accord.Math (NETStandard).csproj" />
+ </ItemGroup>
+
+</Project>
@@ -23,8 +23,6 @@
namespace Accord.Audio.ComplexFilters
{
using System;
- using AForge;
- using AForge.Math;
/// <summary>
/// Audio processing filter, which operates with Fourier transformed
@@ -24,7 +24,6 @@ namespace Accord.Audio.ComplexFilters
{
using Accord.Audio;
using Accord.Audio.Generators;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -22,7 +22,6 @@
namespace Accord.Audio.ComplexFilters
{
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -24,7 +24,6 @@ namespace Accord.Audio.ComplexFilters
{
using System;
using Accord.Audio;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -1,77 +0,0 @@
-// Accord (Experimental) Audio Library
-// Accord.NET framework
-// http://www.crsouza.com
-//
-// Copyright © César Souza, 2009-2011
-// cesarsouza at gmail.com
-//
-
-namespace Accord.Audio.Filters
-{
- using System.Collections.Generic;
-
- public class FormatConverter : BaseFilter
- {
- private SampleFormat destinationFormat;
-
- private Dictionary<SampleFormat, SampleFormat> formatTranslations = new Dictionary<SampleFormat, SampleFormat>();
-
- public override Dictionary<SampleFormat, SampleFormat> FormatTranslations
- {
- get { return formatTranslations; }
- }
-
- public FormatConverter(SampleFormat destinationFormat)
- {
- this.destinationFormat = destinationFormat;
-
- if (destinationFormat == SampleFormat.Format32BitIeeeFloat)
- {
- formatTranslations[SampleFormat.Format16Bit] = destinationFormat;
- formatTranslations[SampleFormat.Format32Bit] = destinationFormat;
- }
- else
- {
- throw new UnsupportedSampleFormatException();
- }
- }
-
- protected override void ProcessFilter(Signal sourceData, Signal destinationData)
- {
- int channels = sourceData.Channels;
- int length = sourceData.Length;
- SampleFormat dstFormat = destinationData.SampleFormat;
- SampleFormat srcFormat = sourceData.SampleFormat;
-
- if (dstFormat == SampleFormat.Format32BitIeeeFloat)
- {
- float dst;
-
- if (srcFormat == SampleFormat.Format16Bit)
- {
- short src;
- for (int c = 0; c < channels; c++)
- {
- for (int i = 0; i < length; i++)
- {
- src = (short)sourceData.GetSample(c, i);
- SampleConverter.Convert(src, out dst);
- }
- }
- }
- else if (srcFormat == SampleFormat.Format32Bit)
- {
- int src;
- for (int c = 0; c < channels; c++)
- {
- for (int i = 0; i < length; i++)
- {
- src = (int)sourceData.GetSample(c, i);
- SampleConverter.Convert(src, out dst);
- }
- }
- }
- }
- }
- }
-}
@@ -23,7 +23,6 @@
namespace Accord.Audio.Filters
{
using System.Collections.Generic;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -23,7 +23,6 @@
namespace Accord.Audio.Generators
{
using System;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -25,7 +25,6 @@ namespace Accord.Audio
using System;
using System.Runtime.InteropServices;
using Accord.Math;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -24,7 +24,6 @@ namespace Accord.Audio
{
using System;
using System.Runtime.InteropServices;
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -24,10 +24,9 @@ namespace Accord.Audio
{
using System;
using System.Runtime.InteropServices;
- using AForge.Math;
- using Accord.Math;
using System.Collections.Generic;
using System.Numerics;
+ using Accord.Math;
/// <summary>
/// Tool functions for audio processing.
@@ -24,7 +24,6 @@ namespace Accord.Audio
{
using System;
using System.Runtime.InteropServices;
- using AForge.Math;
using Accord.Math;
using System.Collections.Generic;
using System.Numerics;
@@ -23,7 +23,6 @@
namespace Accord.Audio.Windows
{
using System;
- using AForge.Math;
/// <summary>
/// Spectral Window
@@ -22,7 +22,6 @@
namespace Accord.Audio.Windows
{
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -22,7 +22,6 @@
namespace Accord.Audio.Windows
{
- using AForge.Math;
using System.Numerics;
/// <summary>
@@ -0,0 +1,29 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <AssemblyName>Accord.Audition</AssemblyName>
+ <RootNamespace>Accord.Audition</RootNamespace>
+ </PropertyGroup>
+
+ <Import Project="$(SolutionDir)Accord.NET (NETStandard).targets" />
+
+
+<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
+ <OutputPath>$(SolutionDir)..\Debug\</OutputPath>
+ <DocumentationFile></DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netstandard|AnyCPU'">
+ <DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Accord.Audio\Accord.Audio (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.Core\Accord.Core (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.MachineLearning\Accord.MachineLearning (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.Math.Core\Accord.Math.Core (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.Math\Accord.Math (NETStandard).csproj" />
+ <ProjectReference Include="..\Accord.Statistics\Accord.Statistics (NETStandard).csproj" />
+ </ItemGroup>
+
+</Project>
@@ -0,0 +1,17 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Remove="Properties\AssemblyInfo.cs" />
+ <Compile Remove="Properties\VersionInfo.cs" />
+ </ItemGroup>
+
+</Project>
@@ -0,0 +1,17 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Remove="Properties\AssemblyInfo.cs" />
+ <Compile Remove="Properties\VersionInfo.cs" />
+ </ItemGroup>
+
+</Project>
@@ -0,0 +1,17 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+ <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
+ <DefineConstants>TRACE;DEBUG;NETSTANDARD2_0</DefineConstants>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Remove="Properties\AssemblyInfo.cs" />
+ <Compile Remove="Properties\VersionInfo.cs" />
+ </ItemGroup>
+
+</Project>
Oops, something went wrong.

0 comments on commit 4780e21

Please sign in to comment.