You are not logged in.

#1 2008-11-17 10:31:47

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

sndpeek. real-time audio visualization

Homepage:
http://soundlab.cs.princeton.edu/software/sndpeek/
Screens:
http://soundlab.cs.princeton.edu/images/sndpeek.jpg
http://soundlab.cs.princeton.edu/images/sndpeek6.jpg
http://soundlab.cs.princeton.edu/images/sndpeek2.jpg
http://soundlab.cs.princeton.edu/images/sndpeek3.jpg

sndpeek is just what it sounds (and looks) like:
    * real-time 3D animated display/playback
    * can use mic-input or wav/aiff/snd/raw/mat file (with playback)
    * time-domain waveform
    * FFT magnitude spectrum
    * 3D waterfall plot
    * lissajous! (interchannel correlation)
    * rotatable and scalable display
    * freeze frame! (for didactic purposes)
    * real-time spectral feature extraction (centroid, rms, flux, rolloff)
    * available on MacOS X, Linux, and Windows under GPL
    * part of the sndtools distribution.

i have the intention to make the PKGBUILD, but it has no ./configure and its default is to install on /usr/local/

# Contributor: Your Name <youremail@domain.com>

pkgname=sndpeek
pkgver=1.3
pkgrel=1
pkgdesc="real-time audio visualization "
url="http://soundlab.cs.princeton.edu/software/sndpeek/"
arch=('i686' 'x86_64')
license=('GPL')
depends=(libsndfile)
provides=(sndpeek)
source=(http://soundlab.cs.princeton.edu/software/sndpeek/files/$pkgname-$pkgver.tgz)
md5sums=('0ad03fa135bf819fb5971fde015526b4')

build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$pkgdir install || return 1
    }

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2009-05-16 01:15:25

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: sndpeek. real-time audio visualization

well changed the PKGBUILD a little... but still got errors...

# Contributor: Leandro Chescotta <leandro.chescotta@gmail.com>

pkgname=sndpeek
pkgver=1.3
pkgrel=1
pkgdesc="real-time audio visualization"
arch=('i686' 'x86_64')
url="http://soundlab.cs.princeton.edu/software/sndpeek/"
license=('GPL')
depends=('libsndfile')
source=(http://soundlab.cs.princeton.edu/software/sndpeek/files/$pkgname-$pkgver.tgz)
md5sums=('0ad03fa135bf819fb5971fde015526b4')

build() {
    cd $srcdir/$pkgname-$pkgver/src/sndpeek
    ./configure --prefix=/usr
    make linux-alsa || return 1
    make DESTDIR=$pkgdir install || return 1
}

output:

[aleyscha@aleyscha 51 sndpeek 22:15]$ makepkg -f
==> Making package: sndpeek 1.3-1 i686 (Fri May 15 22:15:45 ART 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found sndpeek-1.3.tgz in build dir
==> Validating source files with md5sums...
    sndpeek-1.3.tgz ... Passed
==> Extracting Sources...
  -> bsdtar -x -f sndpeek-1.3.tgz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 16: ./configure: No such file or directory
make -f makefile.alsa
make[1]: Entering directory `/home/aleyscha/bin/arch_packages/sndpeek/src/sndpeek-1.3/src/sndpeek'
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c chuck_fft.c
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c RtAudio.cpp
RtAudio.cpp: In member function 'void RtApi::openStream(int, int, int, int, RtAudioFormat, int, int*, int)':
RtAudio.cpp:234: error: 'sprintf' was not declared in this scope
RtAudio.cpp:239: error: 'sprintf' was not declared in this scope
RtAudio.cpp:244: error: 'sprintf' was not declared in this scope
RtAudio.cpp:250: error: 'sprintf' was not declared in this scope
RtAudio.cpp:257: error: 'sprintf' was not declared in this scope
RtAudio.cpp:339: error: 'sprintf' was not declared in this scope
RtAudio.cpp:341: error: 'sprintf' was not declared in this scope
RtAudio.cpp: In member function 'RtAudioDeviceInfo RtApi::getDeviceInfo(int)':
RtAudio.cpp:355: error: 'sprintf' was not declared in this scope
make[1]: *** [RtAudio.o] Error 1
make[1]: Leaving directory `/home/aleyscha/bin/arch_packages/sndpeek/src/sndpeek-1.3/src/sndpeek'
make: [linux-alsa] Error 2 (ignored)
cp  /usr/local/bin/; chmod 755 /usr/local/bin/
cp: missing destination file operand after `/usr/local/bin/'
Try `cp --help' for more information.
==> Tidying install...
  -> Compressing man pages...
  -> Stripping debugging symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: sndpeek 1.3-1 i686 (Fri May 15 22:15:50 ART 2009)
Press any key to continue...
[aleyscha@aleyscha 52 sndpeek 22:15]$

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#3 2009-05-16 03:07:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: sndpeek. real-time audio visualization

Make a patch (or google for one) to add:
#include <cstdio>
to RtAudio.cpp

Offline

Board footer

Powered by FluxBB