Re: sample preview program?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After installing ' waf.noarch 0:1.5.18-1.fc12' and rebuilding, it runs!

It's works very nice and all, and it's good to know I can build a jack
app this easily... so how would you go about adding a
spectrogram/waveform display for the samples you display, e.g.
http://www.mega-nerd.com/libsndfile/tools/#spectrogram . And then
using that as a visual reference, be able to zoom and drag out regions
on-top of the waveform or spectrogram. Then use the dimensions of the
regions to play in the loop, preferably, animating a cursor in
real-time as the sound plays. Of course you should be able to create
and destroy these loopers as independent "UI units" within a scrolling
region that can hold an infinite number of playing loops... as well as
dynamically collapse the "view" of the loop data to include a polar
spectrogram display, ala
http://freewheeling.sourceforge.net/shots.shtml but without the
reptilian GUI.

.........................................

gnulem-120-.../Vala/PreHear> delete -rf build/
gnulem-121-.../Vala/PreHear> ./waf configure

Setting build options & flags...
Initializing WAF build system...
Configuring the build enviroment...
Checking for program gcc or cc           : /usr/bin/gcc
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for gcc                         : ok
Checking for program valac               : /usr/bin/valac
Checking for gobject-2.0                 : yes
Checking for gthread-2.0                 : yes
Checking for program version valac >= 0.1.6 : ok 0.8.1
Checking for gtk+-2.0 >= 2.10.0             : yes
Checking for jack >= 0.100                  : yes
Checking for sndfile                        : yes
'configure' finished successfully (0.154s)

gnulem-122-.../Vala/PreHear> ./waf

Setting build options & flags...
Initializing WAF build system...
Waf: Entering directory `/home/npm/Vala/PreHear/build'
Building the sources to objects...
[1/6] valac: sample.vala -> build/default/sample.c
build/default/sample.h build/default/sample.vapi
build/default/sample.deps
[2/6] valac: main.vala -> build/default/main.c
[3/6] cc: build/default/sample.c -> build/default/sample_1.o
[4/6] cc: build/default/main.c -> build/default/main_2.o
default/main.c: In function ‘_vala_main’:
default/main.c:587: warning: assignment from incompatible pointer type
[5/6] static_link: build/default/sample_1.o -> build/default/libsample.a
[6/6] cc_link: build/default/main_2.o -> build/default/main
Waf: Leaving directory `/home/npm/Vala/PreHear/build'
'build' finished successfully (1.147s)

gnulem-106-~/Documents> ~/Vala/PreHear/run.sh
Attempting to connect to JACK...			Done!
WARNING: Sample not loaded. Possible uncompatible file?
currentSample.play()
WARNING: Sample not loaded. Possible uncompatible file?
currentSample.play()
currentSample.play()
currentSample.play()
currentSample.playXY(0,0)
currentSample.play()
currentSample.playXY(0,0)
currentSample.play()
currentSample.playX(10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.playXY(10,10)
currentSample.play()

.............

Note:

gnulem-124-.../Vala/PreHear> git diff
diff --git a/wscript b/wscript
index f85ec3e..8678e23 100755
--- a/wscript
+++ b/wscript
@@ -23,6 +23,7 @@ def configure(conf):

        #conf.env.append_value('CFLAGS', ['-O2', '-g', '-Wall'])
        #conf.env.append_value('VALAFLAGS', '--thread')
+       conf.env.append_value('VALAFLAGS', '--vapidir=/home/npm/Vala/vapi/')

        #conf.check_cfg(package='glib-2.0', uselib_store='GLIB',
atleast_version='2.10.0', mandatory=1, args='--cflags --libs')
        conf.check_cfg(package='gtk+-2.0', uselib_store='GTK',
atleast_version='2.10.0', mandatory=1, args='--cflags --libs')

..............

Niels
http://nielsmayer.com
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux