Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wtq2255 committed Dec 16, 2023
1 parent 96aa94b commit ef8447a
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "0.1.6" %}
{% set version = "0.1.7" %}

package:
name: audioflux
Expand Down
5 changes: 5 additions & 0 deletions docs/feature/cepstrogram.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Cepstrogram
===========

.. autoclass:: audioflux.Cepstrogram
:members:
1 change: 1 addition & 0 deletions docs/feature/feature.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The feature module contains the following algorithms:
spectral
xxcc
deconv
cepstrogram
temporal
featureExtractor

Expand Down
20 changes: 19 additions & 1 deletion docs/mir/pitch.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
Pitch
=====

.. autoclass:: audioflux.Pitch
.. autoclass:: audioflux.PitchCEP
:members:

.. autoclass:: audioflux.PitchHPS
:members:

.. autoclass:: audioflux.PitchLHS
:members:

.. autoclass:: audioflux.PitchNCF
:members:

.. autoclass:: audioflux.PitchPEF
:members:

.. autoclass:: audioflux.PitchSTFT
:members:

.. autoclass:: audioflux.PitchYIN
:members:
2 changes: 1 addition & 1 deletion python/audioflux/mir/pitch_stft.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PitchSTFT(Base):
Extract pitch
>>> pitch_obj = af.PitchSTFT(samplate=sr)
>>> fre_arr = pitch_obj.pitch(audio_arr)
>>> fre_arr, db_arr = pitch_obj.pitch(audio_arr)
Show pitch plot
Expand Down
2 changes: 1 addition & 1 deletion python/audioflux/mir/pitch_yin.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class PitchYIN(Base):
Extract pitch
>>> pitch_obj = af.PitchYIN(samplate=sr)
>>> fre_arr = pitch_obj.pitch(audio_arr)
>>> fre_arr, v1_arr, v2_arr = pitch_obj.pitch(audio_arr)
Show pitch plot
Expand Down

0 comments on commit ef8447a

Please sign in to comment.