Author Topic: MUSEINC: Make musicmaking in Axe easier!  (Read 25964 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
MUSEINC: Make musicmaking in Axe easier!
« on: October 18, 2011, 09:40:00 pm »
Well, honestly, it's not even a program. It's just a axe include file with bunch of constants defined. But it'll make ur life easier! XD

Well, first, you know the syntax of freq(
Code: [Select]
freq(wavelength,period)
But it's kinda hard and annoying to figure out the wavelength and all that stuff. So I made it!

How to use this program
You just include at beginning of your music program!
Like:
Code: [Select]
prgmMUSIC
:.AMUSIC
:prgmMUSEINC
:bunch of stuffs

Notes
Now instead of stuff like freq(314,65535), you can do:
freq(oA2,oQR) !

Oh. Btw, you can't do freq(oA2, oQR*2) because QR is 65535 and you can't have number bigger than this.
The note range from C0 to C6, and sharps are like CS0, AS4,etc. you'll have to convert flats to sharps :P

Tempo
For tempo, Quarter is QR, Eighth is ET, Sixteenth is SX and Thirtysecond is TS!

Rests
Credit to Keoni29
for rest, you put the tempo in place of notes like:
freq(oQR,oQR)
This will give you a quarter rest.
Remember, if you want to put half rest, you have to do:
freq(oQR,oQR)
freq(oQR,oQR)
since oQR is 65535 and AXE can't understand bigger number than this XD

I hope you enjoy!
« Last Edit: October 20, 2011, 07:13:52 am by yeongJIN_COOL »
Sig wipe!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #1 on: October 18, 2011, 09:41:22 pm »
AWW YEAH!!!
BTW I have remixed your battle against fate with better drums. Me PM you? I wanna replace the synths too, for a remix :)
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #2 on: October 18, 2011, 09:43:00 pm »
Nice job! I may try this out later, if I can get some headphones that will work.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #3 on: October 18, 2011, 09:43:08 pm »
Nice :D

It would make freq() easier this way.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #4 on: October 18, 2011, 09:43:48 pm »
Oh BTW, Axe 1.0.2 or higher is required
EDIT: I'm trying to make some routines for easier musicmaking in Axe. What should I include? I added Triplets.(Not uploaded yet)
« Last Edit: October 19, 2011, 12:04:59 pm by yeongJIN_COOL »
Sig wipe!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #5 on: October 19, 2011, 12:12:10 pm »
Code for noise generator:
Code: [Select]
Lbl NOISE
for(r3,0,r2-1)
rand^4->port
for(r4,0,r1)
End
End
To call the sub:
Sub(NOISE,lenght,cycles
If you like my work: why not give me an internet?








Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #6 on: October 19, 2011, 12:12:51 pm »
Will the length will be same as period of notes used in freq?
Sig wipe!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #7 on: October 19, 2011, 12:13:36 pm »
Nope
If you like my work: why not give me an internet?








Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #8 on: October 19, 2011, 12:16:00 pm »
can you give me the equivalent period of noise if it's 16384 in freq?
EDIT:Added to routine.
« Last Edit: October 19, 2011, 12:23:46 pm by yeongJIN_COOL »
Sig wipe!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #9 on: October 19, 2011, 12:27:15 pm »
I rlly don't know how many cycles freq(x,16384 takes
If you like my work: why not give me an internet?








Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #10 on: October 19, 2011, 12:44:43 pm »
so how is the noise differ by the size of X?
Sig wipe!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #11 on: October 19, 2011, 12:47:35 pm »
By the size of the pulse? well... it gets crunchier and deeper(lower) when the size increases.
If you like my work: why not give me an internet?








Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #12 on: October 19, 2011, 12:49:24 pm »
ah ok.
Sig wipe!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #13 on: October 19, 2011, 02:46:51 pm »
Interesting, nice idea you got. Now what we need is a full music creation tool like MTV Music Generator or Mario Paint, but with only one or two channel and just chiptune sounds, with export/save features, to make game music development much faster than entering notes in a program.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #14 on: October 19, 2011, 02:56:07 pm »
Wow. This is amazing. Just a question, and I'm very musically ignorant (at least how to read and write it), what about whole and half notes and rests?