|
|
blaaard
from Imatra (close to sky) (Finland) on 2008-01-20 15:07 [#02165724]
Points: 1207 Status: Addict
|
|
interactive non threedimensional IDM computer musick
lol excuse the fiendish interface, it's just a stupid test. java runtime needed. will take a while to load (40MB samples).
controls: mouse X & Y
channels from left to right: 1 bassdrums, 2 snaredrums, 3 synth, 4 synth, 5 weird clicks.
each channel has 7 samples in it, and a mute one (top row). moving your mouse vertically will trigger a new sample (indicated by red circle), moving the mouse horizontally will do nothing but allow you to move into another channel.
have fun lollerz!
|
|
blaaard
from Imatra (close to sky) (Finland) on 2008-01-20 15:44 [#02165737]
Points: 1207 Status: Addict
|
|
oh and it's generally a good idea not switching samples too hectically... low performance idm generator
|
|
vlari
from beyond the valley of the LOLs on 2008-01-20 15:56 [#02165738]
Points: 13915 Status: Regular
|
|
neat
|
|
DirtyPriest
from Copenhagen (Denmark) on 2008-01-20 16:08 [#02165740]
Points: 5499 Status: Lurker
|
|
I love it!!! I was thinking about doing something more or less like this for a school project (multimediadesign).
Can you tell me some more about how you did it?
|
|
w M w
from London (United Kingdom) on 2008-01-20 16:12 [#02165741]
Points: 21444 Status: Lurker
|
|
Are you sure it eventually loads, SIGH
|
|
w M w
from London (United Kingdom) on 2008-01-20 16:32 [#02165750]
Points: 21444 Status: Lurker
|
|
This is excellent. There is a shortage of people doing more creative things like this, probably because programming is piss difficult/time consuming/aggravating. It could be better though I guess.
Not sure how you're doing it but if you're using entire wav files or something, it might be more efficient to only load the tiny little percussion hits (with no bloated gaps of empty space between them) and then tell the program what pattern to make from them. I havn't tried anything like this though so don't know much about it.
|
|
cronenburger
from Ireland on 2008-01-20 16:36 [#02165752]
Points: 456 Status: Lurker
|
|
make it load properly next time, wouldja?
|
|
blaaard
from Imatra (close to sky) (Finland) on 2008-01-20 16:37 [#02165754]
Points: 1207 Status: Addict | Followup to DirtyPriest: #02165740
|
|
thanks!
it's quite hard to explain.... because i worked out the code in small steps... without ever knowing how and why it would work in the end...
it's also just the first half of it... it will read and analyze a video stream and trigger samples based on colors and shapes instead of the mouse..... (hopefully)
playing back audio and looping the samples was surprisingly easy, as basic stuff like that has simple commands from the add-on library... also the graphic stuff... Processing makes such things very accesible. programming the events for switching samples and keeping them looped while switching another, and assigning certain samples to certain "buttons/fields or channels" was more difficult.... as there is no mixer and not a single button or channel defined in the code.... which would have been an option... but would have involved object-oriented programming, and i'm a n00b :]
but yeah, Processing is super for anything "multimedia".
|
|
blaaard
from Imatra (close to sky) (Finland) on 2008-01-20 16:48 [#02165760]
Points: 1207 Status: Addict | Followup to w M w: #02165750
|
|
yes, it would be way more efficient, but the java thing is not quite great for realtime audio stuff... i'm actually glad it can loop a couple of files simultanously without too many crackles... also me n00b.
and this sure as hell could use improvement.... Processing is quite good for simulating and visualising simple biological rules, generative stuff.... cellular or swarm motion.... great possibilities for generative/(self-)reactive song writing :D
|
|
Drunken Mastah
from OPPERKLASSESVIN!!! (Norway) on 2008-01-20 16:51 [#02165761]
Points: 35867 Status: Lurker | Show recordbag
|
|
No java, and I refuse to install it. Can't it be compiled to something else?
|
|
DirtyPriest
from Copenhagen (Denmark) on 2008-01-20 16:56 [#02165765]
Points: 5499 Status: Lurker
|
|
OK, i've looked at your source code a bit.
Got some questions.
* You loud the loops from a .minim file (I think), can you use something else? It's for Mac, and i don't have that (Yet!)
I will get a Macbook soon, but i want to play with this now.
* The design of the buttons. It doesn't seem like you are loading picture files anywhere, so i guess it's sort of generated, like a CSS files makes visuals in a HTML document (hope you know what i mean) Would it be easy to replace them with some kind of picture file instead?
I guess the "Void" represents the area as a whole (800X360) The "Gitternetz" is the grid that seperates the blocks right?
And the Channels are the 5 different sample types?
|
|
DirtyPriest
from Copenhagen (Denmark) on 2008-01-20 17:05 [#02165767]
Points: 5499 Status: Lurker | Followup to w M w: #02165750
|
|
Thats a good idea, but that would require for him to build an entire sequencer within the program (i think). That would much more complicated (I think)
|
|
DirtyPriest
from Copenhagen (Denmark) on 2008-01-21 15:42 [#02166098]
Points: 5499 Status: Lurker
|
|
Please reply to this, i really want to know :D
|
|
Tomi
from Poland on 2008-01-22 00:10 [#02166171]
Points: 409 Status: Regular
|
|
i think this computer with i had opened it is to slow to handle it, but the idea is good.
|
|
blaaard
from Imatra (close to sky) (Finland) on 2008-01-22 04:57 [#02166209]
Points: 1207 Status: Addict | Followup to DirtyPriest: #02165765
|
|
the sounds are packed in a .jar file... the link at the top of this page is an exported applet, i guess that's why you can't access the samples...
if you want to run the code on your computer you'll need the processing api (from processing.org) and the Minim audio library. simply put the minim folder in your [Processing installation folder]/libraries. i'll upload a zip with the project and uncompressed samples later today...
yeah, the buttons are created using simple functions... could really easily be replaced with pictures or basically anything else...
"void" simply means that the function behind it (i.e. setup, draw, drawRect, ..) does not return any value.... and the code is structured like that: the stuff before setup imports the minim library, and declares/creates five audio objects.... setup is then called once, defining window size and a couple of things, and loading the first set of samples.... draw is then LOOPED until the program stops: the two for-structures beneath //gitternetz draw the grid, the oldsample/currentsample/newsample variables are used for checking if the mouse moved into another channel/sample. drawRect and sampleChange are custom functions... they're executed within draw, but defined beneath draw.... this might be confusing at first glance.... well drawRect draws a white rectangle and sampleChange switches samples.
like i stated above, this is just a stupid test and certainly not optimized to be 'played' in a web browser, or manually operated at all. will be part of a video installation when finished...
|
|
Messageboard index
|