musicg

Musicg is a lightweight audio analysis library, written in Java, with the purpose of extracting both high level and low level audio features.

License

License

GroupId

GroupId

com.github.fracpete
ArtifactId

ArtifactId

musicg
Last Version

Last Version

1.4.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

musicg
Musicg is a lightweight audio analysis library, written in Java, with the purpose of extracting both high level and low level audio features.
Source Code Management

Source Code Management

https://github.com/fracpete/musicg

Download musicg

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.fracpete/musicg/ -->
<dependency>
    <groupId>com.github.fracpete</groupId>
    <artifactId>musicg</artifactId>
    <version>1.4.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fracpete/musicg/
implementation 'com.github.fracpete:musicg:1.4.2.2'
// https://jarcasting.com/artifacts/com.github.fracpete/musicg/
implementation ("com.github.fracpete:musicg:1.4.2.2")
'com.github.fracpete:musicg:jar:1.4.2.2'
<dependency org="com.github.fracpete" name="musicg" rev="1.4.2.2">
  <artifact name="musicg" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fracpete', module='musicg', version='1.4.2.2')
)
libraryDependencies += "com.github.fracpete" % "musicg" % "1.4.2.2"
[com.github.fracpete/musicg "1.4.2.2"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.2

Project Modules

There are no modules declared in this project.

musicg

musicg is a lightweight audio analysis library, written in Java, with the purpose of extracting both high level and low level audio features.

Original project on Google Code: https://code.google.com/archive/p/musicg/

This API allows developers to extract audio features and operate audio data like reading, cutting and trimming easily from an inputstream. It also provides tools for digital signal processing, renders the wavform or spectrogram for research and development purpose.

Features

  • Clap Api - Detect whether the input audio is a clap
  • Whistle Api - Detect whether the input audio is a whistle
  • Read PCM WAVE Headers
  • Read audio data
  • Trim the audio data
  • Save the edited audio file
  • Read amplitude-time domain data
  • Read frequency-time domain data
  • Render audio wave form image
  • Render audio spectrogram image

Demo classes

The following demo classes are available:

  • com.musicg.demo.FingerprintDemo
  • com.musicg.demo.FingerprintRecognitionDemo
  • com.musicg.demo.PitchDemo
  • com.musicg.demo.RenderSpectrogramDemo
  • com.musicg.demo.RenderWaveformDemo
  • com.musicg.demo.WaveDemo
  • com.musicg.demo.WhistleApiDemo

NB: Some of the demo classes generate output, which gets stored in the out directory.

Maven

Add the following dependency to your pom.xml:

  <dependency>
    <groupId>com.github.fracpete</groupId>
    <artifactId>musicg</artifactId>
    <version>1.4.2.2</version>
  </dependency>

Releases

The following releases are available:

Versions

Version
1.4.2.2
1.4.2.1