Music accents

Post Reply
gerry
Posts: 7
Joined: Sun Jun 18, 2017 4:50 pm
My devices: iPhone and ipad
Location: Sarnia ON
Flag: Canada

Music accents

Post by gerry »

Don't know much about programming yet. Music, I know a bit.
How about these music accents? Got the idea from Dav.

Code: Select all

' major scale up
NOTES SET "12:tc6d6e6f6g6a6b6c7"
PRINT "major scale up"
NOTES PLAY
PAUSE 2
' major scale down
NOTES SET "12:tc7b6a6g6f6e6d6c6"
PRINT "major scale down"
NOTES PLAY
PAUSE 2
' minor scale up
NOTES SET "12:tc6d6e$6f6g6a$6b6c7"
PRINT "minor scale up"
NOTES PLAY
PAUSE 2
' minor scale down
NOTES SET "12:tc7b$6a$6g6f6e$6d6c6"
PRINT "minor scale down"
NOTES PLAY
PAUSE 2
' major arpeggio up and down
NOTES SET "12:tc6e6g6c7g6e6c6"
PRINT "major arpeggio up and down"
NOTES PLAY
PAUSE 2
' major arpeggio down and up
NOTES SET "12:tc7g6e6c6e6g6c7"
PRINT "major arpeggio down and up"
NOTES PLAY
PAUSE 2
' minor arpeggio up and down
NOTES SET "12:tc6d#6g6c7g6d#6c6"
PRINT "minor arpeggio up and down"
NOTES PLAY
PAUSE 2
' minor arpeggio down and up
NOTES SET "12:tc7g6d#6c6d#6g6c7"
PRINT "minor arpeggio up and down"
NOTES PLAY
PAUSE 2
' chromatic scale up
NOTES SET "12:xc6c#6d6d#6e6f6f#6g6g#6a6a#6b6c7"
PRINT "chromatic scale up"
NOTES PLAY
PAUSE 2
' chromatic scale down
NOTES SET "12:xc7b6a#6a6g#6g6f#6f6e6d#6d6c#6c6"
PRINT "chromatic scale down"
NOTES PLAY
PAUSE 2
Things go better with code!

Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Re: Music accents

Post by Henko »

Look for "Opus Magnificus for ipad" on page 11 of this section

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Music accents

Post by rbytes »

I like musical stingers. They are handy to use for testing programs, and also to confirm certain actions in programs where the results aren't obvious - e.g. Saving a file. Also helpful for vision-impaired people.

I will use these. Thanks, gerry.

I recommend Opus Magnificus. It's a good example of how powerful smart Basic can be once you get the hang of it.

Also, have you tried creating chords yet? Here is an example of chords played back-to-back: C Major and D minor

Code: Select all

NOTES SET "46:q(c6e6g6)(d6f6a6)
NOTES PLAY
The q sets duration as quarter notes. The notes inside parentheses play togetheras a chord.
46 is just one of 127 MIDI instruments you can use. You can look it up in the help files under Instruments - it is the Orchestral Harp.
The only thing that gets me down is gravity...

gerry
Posts: 7
Joined: Sun Jun 18, 2017 4:50 pm
My devices: iPhone and ipad
Location: Sarnia ON
Flag: Canada

Re: Music accents

Post by gerry »

Chords are fun. Also tried Opus. Does some great FX but way beyond my know how.

Code: Select all

' c inv major 6 chord
NOTES SET "12:h(c5a4g4e4)"
PRINT "C inv major 6 chord"
NOTES PLAY
PAUSE 2
' c inv major 7 chord
NOTES SET "8:h(b4g4e4c4)"
PRINT "C inv major 7 chord"
NOTES PLAY
PAUSE 2
' c inv major 9 chord
NOTES SET "17:h(d5b4g4e4c4)"
PRINT "C inv major 9 chord"
NOTES PLAY
PAUSE 2
' c inv major 11 chord
NOTES SET "28:h(g$5d5b4g4e4c4)"
PRINT "C inv major 11 chord"
NOTES PLAY
PAUSE 2
' c inv major 13 chord
NOTES SET "46:h(a5g$5d5b4g4c4)"
PRINT "C inv major 13 chord"
NOTES PLAY
PAUSE 5
Things go better with code!

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: Music accents

Post by rbytes »

Nice chords. Are you a professional musician?
The only thing that gets me down is gravity...

Post Reply