Index: audio/Makefile =================================================================== --- audio/Makefile +++ audio/Makefile @@ -687,6 +687,7 @@ SUBDIR += py-speex SUBDIR += py-tagpy SUBDIR += py-vorbis + SUBDIR += py-wavio SUBDIR += py-xmms2 SUBDIR += pytone SUBDIR += qjackctl Index: audio/py-wavio/Makefile =================================================================== --- /dev/null +++ audio/py-wavio/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= wavio +PORTVERSION= 0.0.3 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python module for reading and writing WAV files using numpy arrays + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYNUMPY} + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Index: audio/py-wavio/distinfo =================================================================== --- /dev/null +++ audio/py-wavio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1516011069 +SHA256 (wavio-0.0.3.tar.gz) = 8db5413db700915bfd649ba912bc4ddbae632713f780fb7a19ce00ad995d85f7 +SIZE (wavio-0.0.3.tar.gz) = 7008 Index: audio/py-wavio/pkg-descr =================================================================== --- /dev/null +++ audio/py-wavio/pkg-descr @@ -0,0 +1,7 @@ +wavio is a Python module that defines two functions: +* wavio.read reads a WAV file and returns an object that holds the sampling + rate, sample width (in bytes), and a numpy array containing the data. +* wavio.write writes a numpy array to a WAV file, optionally using a specified + sample width. + +WWW: https://github.com/WarrenWeckesser/wavio