Re: [LAU] sample preview program?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Niels Mayer <nielsmayer@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Thursday, August 5, 2010 - 8:17 am

--0016363b8b88b3677f048d0f2cac
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Glad to hear its working. Was getting a little worried there. Are you
running 64 bits?

I've a waveform display done, so yes that's no problem. And it just involve=
s
plotting
the sample amplitude vs sample position.. so that's easy. The spectogram yo=
u
mentioned
is my version of a nightmare, with FFT's and what not floating around the
place ;-)

I'll see how things go with the waveform, it should be ok to do the playhea=
d
you talk bout,
the regions shouldnt be too much work either.. so Yup i will do those. in 2
weeks r so.
I'm going on holidays today :-)

Cheers, -Harry

On Thu, Aug 5, 2010 at 7:21 AM, Niels Mayer wrote:

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

--0016363b8b88b3677f048d0f2cac
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Glad to hear its working. Was getting a little worried there. Are you runni=
ng 64 bits?I've a waveform display done, so yes that's no p=
roblem. And it just involves plottingthe sample amplitude vs sample pos=
ition.. so that's easy. The spectogram you mentioned
is my version of a nightmare, with FFT's and what not floating around t=
he place ;-)I'll see how things go with the waveform, it should=
be ok to do the playhead you talk bout,the regions shouldnt be too muc=
h work either.. so Yup i will do those. in 2 weeks r so.
I'm going on holidays today :-)Cheers, -HarryOn Thu, Aug 5, 2010 at 7:21 AM, Niels Mayer <nielsmayer@gmail.com> wrote:
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 j=
ack
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 . An=
d 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 scro=
lling
region that can hold an infinite number of playing loops... as well as
dynamically collapse the "view" of the loop data to include a pol=
ar
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 =A0 =A0 =A0 =A0 =A0 : /usr/bin/gcc
Checking for program cpp =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : /usr/bin/cpp
Checking for program ar =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: /usr/bin/ar
Checking for program ranlib =A0 =A0 =A0 =A0 =A0 =A0 =A0: /usr/bin/ranlib
Checking for gcc =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : ok
Checking for program valac =A0 =A0 =A0 =A0 =A0 =A0 =A0 : /usr/bin/valac
Checking for gobject-2.0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : yes
Checking for gthread-2.0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : yes
Checking for program version valac >=3D 0.1.6 : ok 0.8.1
Checking for gtk+-2.0 >=3D 2.10.0 =A0 =A0 =A0 =A0 =A0 =A0 : yes
Checking for jack >=3D 0.100 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: yes
Checking for sndfile =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: 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 =91_vala_main=92:
default/main.c:587: warning: assignment from incompatible pointer typ=
e
[5/6] static_link: build/default/sample_1.o -> build/d=
efault/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... =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0Done!
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):

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

=A0 =A0 =A0 =A0#conf.check_cfg(package=3D'glib-2.0', uselib_store=
=3D'GLIB',
atleast_version=3D'2.10.0', mandatory=3D1, args=3D'--cflags --l=
ibs')
=A0 =A0 =A0 =A0conf.check_cfg(package=3D'gtk+-2.0', uselib_store=
=3D'GTK',
atleast_version=3D'2.10.0', mandatory=3D1, args=3D'--cflags --l=
ibs')

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

Niels
http://nielsmayer.com

--0016363b8b88b3677f048d0f2cac--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] sample preview program?, Josh Lawrence, (Mon Jul 26, 9:58 pm)
Re: [LAU] sample preview program?, , (Wed Jul 28, 7:16 pm)
Re: [LAU] sample preview program?, Bernardo Barros, (Wed Jul 28, 3:32 am)
Re: [LAU] sample preview program?, david, (Wed Jul 28, 5:29 am)
Re: [LAU] sample preview program?, Bernardo Barros, (Wed Jul 28, 2:20 pm)
Re: [LAU] sample preview program?, david, (Thu Jul 29, 9:19 am)
Re: [LAU] sample preview program?, Harry Van Haaren, (Mon Aug 2, 12:11 pm)
Re: [LAU] sample preview program?, Niels Mayer, (Wed Aug 4, 11:15 pm)
Re: [LAU] sample preview program?, Harry Van Haaren, (Wed Aug 4, 11:24 pm)
Re: [LAU] sample preview program?, Niels Mayer, (Wed Aug 4, 11:53 pm)
Re: [LAU] sample preview program?, Harry Van Haaren, (Thu Aug 5, 12:01 am)
Re: [LAU] sample preview program?, Niels Mayer, (Thu Aug 5, 12:21 am)
Re: [LAU] sample preview program?, Harry Van Haaren, (Thu Aug 5, 12:38 am)
Re: [LAU] sample preview program?, Niels Mayer, (Thu Aug 5, 6:21 am)
Re: [LAU] sample preview program?, Harry Van Haaren, (Thu Aug 5, 8:17 am)
Re: [LAU] sample preview program?, Philipp √úberbacher, (Wed Aug 4, 5:47 pm)
Re: [LAU] sample preview program?, Harry Van Haaren, (Tue Jul 27, 11:42 am)
Re: [LAU] sample preview program?, drew Roberts, (Tue Jul 27, 12:58 pm)
Re: [LAU] sample preview program?, Harry Van Haaren, (Tue Jul 27, 1:40 pm)
Re: [LAU] sample preview program?, Philipp √úberbacher, (Mon Jul 26, 11:07 pm)
Re: [LAU] sample preview program?, Eric Steinberg, (Mon Jul 26, 10:33 pm)
Re: [LAU] sample preview program?, Natanael Olaiz, (Tue Jul 27, 10:51 am)
Re: [LAU] sample preview program?, Niels Mayer, (Wed Jul 28, 7:48 pm)
Re: [LAU] sample preview program?, rosea grammostola, (Wed Jul 28, 8:05 pm)