On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky <raoul.he...@gmail.com> 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 learned a lesson from E 0.1-> 0.13 and ebits - they were too limited. they couldn't do enough. the example i gave here is the most complex version. it reduces to simpler use. you can play just a sample. play a sound (that joins sample + effects like envelopes, later looping info), or songs. you don't HAVE to do songs. you can stick to samples and sounds. as such this is what edje does with images, but with audio. with images you have geometry and stacking. with audio you have timing and channels. as for channels - i have considered naming too, but the structure is the same. if you omit channel we can just have it default to the "auto" channel (ie create new channel for sound as long as it plays). nb - that example is a test case. it's twinkle twinkle little star. :) i've been thinking of the cases where we want audio feedback based on slider value and positions, speed at which it is dragged and what you are touching or dragging over at the time etc. nb - i did keep the same syntax as the rest of edje as at least it's consistent. you declare what sample is what and how to encode, then use it - same with envelopes etc. etc. - edje can actually do this in any order as it does a 2nd pass lookup like it does now. you can use then declare later if u want. oh and yes - i actually was expecting to have tools that can convert from music composition formats to edc at some point. the song thing allows us to later literally inline and use mods/xm/s3m files that have gui editors already - even for linux (yay found milkytracker). problem is these formats traditionally never supported compressed samples, (ogg or flac for example) and thats a problem and why i'd prefer a convert. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel