资源简介
声学语音处理的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
- 上一篇:Python实现循环神经网络RNN
- 下一篇:python项目监控
相关资源
- python项目监控
- Python实现循环神经网络RNN
- python下元胞自动机的代码和相应的绘
- python 视频学习
- SIFT的Python 代码
- pythonympx.rar
- python selenium模块刷B站播放量
- pycuda 用于加速python 3.6
- 社团检测经典算法实现 python
- [『编程语言』] 小甲鱼零基础入门学
- tecplot二次开发
- 区块链入门学习代码 含完整挖矿、
- 随机森林做泰坦尼克号案例的Python实
- 基于Python的SVM解决异或问题
- Tensorflow笔记-中国大学全部讲义源代码
- Python识别深圳信用网验证码的完整代
- C4.5决策树算法的Python代码和数据样本
- python音乐播放+滤波器
- 树莓派利用python、opencv、PyALPR识别车
- python 数独游戏源码
- 爬取某块区域的实时交通态势数据,
- Anaconda3-5.3.1-Windows-x86_64 (Python3.x版本
- DS_Store文件泄漏利用python脚本
- ArcGIS10.1中利用python语言批量实现遥感
- 用自己的数据制作python版本cifar10数据
- python遗传算法求函数极值.py
- Python教程.rar
- python数据挖掘分类聚类回归关联算法
- Python爬虫源码—爬取猫途鹰官方旅游
- 密度聚类(Density peaks Clustering)Pyth
评论
共有 条评论