Author Topic: Music  (Read 15764 times)

Jazz Ad

  • Sapling
  • **
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 53
Music
« 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?

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #1 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..

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #2 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:

    Octave/pitch is how light or heavy the note will play, if you play piano you understand this
    Duration is how long the not lasts, instead of just a "click" and done with the note you can play longlasting and dramatic notes which then creates more melody and harmony :) Around 30% of the time should be the "click" you get when you first begin playing the note.
    Loudness is the percent of volume the note will have compared to the set amount of volume for music in the game itself(changeable in options :P).

So that's just how I want the music system, instead of having to download another song with the map you simple do that :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #3 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

Jazz Ad

  • Sapling
  • **
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 53
Re: Music
« Reply #4 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.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #5 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.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #6 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? :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #7 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.

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #8 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

kmercy

  • Seedling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
Re: Music
« Reply #9 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

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #10 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?

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Music
« Reply #11 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 :)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #12 on: August 11, 2011, 11:11:10 PM »
Lol, I wouldn't use math in music making... Other than experiementing...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #13 on: August 12, 2011, 12:43:31 AM »
Oh right, fair enough :>

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #14 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.




annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #15 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
.  :>  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 a tune I wrote.


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

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #16 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 :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #17 on: August 16, 2011, 05:49:31 AM »
Kj, do you have any of your stuff uploaded? :>

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #18 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
.  :>  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 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).

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #19 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. 

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #20 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

;)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #21 on: August 16, 2011, 03:59:37 PM »
Cool :>  Yeah go on then, it's annikk [dot] exe [at] gmail [dot] com :>

kj

  • Shoot
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
Re: Music
« Reply #22 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).

BC wins

  • Seedling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 39
Re: Music
« Reply #23 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

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Music
« Reply #24 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.. :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #25 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!

Orion63

  • Sapling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 73
Re: Music
« Reply #26 on: August 18, 2011, 01:07:01 AM »
He's no threat. .exe is not executable in Linux... ^^ [jk]

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Music
« Reply #27 on: August 18, 2011, 01:32:47 AM »
He's still an alien!