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

0 Members and 1 Guest are viewing this topic.

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 #30 on: October 20, 2011, 12:38:31 pm »
Code: [Select]
For(A,0,songlength-1
If {A*3+GDB1}
Freq({{A*3+GDB1+1}+GDB0}*12+{{A*3+GDB1}+GDB0}r  ,  {A*3+GDB1+2}
End
End
Gdb0 is the wavelength table.
Gdb1 is a list of notes. Data structure for a note: note(1-12 or constant),octave(0-7),time(any time. just use constants)

"A" cycles trough all the notes in the song
Code: [Select]
Freq({{A*3+GDB1+1}*12+{A*3+GDB1}+GDB0}r   ,    {A*3+GDB1+2}Plays the note for a given amount of time. The value (0-7)*12+(1-12) in the GDB adresses to the 16 bit wavelength in the wavelength table.

Have fun coding :D
If you like my work: why not give me an internet?








Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #31 on: October 20, 2011, 12:46:20 pm »
This looks cool, but what headphones will fit in the tiny io port?

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #32 on: October 20, 2011, 12:56:33 pm »
Nevermind, i found a pair that fit. Tested with the AXESOUND program and it worked.

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 #33 on: October 20, 2011, 01:05:01 pm »
Code: [Select]
For(A,0,songlength-1
If {A*3+GDB1}
Freq({{A*3+GDB1+1}+GDB0}*12+{{A*3+GDB1}+GDB0}r  ,  {A*3+GDB1+2}
End
End
Gdb0 is the wavelength table.
Gdb1 is a list of notes. Data structure for a note: note(1-12 or constant),octave(0-7),time(any time. just use constants)

"A" cycles trough all the notes in the song
Code: [Select]
Freq({{A*3+GDB1+1}*12+{A*3+GDB1}+GDB0}r   ,    {A*3+GDB1+2}Plays the note for a given amount of time. The value (0-7)*12+(1-12) in the GDB adresses to the 16 bit wavelength in the wavelength table.

Have fun coding :D
It looks cool :D
I'll put it in MUSEINC!
*Yeong wish its easy to implement in his tracker(?)
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 #34 on: October 20, 2011, 01:15:07 pm »
No need to implement this in your tracker. Just use this in an include file for game developpers so that they can play the song files created by your tracker. Export to this data structure and you'll be fine :D
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 #35 on: October 20, 2011, 01:16:49 pm »
What I'm doing is convert the data to axe source format so they can compile it and listen it like mp3. I might add the function that copies the song data itself so dev can post it into their code XD
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 #36 on: October 20, 2011, 01:17:44 pm »
What I'm doing is convert the data to axe source format so they can compile it and listen it like mp3. I might add the function that copies the song data itself so dev can post it into their code XD
Like mp3? Like midi you mean :D
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 #37 on: October 20, 2011, 01:18:35 pm »
I meant mp3 player XP
also, I uprated ur post XD
Sig wipe!

Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #38 on: October 20, 2011, 01:38:41 pm »
I found on ticalc that somebody made the portal "Still Alive" song for calcs. Gonna DL.

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 #39 on: October 20, 2011, 01:45:04 pm »
A vocaloid for a TI calculator???? OMFG
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 #40 on: October 20, 2011, 03:02:34 pm »
Keoni, I just tried ur method and it didn't work. What exactly do I put for length part?

EDIT: Tracker in work XD
« Last Edit: October 20, 2011, 03:39:30 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 #41 on: October 20, 2011, 03:56:55 pm »
Make sure that you save 16 bit numbers in the wavelength table (addr)
Length can be anything. If you want numbers larger than 255 multiply them
« Last Edit: October 20, 2011, 03:58:21 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline C0deH4cker

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 258
  • Rating: +11/-1
    • View Profile
    • iNinjas Forum/Repo
Re: MUSEINC: Make musicmaking in Axe easier!
« Reply #42 on: October 20, 2011, 03:57:45 pm »
Its just the music, not the voice. It plays sterio music. Is there a way to do sterio through axe?

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 #43 on: October 20, 2011, 03:58:36 pm »
Make sure that you save 16 bit numbers in the wavelength table (addr)
oops. I forgot that.
But putting 4 in length won't make any sound, right? I thought it only makes sound only when length is longer than wavelength.

Its just the music, not the voice. It plays sterio music. Is there a way to do sterio through axe?
I don't think so unless someone comes up with an axiom.
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 #44 on: October 20, 2011, 03:59:30 pm »
Make sure that you save 16 bit numbers in the wavelength table (addr)
oops. I forgot that.
But putting 4 in length won't make any sound, right? I thought it only makes sound only when length is longer than wavelength.

Its just the music, not the voice. It plays sterio music. Is there a way to do sterio through axe?
I don't think so unless someone comes up with an axiom.
Multiply
If you like my work: why not give me an internet?