Author Topic: [UPDATE 0.3.0] Playable Instruments [BETA]  (Read 32348 times)

Bump for new stuff. More on the way.

     



Soon. So far I have 4 more instruments to complete before the full set is done.

Update!

                • Completely rewrote Instruments_PlayPhrase
                • Separated phrase and song playing into their own functions
                • Notation now actually works as intended
                • Some changes to the notation system:
                              ; and / now just act as sixteenth and eighth rests, respectively
                              > is now used for going to the next note 2x faster
                                           • These can be stacked, so >> is 4x, >>> is 6x, etc.

                + Added click-playing, which allows you to play pre-made phrases and songs at your own pace by left-clicking
                              + Adds six new commands:
                                          /clickPlayPhrase phrase
                                          /clickPlaySong song
                                          /clickPlayLoadPhrase name
                                          /clickPlayLoadSong name
                                          /clickPlayLoadedPhrase
                                          /clickPlayLoadedSong

                              • You can also bind * to a brick-shifting key to click-play with the key you bound it to instead of left-clicking

                • Changed r to ? for random notes
                • Bindsets now save in order, so old bindsets will be loaded in the wrong order (sorry!)
                + Added /bindAll command to bind a phrase/note to all brick-shifting keys


I'll also be updating most of the instruments today.
« Last Edit: August 25, 2015, 04:45:19 PM by Electrk. »

Updated the instruments.

I fixed the eyeOffset for all the instruments and added icons for all of them.

Also, some instruments without models have them now.

Also, I added the accordion instrument.

can you add Metronome?
it would help to keep in synchronization when you try to play together

Make a set of band functions:
/createband name
/invitetoband playername name
/startband name song
/stopband name
/clearband name
/setbanddirector playername
/removebanddirector playername
/kickfromband

Admin Commands
/clearallbands
/stopallbands
/muteband name

Players can create multiple bands.
Only directors can start and stop bands, only the creator of the band can kick players or remove directors. Admins have access to removing and kicking as well. They can also stop a single band with /stopband.
When /startband is called it will make the selected band members start playing the song specified at the same time. Players should make the name of their part of the song the same.

Maybe this is too much to add in synchronization but eh.

to be honest I don't really want to try to figure that out at the moment
maybe in the distant future but fdjhd[afghjnm

besides, with click-playing you can now play songs at your own pace, making playing the same songs together much easier

and what about Metronome?
it's a basic musical tool

p.s. i'm attaching 120 bpm example file (4 beats 16 [bars] measures)
just for concept

How do i get the instruments to appear ingame, or unzip them. Im on mac

Have you considered supporting abc files? I know Starbound uses them.

EDIT: t:# doesn't appear to work?
Code: [Select]
TheBlackParrot (18701)
0,0,1,2,3,0,0,1,2,3
t:160,5C+3G#,5D,5C$,5C+4C,5D,5C$,5C+4D#$,6C+4G#$_,6C+3G#$,5B+3G$,5D$,5D+3B$,5D$,5D+4D+5A#$,5D+4G+5B$_,3G$
4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$_
4F+5F+5A$,5D$,5D$,4F+5F+5A$,5D$,5D$,4F+5F+5A$_
4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,6C$_,4F+5F+5A,$__

EDIT 2: finished a thing, even though i can't set the time
https://www.youtube.com/watch?v=SfK0irAoOuU
« Last Edit: August 31, 2015, 06:59:37 AM by TheBlackParrot »

Have you considered supporting abc files? I know Starbound uses them.

EDIT: t:# doesn't appear to work?
Code: [Select]
TheBlackParrot (18701)
0,0,1,2,3,0,0,1,2,3
t:160,5C+3G#,5D,5C$,5C+4C,5D,5C$,5C+4D#$,6C+4G#$_,6C+3G#$,5B+3G$,5D$,5D+3B$,5D$,5D+4D+5A#$,5D+4G+5B$_,3G$
4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$_
4F+5F+5A$,5D$,5D$,4F+5F+5A$,5D$,5D$,4F+5F+5A$_
4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,5D#$,5D#$,4F#+5F#+5A#$,6C$_,4F+5F+5A,$__

EDIT 2: finished a thing, even though i can't set the time
https://www.youtube.com/watch?v=SfK0irAoOuU
abc files have a sound volume option i think

Electrk needs to update the second post with the notation changes.

Also, he changed it from t:# to d:# (I guess because it's not a tempo (beats per minute) but rather a delay between each quarter note.)

The tempo is actually pretty easy to find using this formula: Tbeats/min = 60000ms/min / Dms

I knew I forgot something
Updated the OP

I'll edit it later with more info on click-playing when I have time
I'll also consider adding an ability to set the tempo