On Wed, 9 Nov 2011 20:58:10 +1000 David Seikel <[email protected]> said:

> On Wed, 9 Nov 2011 18:32:32 +1000 David Seikel <[email protected]>
> wrote:
> 
> > On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The Rasterman)
> > <[email protected]> wrote:
> > 
> > > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel <[email protected]>
> > > said:
> > > 
> > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The Rasterman)
> > > > <[email protected]> wrote:
> > > > 
> > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel
> > > > > <[email protected]> said:
> > > > > 
> > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The
> > > > > > Rasterman) <[email protected]> wrote:
> > > > > > 
> > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel
> > > > > > > <[email protected]> said:
> > > > > > > 
> > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel
> > > > > > > > <[email protected]> wrote:
> > > > > > > > 
> > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel
> > > > > > > > > <[email protected]> wrote:
> > > > > > > > > 
> > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten Haitzler
> > > > > > > > > > (The Rasterman) <[email protected]> wrote:
> > > > > > > > > > 
> > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky
> > > > > > > > > > > <[email protected]> said:
> > > > > > > > > > > 
> > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten
> > > > > > > > > > > > Haitzler a écrit :
> > > > > > > > > > > > > attached. this was a sample edc that would be
> > > > > > > > > > > > > able to play audio, not just single samples but
> > > > > > > > > > > > > whole sequences across multiple tracks as well
> > > > > > > > > > > > > as control specific channels and tracks. it
> > > > > > > > > > > > > didn't specify looping params yet or other
> > > > > > > > > > > > > additional stuff.
> > > > > > > > > > > > 
> > > > > > > > > > > > Such a huge thing just to play sound in edje... Is
> > > > > > > > > > > > it really necessary to have all this in edje or
> > > > > > > > > > > > are you just nostalgic of the good old days of
> > > > > > > > > > > > trackers??
> > > > > > > > > > > 
> > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered
> > > > > > > > > > > milkytracker! i'm enjoying myself thoroughly! :)
> > > > > > > > > > > 
> > > > > > > > > > > seriously though... you CAN still just play
> > > > > > > > > > > samples.. then play samples WITH volume envelopes
> > > > > > > > > > > and looping (sounds as this glues sample+envelopes)
> > > > > > > > > > > and then play entire sequences (a series of samples
> > > > > > > > > > > played with timing), which is the basics for most
> > > > > > > > > > > musical scoring, then combine these into multiple
> > > > > > > > > > > track patterns and put them together into whole
> > > > > > > > > > > songs if u want. it drops down to the simple and up
> > > > > > > > > > > to the whole "compose a whole score" end of things.
> > > > > > > > > > > 
> > > > > > > > > > > if all you ever choose to do is play samples - then
> > > > > > > > > > > its largely irrelevant. reality is that if you want
> > > > > > > > > > > to have complex sound effects you need to start
> > > > > > > > > > > doing all of these little bits. :)
> > > > > > > > > > > 
> > > > > > > > > > > let me give an example. scrolling.
> > > > > > > > > > > 
> > > > > > > > > > > you want to play some "wind blowing" when you first
> > > > > > > > > > > start to drag
> > > > > > > > > > > - this may consist of 2 or 3 channels of sound with
> > > > > > > > > > > various wind samples overlayed at staggered
> > > > > > > > > > > intervals to give the impression of something that
> > > > > > > > > > > isn't always looping and repeating (it's a neat
> > > > > > > > > > > trick you also can do with overlayed images). you
> > > > > > > > > > > want this "song" to fade in then keep looping a few
> > > > > > > > > > > patterns where you really are using 5 or so 5
> > > > > > > > > > > second samples to create several minutes of wind
> > > > > > > > > > > sound. now when you actually MOVE your mouse (or
> > > > > > > > > > > finger) you year some "tinkling" sounds that sound
> > > > > > > > > > > like the small glass bells being shaken. these play
> > > > > > > > > > > and fade out becoming quieter the slower your drag
> > > > > > > > > > > and varying pitch depending on how high or low your
> > > > > > > > > > > position is on the scroll range. you would
> > > > > > > > > > > implement these with another few tacks like the
> > > > > > > > > > > wind, applying modifiers for pitch and volume of
> > > > > > > > > > > the play instructions. the bell sample can be 2 or
> > > > > > > > > > > 3 samples like the wind to give the impression of
> > > > > > > > > > > many distinct bells, just played at differing
> > > > > > > > > > > speeds for pitches (you can normally go up 1 octave
> > > > > > > > > > > before it sounds just odd and want to get a new
> > > > > > > > > > > sampling).
> > > > > > > > > > 
> > > > > > > > > > I'm excited by that.  B-)
> > > > > > > > > > 
> > > > > > > > > > However, with multisense turned on (Ubuntu 10.04,
> > > > > > > > > > sndfile 1.0.21), when it gets to compiling
> > > > > > > > > > elementary's edje files I get -
> > > > > > > > > > 
> > > > > > > > > > /opt/e17/bin/edje_cc  -id ../../data/themes
> > > > > > > > > > -fd ../../data/themes \
> > > > > > > > > > <------>../../data/themes/default.edc \
> > > > > > > > > > <------>../../data/themes/default.edj /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/themes -fd ../../data/themes \
> > > > > > > > > > <------>../../data/themes/default-desktop.edc \
> > > > > > > > > > <------>../../data/themes/default-desktop.edj ALSA
> > > > > > > > > > player_plugin init fail Couldn't open any output
> > > > > > > > > > device. ALSA player_plugin init fail
> > > > > > > > > > Couldn't open any output device.
> > > > > > > > > > make[3]: Leaving directory
> > > > > > > > > > `/home/dvs1/e17_svn/SVN/trunk/elementary/data/themes'
> > > > > > > > > > Making all in images make[3]: Entering directory
> > > > > > > > > > `/home/dvs1/e17_svn/SVN/trunk/elementary/data/images'
> > > > > > > > > > make[3]: Nothing to be done for `all'. make[3]:
> > > > > > > > > > Leaving directory
> > > > > > > > > > `/home/dvs1/e17_svn/SVN/trunk/elementary/data/images'
> > > > > > > > > > Making all in objects make[3]: Entering directory
> > > > > > > > > > `/home/dvs1/e17_svn/SVN/trunk/elementary/data/objects' 
> > > > > > > > > > /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/objects -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/test.edc \
> > > > > > > > > > <------>../../data/objects/test.edj /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/objects -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/multip.edc \
> > > > > > > > > > <------>../../data/objects/multip.edj /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/objects -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/colorpreview.edc \
> > > > > > > > > > <------>../../data/objects/colorpreview.edj 
> > > > > > > > > > /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/objects -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/cursors.edc \
> > > > > > > > > > <------>../../data/objects/cursors.edj /opt/e17/bin/edje_cc
> > > > > > > > > > -id ../../data/objects -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/font_preview.edc \
> > > > > > > > > > <------>../../data/objects/font_preview.edj ALSA
> > > > > > > > > > player_plugin init fail Couldn't open any output
> > > > > > > > > > device. /opt/e17/bin/edje_cc  -id ../../data/objects
> > > > > > > > > > -fd ../../data/objects \
> > > > > > > > > > <------>../../data/objects/postit_ent.edc \
> > > > > > > > > > <------>../../data/objects/postit_ent.edj ALSA
> > > > > > > > > > player_plugin init fail Couldn't open any output
> > > > > > > > > > device. ALSA player_plugin init fail Couldn't open
> > > > > > > > > > any output device. ALSA player_plugin init fail
> > > > > > > > > > Couldn't open any output device.
> > > > > > > > > > make[3]: *** [postit_ent.edj] Segmentation fault
> > > > > > > > > > make[3]: *** Deleting file `postit_ent.edj'
> > > > > > > > > > 
> > > > > > > > > > Oops.
> > > > > > > > > > 
> > > > > > > > > > Make -j is jumbling that up a bit.  Still trying it
> > > > > > > > > > out on other things in SVN.
> > > > > > > > > 
> > > > > > > > > And a similar segfault in editje -
> > > > > > > > > 
> > > > > > > > > make[3]: Entering directory
> > > > > > > > > `/home/dvs1/e17_svn/SVN/trunk/editje/data/templates/default' 
> > > > > > > > > /opt/e17/bin/edje_cc
> > > > > > > > > \ ../../../data/templates/default/default.edc \
> > > > > > > > >         ../../../data/templates/default/default.edj
> > > > > > > > > make[3]: *** [default.edj] Segmentation fault
> > > > > > > > > make[3]: *** Deleting file `default.edj'
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > Hmm, second time through, elementary built fine.  Might
> > > > > > > > not be edje_cc doing the segfaulting.
> > > > > > > 
> > > > > > > actually... where do u have remix installed vs edje? i think
> > > > > > > edje may be installing the remix plugins in the wrong spot
> > > > > > > for remix.
> > > > > > 
> > > > > > remix is installing in it's default of /usr/local, all of EFL
> > > > > > and friends is installed in /opt/e17.
> > > > > 
> > > > > AAAAAAAAAAAAAAAAAAAAAH! thats why! yes - its a problem in the
> > > > > configure.ac where it installs the remix plugins in edj's
> > > > > prefix, not in remix's prefix.
> > > > 
> > > > OK, just got that segfault in the same place in elementary
> > > > building as mentioned above.  In total I've had it five times
> > > > while compiling most of SVN many times, this is the first time it
> > > > has shown up in the same place as before.  In all cases there's no
> > > > segfault if I just compile it all over again.  Memory problem in
> > > > edje_cc perhaps?
> > > 
> > > valgrind... gdb.. you now the routine. "works for me" so need you to
> > > come up with info. :)
> > 
> > Yep, after dinner I was gonna.
> 
> Preliminary results after a quick test, which might help while I go do
> something else.  Valgrind showed nothing, it would not segfault there.
> Segfaulted under gdb, results attached.
> 
> /me compiles things with symbols and tries again later.

aaaaaaaaaaah crap. it's the non-threadafe libdl!

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to