Euflorium: The Eufloria Community

Eufloria => Eufloria Classic => Eufloria Classic Mods => Topic started by: Jazz Ad on May 22, 2011, 05:19:07 AM

Title: Music
Post by: Jazz Ad on May 22, 2011, 05:19:07 AM
Is it possible to change the music for Eufloria on a specific map?
What format does it follow?

Say I make musics and want to implement them into a map, what do I have to do?
Title: Re: Music
Post by: annikk.exe on May 22, 2011, 09:20:59 AM
I don't know of a way to do this unfortunately.  I think you might need to lobby A&R for that sound effect editor that was mentioned ages ago..
Title: Re: Music
Post by: Aino on May 22, 2011, 09:52:35 PM
One cool thing for custom music(just dropping it here, cause it is as close as I can get to custom music without creating a new topic :)) is to simply have notes, so you play a specific note like A, C or F at different octaves, so like this:

Code: [Select]
PlayNote(note(or letter),octave,duration,loudness)and example:
Code: [Select]
PlayNote("A",2,5,0.5)
Where "Note" is selfexplained, but the rest can need some info:


So that's just how I want the music system, instead of having to download another song with the map you simple do that :)
Title: Re: Music
Post by: annikk.exe on May 23, 2011, 05:55:22 PM
I think that would be quite limiting personally.  I'd prefer to see a system whereby you can put your level file and an mp3 into a zip file, and have the game recognise the zip file as a level.  Then you could refer to the mp3 (or mp3s) from within the lua file.

However LineDrawBehind() is bucketloads more important than this imo.  :P
Title: Re: Music
Post by: Jazz Ad on May 23, 2011, 09:19:50 PM
What's the current format for the music? Are they prerecorded tunes, tracker or MIDI based, built-in engine? I'm not even sure.
Title: Re: Music
Post by: annikk.exe on May 23, 2011, 10:55:40 PM
Almost certainly they will be pre-recorded tunes in mp3 or similar format, embedded into the game.  It's possible they loop based on game triggers and such.
Title: Re: Music
Post by: Aino on May 23, 2011, 11:48:51 PM
Might be limited, but would be a great system to, I'd love to be able to make my own music without an instrument or anything. But both ways won't hurt? :)
Title: Re: Music
Post by: annikk.exe on May 24, 2011, 12:07:16 AM
Get a sequencer then.  :>  FL Studio or Reason would be my recommendations.  Reason is quite limited but good for learning.


By the way, does anyone know if there is a command to play sound effects from the game?  EG, I heard there is a PlayWinSound() or similar.  Anything like that available?  I'm particularly interested in the sound the game makes when you issue a command to send seedlings.
Title: Re: Music
Post by: kj on August 11, 2011, 02:29:28 AM
Might be limited, but would be a great system to, I'd love to be able to make my own music without an instrument or anything. But both ways won't hurt? :)

Perhaps to a programer that might seem like a really logical way to do music, but me being a music composer I can tell you that it's not worth the effort or time for a few reasons.

1) This is the way music used to be put into games.  If you crack any of the original nes files you'll see what I mean.  It was time intense and not an easy way to write music.

2) This would be so limiting so as to not be worth it.  Since the music would be played in real time, you'd either have to work off the existing midi wavetable (which sounds like crap) or include soundfonts/samples with the map.

If you are worried about size, it might be a good idea just to deal with ol' school trackers (which pretty much automated the system you are talking about anyway) and just include a player, which are really small.  But to be honest, if you hope to have any kind of even reasonable sound, you'll need to use real music and since mp3's are so small in size it really doesn't matter.  5 years ago, adding 3-4 meg to a file size would make a difference.  These days, however, it's just a tiny blip.

If you need music, have someone write it for you.  I've heard enough programers music (and I have a number of programmer friends) to know that music isn't just a math game.

Peace
kj
Title: Re: Music
Post by: kmercy on August 11, 2011, 08:08:44 AM
PlayAttackSound is most likely the function in eufloria you are looking for i don't know if its accessible but you could try i guess

