sbvoicedb


Namesbvoicedb JSON
Version 0.1.0.dev7 PyPI version JSON
download
home_page
SummarySaarbrueken Voice Database Reader module
upload_time2023-03-10 22:55:30
maintainer
docs_urlNone
author
requires_python>=3.8
licenseGPL-2.0 License
keywords multimedia
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `sbvoicedb`: Saarbrueken Voice Database Reader module
======================================================

|pypi| |status| |pyver| |license|

.. |pypi| image:: https://img.shields.io/pypi/v/sbvoicedb
  :alt: PyPI
.. |status| image:: https://img.shields.io/pypi/status/sbvoicedb
  :alt: PyPI - Status
.. |pyver| image:: https://img.shields.io/pypi/pyversions/sbvoicedb
  :alt: PyPI - Python Version
.. |license| image:: https://img.shields.io/github/license/tikuma-lsuhsc/python-sbvoicedb
  :alt: GitHub

**Warning**
This Python package is not yet published and still under development.

This Python module provides functions to retrieve data and information easily from 
Saarbucken Voice Database: http://www.stimmdatenbank.coli.uni-saarland.de/

Install
-------

.. code-block:: bash

  pip install sbvoicedb


Examples
--------

.. code-block:: python

  from sbvoicedb import sbvoicedb

  # to create a database instance 
  sbvoicedb = sbvoicedb.SbVoiceDb('<path to the root directory of the extracted database>')
  # - if no downloaded database data found, it'll automatically download the database (not files)

  # to query the recording session entries which are pathological, female, between 50-69 yrs old
  df = sbvoicedb.query(T='p', G='w', A=[50,70])

  # to get a dataframe of WAV files and start and ending audio sample indices of 
  # all normal-pitch /a/ segments
  df = sbvoicedb.get_files('a_n')

  # to get the audio data of /a/ vowel at normal pitch from the recording session 2091
  fs, x = sbvoicedb.read_data(2091, 'a_n')

  # to iterate over 'a_n' acoustic data of male participants along with aux with age and pathologies
  for id, fs, x, auxdata in sbvoicedb.iter_data('a_n',
                                      auxdata_fields=["A","Pathologies"],
                                      G="m"):
    # run the acoustic data through your analysis function, get measurements
    params = my_analysis_function(fs, x)

    # log the measurements along with aux data
    my_logger.log_outcome(id, *auxdata, *params)


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sbvoicedb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "multimedia",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/8d/ee/145a84e1d9bf070da733e93e17d9f54ef0c42e4ad7ef7467979ad793bbd4/sbvoicedb-0.1.0.dev7.tar.gz",
    "platform": null,
    "description": "`sbvoicedb`: Saarbrueken Voice Database Reader module\n======================================================\n\n|pypi| |status| |pyver| |license|\n\n.. |pypi| image:: https://img.shields.io/pypi/v/sbvoicedb\n  :alt: PyPI\n.. |status| image:: https://img.shields.io/pypi/status/sbvoicedb\n  :alt: PyPI - Status\n.. |pyver| image:: https://img.shields.io/pypi/pyversions/sbvoicedb\n  :alt: PyPI - Python Version\n.. |license| image:: https://img.shields.io/github/license/tikuma-lsuhsc/python-sbvoicedb\n  :alt: GitHub\n\n**Warning**\nThis Python package is not yet published and still under development.\n\nThis Python module provides functions to retrieve data and information easily from \nSaarbucken Voice Database: http://www.stimmdatenbank.coli.uni-saarland.de/\n\nInstall\n-------\n\n.. code-block:: bash\n\n  pip install sbvoicedb\n\n\nExamples\n--------\n\n.. code-block:: python\n\n  from sbvoicedb import sbvoicedb\n\n  # to create a database instance \n  sbvoicedb = sbvoicedb.SbVoiceDb('<path to the root directory of the extracted database>')\n  # - if no downloaded database data found, it'll automatically download the database (not files)\n\n  # to query the recording session entries which are pathological, female, between 50-69 yrs old\n  df = sbvoicedb.query(T='p', G='w', A=[50,70])\n\n  # to get a dataframe of WAV files and start and ending audio sample indices of \n  # all normal-pitch /a/ segments\n  df = sbvoicedb.get_files('a_n')\n\n  # to get the audio data of /a/ vowel at normal pitch from the recording session 2091\n  fs, x = sbvoicedb.read_data(2091, 'a_n')\n\n  # to iterate over 'a_n' acoustic data of male participants along with aux with age and pathologies\n  for id, fs, x, auxdata in sbvoicedb.iter_data('a_n',\n                                      auxdata_fields=[\"A\",\"Pathologies\"],\n                                      G=\"m\"):\n    # run the acoustic data through your analysis function, get measurements\n    params = my_analysis_function(fs, x)\n\n    # log the measurements along with aux data\n    my_logger.log_outcome(id, *auxdata, *params)\n\n",
    "bugtrack_url": null,
    "license": "GPL-2.0 License",
    "summary": "Saarbrueken Voice Database Reader module",
    "version": "0.1.0.dev7",
    "split_keywords": [
        "multimedia"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45521b64beea57408182f1376258e93bdd67b9fca7f45b18f04023b6e1fbc2da",
                "md5": "3b291ce03ee919e52105a3cf761d8934",
                "sha256": "87ec3e4daf6ed17f48e760866be6aa778b9649809734e6c7a893414bdbacad9f"
            },
            "downloads": -1,
            "filename": "sbvoicedb-0.1.0.dev7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3b291ce03ee919e52105a3cf761d8934",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 21418,
            "upload_time": "2023-03-10T22:55:29",
            "upload_time_iso_8601": "2023-03-10T22:55:29.002615Z",
            "url": "https://files.pythonhosted.org/packages/45/52/1b64beea57408182f1376258e93bdd67b9fca7f45b18f04023b6e1fbc2da/sbvoicedb-0.1.0.dev7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8dee145a84e1d9bf070da733e93e17d9f54ef0c42e4ad7ef7467979ad793bbd4",
                "md5": "0a1f13307279b3ffdf03c4bc4ebb033b",
                "sha256": "d22dd626b7012d416533f21ff7df76cecde8457523eb7f2e81f5b02a9a8d129b"
            },
            "downloads": -1,
            "filename": "sbvoicedb-0.1.0.dev7.tar.gz",
            "has_sig": false,
            "md5_digest": "0a1f13307279b3ffdf03c4bc4ebb033b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 20961,
            "upload_time": "2023-03-10T22:55:30",
            "upload_time_iso_8601": "2023-03-10T22:55:30.139393Z",
            "url": "https://files.pythonhosted.org/packages/8d/ee/145a84e1d9bf070da733e93e17d9f54ef0c42e4ad7ef7467979ad793bbd4/sbvoicedb-0.1.0.dev7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-10 22:55:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "sbvoicedb"
}
        
Elapsed time: 0.04182s