91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 45KB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發布日期: 2021-05-10
  • 語言: Python
  • 標簽: python??

資源簡介

聲學語音處理的python源碼 ,包括各種語音濾波處理,gammotan濾波,特征提取等

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python
#?-*-?coding:?utf-8?-*-
“““
AudioLazy?package?setup?file

Copyright?(C)?2012?Danilo?de?Jesus?da?Silva?Bellini

This?file?is?part?of?AudioLazy?the?signal?processing?Python?package.

AudioLazy?is?free?software:?you?can?redistribute?it?and/or?modify
it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
the?Free?Software?Foundation?version?3?of?the?License.

This?program?is?distributed?in?the?hope?that?it?will?be?useful
but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.?See?the
GNU?General?Public?License?for?more?details.

You?should?have?received?a?copy?of?the?GNU?General?Public?License
along?with?this?program.?If?not?see?.

Created?on?Thu?Oct?10?2012
danilo?[dot]?bellini?[at]?gmail?[dot]?com
“““

from?setuptools?import?setup
import?os

path?=?os.path.split(__file__)[0]
pkgname?=?“audiolazy“
metadata_file?=?“__init__.py“

#?Get?metadata?from?the?package?file?without?actually?importing?it
metadata?=?{}
with?open(os.path.join(path?pkgname?metadata_file)?“r“)?as?f:
??for?line?in?f:
????if?line.startswith(“__“):
??????assignment?=?[side.strip()?for?side?in?line.split(“=“)]
??????metadata[assignment[0].strip(“_“)]?=?eval(assignment[1])

#?Description?is?all?from?README.rst?but?the?ending?copyright?message
with?open(os.path.join(path?“README.rst“)?“r“)?as?fr:
??readme_data?=?fr.read()
readme_data?=?readme_data.replace(“\r\n“?“\n“)
title?descr?ldescr?=?readme_data.split(“\n\n“?2)
metadata[“description“]?=?descr
metadata[“long_description“]?=?“\n\n“.join([title?ldescr]
??????????????????????????????????????????).rsplit(“----“?1)[0].strip()

#?Append?long?description?with?the?change?log?from?CHANGES.rst
with?open(os.path.join(path?“CHANGES.rst“)?“r“)?as?fc:
??changes_data?=?fc.read()
changes_data?=?changes_data.replace(“\r\n“?“\n“)
metadata[“long_description“]?=?“\n“.join([““?metadata[“long_description“]
??????????????????????????????????????????““?changes_data])

#?Classifiers?and?license
metadata[“license“]?=?“GPLv3“
metadata[“classifiers“]?=?[
??“Development?Status?::?2?-?Pre-Alpha“
??“Intended?Audience?::?Developers“
??“Intended?Audience?::?Education“
??“Intended?Audience?::?Science/Research“
??“Intended?Audience?::?Other?Audience“
??“License?::?OSI?Approved?::?“
????“GNU?General?Public?License?v3?(GPLv3)“
??“Operating?System?::?Microsoft?::?Windows“
??“Operating?System?::?POSIX?::?Linux“
??“Operating?System?::?OS?Independent“
??“Programming?Language?::?Python“
??“Topic?::?Artistic?Software“
??“Topic?::?Multimedia?::?Sound/Audio“
??“Topic?::?Multimedia?::?Sound/Audio?::?Analysis“
??“Topic?::?Multimedia?::?Sound/Audio?::?Players“
??“Topic?::?Multimedia?::?Sound/Audio?::?Sound?Synthesis“
??“Topic?::?Scientific/Engineering“
??“Topic?::?Software?Development“
??“Topic?::?Software?Development?::?Libraries“
??“Topic?::?Software?Development?::?Libraries?::?Python?Modules“
]

#?Finish
metadata

評論

共有 條評論