My dear good friends from this wonderful Forum how are you all doing? I hope you're doing really well! I still haven't got past the happiness of owning
the 2.5+ DLC.. it is such a breath of fresh air!!! now..
This all seems awfully easy/ simple for someone who knows how to deal with the edit box and string parser (my bet)
I wanted to create a fun play a pre-composed song: something like this...
Say I have already imported musical note samples (do,re,mi,fa,sol,la,si) as .ogg. so Fusion already has the musical notes stored into it.
Say I have opened a notepad in windows and written: 1-2-3-4-5-6-7 and saved it (music.txt).
Say I ran my application and pressed L and it loaded that music.txt text file using the edit box and it is showing: 1-2-3-4-5-6-7 on the screen.
Hoorray at that!
BUT Now, How can I say to Fusion: If I press P:
1- read what is inside the edit box from left to right
(When Fusion reads 1)
2- Play the "Do" sound.
(When reading the Dash sign)
3- Wait half a second.. and so on!!
The playing part and waiting I obviously know and I'd use a group for the wait time,
But the Reading and Acting upon What Was Read is what I don't know... would anyone be kind to send me a light to that magic? Thank you!!!
by the way I am going to upload my mfa with what I have already done, just a moment
and here is the text file I wrote: it is the Happy birthday song:
what it means:
Each period is the wait time (a quarter of a second, perhaps)
1,2,3,4,5,6,7 white musical keyboard notes
A,B,C,D,E black ones...
Btw the actual "coding" (laughs) I tried for this specific stuff starts at line 98!!!! yes. forget all the stuff before it...
Besides the edit box, I also have put into the mfa: the data store 2 object, the parser object and the ini++ object in there just in case it is needed... but if you'd like I can later send the mfa with just the edit box... I had put all those in there at first to try to test with each, but (the truth of the matter is) I don't know how to work with any of them (as I never studied them) and I forgot to remove as I uploaded.. sorry.