Package com.tagtraum.audiokern.key
Class PitchProfileKey2
- java.lang.Object
-
- com.tagtraum.audiokern.key.KeyAlgorithm
-
- com.tagtraum.audiokern.key.PitchProfileKey2
-
public class PitchProfileKey2 extends KeyAlgorithm
Pitch Profile Key.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PitchProfileKey2.KeyProfileChooser
Allows for choosing an appropriateKeyProfile
for a givenAudioSong
and chromagram.
-
Field Summary
Fields Modifier and Type Field Description static String
CONCERT_PITCH_ID
-
Constructor Summary
Constructors Constructor Description PitchProfileKey2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalProcessor<AudioBuffer,Key>
createBeaTunes35Pipeline()
SignalProcessor<AudioBuffer,Key>
createPipeline(int maxPeaksPerWindow, int windowLength, float meanFactor)
SignalProcessor<AudioBuffer,Key>
createPipeline(AudioFileFormat audioFileFormat)
static String
getConcertPitchId()
PitchProfileKey2.KeyProfileChooser
getKeyProfileChooser()
AudioClip
getRequiredClip(AudioFileFormat audioFileFormat)
boolean
isLimitToFirstMinute()
void
setKeyProfileChooser(PitchProfileKey2.KeyProfileChooser keyProfileChooser)
void
setLimitToFirstMinute(boolean limitToFirstMinute)
-
Methods inherited from class com.tagtraum.audiokern.key.KeyAlgorithm
getAudioPumpId, getSong, setSong
-
-
-
-
Field Detail
-
CONCERT_PITCH_ID
public static final String CONCERT_PITCH_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKeyProfileChooser
public PitchProfileKey2.KeyProfileChooser getKeyProfileChooser()
-
setKeyProfileChooser
public void setKeyProfileChooser(PitchProfileKey2.KeyProfileChooser keyProfileChooser)
-
isLimitToFirstMinute
public boolean isLimitToFirstMinute()
-
setLimitToFirstMinute
public void setLimitToFirstMinute(boolean limitToFirstMinute)
-
createPipeline
public SignalProcessor<AudioBuffer,Key> createPipeline(AudioFileFormat audioFileFormat)
- Specified by:
createPipeline
in classKeyAlgorithm
-
createPipeline
public SignalProcessor<AudioBuffer,Key> createPipeline(int maxPeaksPerWindow, int windowLength, float meanFactor)
-
createBeaTunes35Pipeline
public SignalProcessor<AudioBuffer,Key> createBeaTunes35Pipeline()
-
getConcertPitchId
public static String getConcertPitchId()
-
getRequiredClip
public AudioClip getRequiredClip(AudioFileFormat audioFileFormat)
- Specified by:
getRequiredClip
in classKeyAlgorithm
-
-