summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-07 20:53:26 +0000
committerwiz <wiz@pkgsrc.org>2014-08-07 20:53:26 +0000
commit5c829db802b8cffd450750d6ab5ec650a786e13f (patch)
treeb0ff5b24161274e0516d5027588acc3cd2c75769 /audio
parente6894d7343ecc81e2b1d80bab159c78b8b9b804a (diff)
downloadpkgsrc-5c829db802b8cffd450750d6ab5ec650a786e13f.tar.gz
Import spectro-edit-0.4 as audio/spectro-edit.
Spectro-Edit reads in regular PCM audio files (currently, only 16-bit mono WAV is supported), then shows you the audio visually in a time vs. frequency plot. The fun part is, you can "paint out" any part of the visualization and play back the audio subject to your modifications. When you are happy with the result, you can save your work back to a WAV file. This could be useful for podcasting (edit out microphone noise, chair squeaks, phones ringing, and other background noise), music (make strange and unusual modifications to the sound for artistic reasons), research (visualize animal calls or noise pollution from nearby industrial activity), and general purpose geekery (which is why I made it).
Diffstat (limited to 'audio')
-rw-r--r--audio/spectro-edit/DESCR15
-rw-r--r--audio/spectro-edit/Makefile30
-rw-r--r--audio/spectro-edit/PLIST3
-rw-r--r--audio/spectro-edit/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/audio/spectro-edit/DESCR b/audio/spectro-edit/DESCR
new file mode 100644
index 00000000000..c55f887b1a2
--- /dev/null
+++ b/audio/spectro-edit/DESCR
@@ -0,0 +1,15 @@
+Spectro-Edit reads in regular PCM audio files (currently, only
+16-bit mono WAV is supported), then shows you the audio visually
+in a time vs. frequency plot.
+
+The fun part is, you can "paint out" any part of the visualization
+and play back the audio subject to your modifications. When you
+are happy with the result, you can save your work back to a WAV
+file.
+
+This could be useful for podcasting (edit out microphone noise,
+chair squeaks, phones ringing, and other background noise), music
+(make strange and unusual modifications to the sound for artistic
+reasons), research (visualize animal calls or noise pollution from
+nearby industrial activity), and general purpose geekery (which is
+why I made it).
diff --git a/audio/spectro-edit/Makefile b/audio/spectro-edit/Makefile
new file mode 100644
index 00000000000..acc7894e04b
--- /dev/null
+++ b/audio/spectro-edit/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2014/08/07 20:53:26 wiz Exp $
+
+DISTNAME= spectro-edit_0.4
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= audio
+MASTER_SITES= https://spectro-edit.googlecode.com/files/
+EXTRACT_SUFX= .jar
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://code.google.com/p/spectro-edit/
+COMMENT= Graphically view and edit WAV files
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+INSTALLATION_DIRS= bin share/spectro-edit
+
+USE_JAVA= run
+USE_JAVA2= yes
+
+do-build:
+ ${ECHO} '#!/bin/sh' > ${WRKDIR}/spectro-edit.sh
+ ${ECHO} "exec ${JAVA_BINPREFIX}-java -jar "'"'"${PREFIX}"'/share/spectro-edit/${DISTNAME}.jar" "$$@"' >> ${WRKDIR}/spectro-edit.sh
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/spectro-edit.sh ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${DESTDIR}${PREFIX}/share/spectro-edit
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/spectro-edit/PLIST b/audio/spectro-edit/PLIST
new file mode 100644
index 00000000000..f78145f9ad5
--- /dev/null
+++ b/audio/spectro-edit/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/07 20:53:26 wiz Exp $
+bin/spectro-edit.sh
+share/spectro-edit/spectro-edit_${PKGVERSION}.jar
diff --git a/audio/spectro-edit/distinfo b/audio/spectro-edit/distinfo
new file mode 100644
index 00000000000..c6bf20df31a
--- /dev/null
+++ b/audio/spectro-edit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/07 20:53:26 wiz Exp $
+
+SHA1 (spectro-edit_0.4.jar) = faf8988a614bbf23985a32a30fe59cff5a3c562e
+RMD160 (spectro-edit_0.4.jar) = 0d1fdc8c0137a39ebf2efdafb89632c4eff348f7
+Size (spectro-edit_0.4.jar) = 351068 bytes