Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


My Fractal Music Program, Now with GUI

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Evil_Intentions
Expert Cheater
Reputation: 65

Joined: 07 Jan 2010
Posts: 214

PostPosted: Wed Mar 23, 2011 2:58 pm    Post subject: My Fractal Music Program, Now with GUI This post has 1 review(s) Reply with quote

So I got bored today in my Java class(as usual) and decided that if I could make a legitimate Fractal geometry program, I can make a legitimate Fractal music program. So I set off for my vast adventure of blood..tears..and code....which ended about 20 minutes later. Here is my first little version that has the BASIC functionality. Details for each prompt are as follows:

Generator string: a string of 'f's(THATS LOWERCASE),'-'s, and '+'s
Each f is replaced with a copy of the entire string. pluses and minuses raise or lower the scale degree respectfully.

Order: How many times the fs get replaced

Scale code: just in for debugging purposes. use 1 for C major, 2 for C harmonic minor



For those of you who don't know what fractals are, this is just a quick example.

I enter "f-f+f+f-f" as my generator, then pick 1 for my order. The resulting string is "f-f+f+f-f". If I had picked 2 it would be "f-f+f+f-f-f-f+f+f-f+f-f+f+f-f+f-f+f+f-f-f-f+f+f-f" So you can kind of see how that works. Each f is interpreted by the program and played as a note corresponding to the current note index(1-6) which are the notes in the chosen scale. Pluses and minuses raise or lower the index. So for example, "f-f+f+f-f" with an order of 1 would play C,A,C,D,C

Future versions will have an actual UI, 50 different instruments, multiple "mod" strings(which will control note length and style) as well as a MIDI exporter.

I post this hoping to receive criticism and possibly a partner to help me get this thing made.

Linky: http://www.mediafire.com/?w1ajgl0pgc6q45b

A good string I found is "f---f+f-f-f-++ff-f--" try different orders and post your own stings Very Happy

PS: if anyone wants my fractal geometry program, I can post that too Very Happy

UPDATE
I have made a simple GUI for it, added another scale, added variable tempo, added root note selection, and the ability to save your creation as a .midi file Very Happy

You can get what I will call the First stable release right here http://www.mediafire.com/?w0p940r1ps4nbej[/url]
Back to top
View user's profile Send private message
Radiation
Grandmaster Cheater
Reputation: 14

Joined: 17 Jun 2009
Posts: 842
Location: Chernobyl

PostPosted: Thu Mar 24, 2011 12:22 am    Post subject: Reply with quote

awesome! thanks! will try it out

ha try something like this:

fractal order 2:
fffff+f+f+fff



fractal order 3:
ff++--++ff--



can you work on adding something that has to do with chord progression? maybe a fractal-generated chord progression function?

_________________
Jesus loves you, Hitler! Smile

Playing/Embedding XM and MOD files in Visual Basic 6

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
I can spell your name backwards: ‮Hitler
Back to top
View user's profile Send private message
Evil_Intentions
Expert Cheater
Reputation: 65

Joined: 07 Jan 2010
Posts: 214

PostPosted: Thu Mar 24, 2011 5:44 am    Post subject: Reply with quote

I dont know about true chord progressions(mostly because they are structured) but I can definitely have the program build chords instead of single notes.
Back to top
View user's profile Send private message
Radiation
Grandmaster Cheater
Reputation: 14

Joined: 17 Jun 2009
Posts: 842
Location: Chernobyl

PostPosted: Thu Mar 24, 2011 8:31 pm    Post subject: Reply with quote

chord progressions are interesting, that would be cool if we could input in our own scales for the music to play on
_________________
Jesus loves you, Hitler! Smile

Playing/Embedding XM and MOD files in Visual Basic 6

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
I can spell your name backwards: ‮Hitler
Back to top
View user's profile Send private message
Evil_Intentions
Expert Cheater
Reputation: 65

Joined: 07 Jan 2010
Posts: 214

PostPosted: Thu Mar 24, 2011 10:09 pm    Post subject: Reply with quote

itapa wrote:
chord progressions are interesting, that would be cool if we could input in our own scales for the music to play on


GREAT idea. Shouldn't be hard to implement at all. The only thing is having a way to enter it intuitively. I mean, I play on having a LOT of scales once things are done. I have around 10 in my working version right now, as well as like 10 instruments(more of those later as well).

Now that I have all the basic functionality out of the way, it's all expansion. Feel free to give me more of you ideas.

BTW try this string out "f----f++f+f--f+f++f++++f" F# Harmonic minor, unless your version has Melodic Minor(D). Feel free to pick your own order, but 3 is pretty cool. There is almost an "Evolution" in the music.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites