Skip to content

Commit

Permalink
Set up class to calculate only six spectral indices
Browse files Browse the repository at this point in the history
Issue #252 Set up class to calculate on spectral indices ACI, ENT, EVN, BGN, PMN and OSC.
  • Loading branch information
towsey committed Oct 9, 2019
1 parent 42b429a commit e7a4052
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AnalysisPrograms/ContentDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ public static IndexCalculateResult CalculateIndicesInOneMinuteSegmentOfRecording
int sampleRateOfOriginalAudioFile,
IndexCalculateConfig config)
{
//TODO: SET UP NEW class CalculateSizIndices.cs.
var resultsForSixIndices = IndexCalculate.Analysis(
//TODO: SET UP NEW class IndexCalculateSixOnly.cs.
var resultsForSixIndices = IndexCalculateSixOnly.Analysis(
recording,
segmentStartOffset,
null, //indexProperties,
Expand Down
1 change: 1 addition & 0 deletions src/AudioAnalysisTools/AudioAnalysisTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
<Compile Include="EventStatistics\EventStatisticsCalculate.cs" />
<Compile Include="FrommoltProject.cs" />
<Compile Include="Indices\GapsAndJoins.cs" />
<Compile Include="Indices\IndexCalculateSixOnly.cs" />
<Compile Include="Indices\IndexCalculate.cs" />
<Compile Include="Indices\IndexCalculateConfig.cs" />
<Compile Include="Indices\IndexDistributions.cs" />
Expand Down
Loading

0 comments on commit e7a4052

Please sign in to comment.