there is also
PlayCoreSound
PlayDeathSound
PlayPlantSound
PlayNextTune
PlayRandomGameTune
Stop
Play

--

PlayLoseSound
PlayWinSound

^ above are ones which im pretty sure can be used in lua
Title: Re: Music
Post by: annikk.exe on August 11, 2011, 03:52:58 PM
Quote
I've heard enough programers music (and I have a number of programmer friends) to know that music isn't just a math game.

What does that mean?  I'm a programmer and write music...  does that mean my tunes are bad or predictable or something?
Title: Re: Music
Post by: Alex on August 11, 2011, 09:11:36 PM
He means procedural music; music made by algorithms, rather than music made by people who happen to be programmers :)
Title: Re: Music
Post by: Aino on August 11, 2011, 11:11:10 PM
Lol, I wouldn't use math in music making... Other than experiementing...
Title: Re: Music
Post by: annikk.exe on August 12, 2011, 12:43:31 AM
Oh right, fair enough :>
Title: Re: Music
Post by: kj on August 16, 2011, 05:15:30 AM
He means procedural music; music made by algorithms, rather than music made by people who happen to be programmers :)

That is what I meant, mostly.  Procedural music :(

I also meant that almost all programmers I know (some of whom are pretty savvy and debatably brilliant) are analytical and logical.  Their artistic side is pretty stunted.  This is, by no means, a rule but just my experience so while they are wildly talented programmers, their music is rather simple and not good.



Title: Re: Music
Post by: annikk.exe on August 16, 2011, 05:31:46 AM
I also meant that almost all programmers I know (some of whom are pretty savvy and debatably brilliant) are analytical and logical.  Their artistic side is pretty stunted.  This is, by no means, a rule but just my experience so while they are wildly talented programmers, their music is rather simple and not good.


Hmm, the only programmers I know that make music are me and some of my friends.  I won't go tooting my own horn but I think my friends' music (and other artistic pursuits) are freaking awesome (http://www.youtube.com/watch?v=UG5gO4nlLRQ).  :>  Though I suppose it's possible they represent rare exceptions to your sweeping generalisation..  ;)

Anyway, since we're on the subject... I'm never one to miss a plugging opportunity..  :p  Here's (http://www.hpruk.com/annikk/annikk.exe-ULTIMATE_DESTROY.mp3) a tune I wrote.


Programming is a form of creativity.  It's true.  :>
Title: Re: Music
Post by: Aino on August 16, 2011, 05:37:50 AM
Not everyone has a musica<l star inside them, but I just don't get why you disagree with the music when most people here(specifically Annikk) makes good music as they like it. I'll even jump by and make some works of my own, 'cause I can't afford and don't have enough space for any instrments, and I won't use it that much since I'm mostly occupied by other things I think is more fun :) Now having said that, go play Minecraft and find out thet you like to do other things while playing and just not one thing. Meaning I sometimes like to code hard-coded stuff, other times experiement and other times again make maps, but I also wanna make my own pieces of music, but face the problem that I don't have anything to make it on (just like why I make my mod games here)...

I guess I said very much there, but in my case, it all makes sense :)
Title: Re: Music
Post by: annikk.exe on August 16, 2011, 05:49:31 AM
Kj, do you have any of your stuff uploaded? :>
Title: Re: Music
Post by: kj on August 16, 2011, 06:26:42 AM
Hmm, the only programmers I know that make music are me and some of my friends.  I won't go tooting my own horn but I think my friends' music (and other artistic pursuits) are freaking awesome (http://www.youtube.com/watch?v=UG5gO4nlLRQ).  :>  Though I suppose it's possible they represent rare exceptions to your sweeping generalisation..  ;)

Anyway, since we're on the subject... I'm never one to miss a plugging opportunity..  :p  Here's (http://www.hpruk.com/annikk/annikk.exe-ULTIMATE_DESTROY.mp3) a tune I wrote.


Programming is a form of creativity.  It's true.  :>

lol, pancake man rules.  I agree, that was dope. 

again, though, I was just saying from my experience and did reference that it wasn't sometime I was claiming was true across the board.  Maybe I'm just sour from listening to loads of people's music that stinks (not claiming to be a god or anything, but seriously, some of the stuff I've heard makes paint peel).
Title: Re: Music
Post by: kj on August 16, 2011, 06:31:52 AM
Not everyone has a musica<l star inside them, but I just don't get why you disagree with the music when most people here(specifically Annikk) makes good music as they like it.

Agreed, and I don't disagree with anyone writing music.  Just a silly thing I jotted down that is now getting far too much seriousness applied to it.  I'm not that serious of a dude anyway, but text doesn't really convey tone and no one here really knows me yet so it's cool.

Quote
I'll even jump by and make some works of my own, 'cause I can't afford and don't have enough space for any instrments, and I won't use it that much since I'm mostly occupied by other things I think is more fun :) Now having said that, go play Minecraft and find out thet you like to do other things while playing and just not one thing. Meaning I sometimes like to code hard-coded stuff, other times experiement and other times again make maps, but I also wanna make my own pieces of music, but face the problem that I don't have anything to make it on (just like why I make my mod games here)...

There's a good amount of instrumentation you can do with little space.  What DAW are you working with and I'll see what I have or can tune you into.  As for Minecraft, meh, not a fan.  Doesn't really interest me.  I get your point though and I don't disagree.  I have done quite a lot of map making, albeit for the HL series.  I'm code retarded though, so mapping and texture/skin art is what I stuck to.

Quote
I guess I said very much there, but in my case, it all makes sense :)

To each their own broham.  If you are happy and love what you do, screw it, do it.  Don't let my comments let you think I'm making broad claims, cause I'm not. 
Title: Re: Music
Post by: kj on August 16, 2011, 06:36:41 AM
Kj, do you have any of your stuff uploaded? :>

Soon my friend.  I just finished putting together my new comp/studio setup so I am reworking pretty much any piece that I think merits it and writing new original songs.  I mainly do video game type music (love Final Fantasy type stuff), but I'm also getting more and more into hip hop production with a touch of euro-style trance/pop (mainly for exposure).

I will be putting up about 5 songs to start on youtube with a new tune weekly so I'm kinda awaiting mid Sept to do it.  I'll post it here though.

I have some other musical projects I'm working on too.  2 promotional tunes (one political and the other hip hop) and have a beat coming out on an album.  I've heard the rough mix and it's awesome.  I can email one or two if you are really jonesin' though

;)
Title: Re: Music
Post by: annikk.exe on August 16, 2011, 03:59:37 PM
Cool :>  Yeah go on then, it's annikk [dot] exe [at] gmail [dot] com :>
Title: Re: Music
Post by: kj on August 17, 2011, 03:20:56 AM
Sent.  I don't have a place to upload em so only we could hear em (semi-private).
Title: Re: Music
Post by: BC wins on August 17, 2011, 03:25:53 AM
Cool :>  Yeah go on then, it's annikk [dot] exe [at] gmail [dot] com :>

like a true programmer xD
Title: Re: Music
Post by: annikk.exe on August 18, 2011, 12:40:47 AM
Oh yes, I'm executable, don't-you-know.  Maybe I contain a virus.. :P

By the way, I can confirm that Kj's music is pretty cool.. :>
Title: Re: Music
Post by: Aino on August 18, 2011, 12:45:59 AM
Maybe I contain a virus.. :P

Thats it! Annikk is an alien:

1. He doesn't sleep!
2. He's smart as hell!
3. He "might" contain a virus...
4. ??? (this is true indeed!)

We must do something!
Title: Re: Music
Post by: Orion63 on August 18, 2011, 01:07:01 AM
He's no threat. .exe is not executable in Linux... ^^ [jk]
Title: Re: Music
Post by: Aino on August 18, 2011, 01:32:47 AM
He's still an alien!