Author Topic: AudaciTI - 4 channel music player and editor (in the works)  (Read 19515 times)

0 Members and 2 Guests are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
AudaciTI - 4 channel music player and editor (in the works)
« on: January 02, 2014, 02:33:33 pm »
Latest Update: http://ourl.ca/20419/372776

First of all, AudaciTI is a play-on-words because it sounds like Audacity... when said in French, so if you have a better name (preferably not longer than 8 chars), I might take it.

Why another music player ?
Because, from what I understood, TruSound takes "too much memory" (not too much for what it plays, but too much to fit a lot of music in a calc) and runs at 15 MHz. MuseInc needs both Axe and Celtic III on the calc so it doesn't fit either on a regular 83+, same for MobileTunes which requires DoorsCS (well it fits but takes a lot of memory), TI JukeBox only plays one channel of sound, ...
(I didn't know about this one until fb39ca4 told me about it, which was after I posted).

So this is why I thought we needed a player with those features:
  • plays 4 channels of sound
  • runs at 6 MHz
  • has an on-calc editor
  • has a on-PC editor (I won't do that but the format I'll use will be so easy anyone who knows how to code for PC could do that editor)
  • standalone (no need for librairies)

Do you have some progress to show off ?
Yay ! Screenshot Time !
Seriously, I won't do a screenshot for a music player. But yeah, I have an executable if you want. Plays a stupid track with 8x4 notes in. If you don't have the adapter, you can always try that with Wabbitemu. The other executable (TESTNOTE) is to test notes independantly (no chord, one note at a time).
The "player" (if we can call that demo a player) supports 45 different notes for now, but I was too lazy to make a music that supports all those notes without an editor. But you can still hear most of the range in the demo, it plays the 6th note in the list and the 42th note.



Now it's my turn to ask questions ! :P

Do you think the sound you heard in that demo is crappy ?
Do you think we need such a player-editor or do we already have enough of those ?



Some documentation in spoiler, if you want to make an editor.
Spoiler For Spoiler:
The first note that my "player" supports is a F#. So whenever you want to play that F# you put 0. Then, this is not logic but you go decreasing, so the "next" note is the previous note, so a F. So whenever you want to play that F, you put 1.
Of course, it doesn't support only one F#, so 12 is also a F# (lower than the 0 one), 24 too, same for 36,... but not 48 because the player only supports 46 notes (from 0 to 45).

The first note that my player supports is a A. So whenever you want to play that A you put 0. Then the next note is obviously A#, so whenever you want to play it you put 1. And caetera until you reach 45 which is the last note my player supports.

The player reads from appvars, and you don't want to play zStart's appvar so put "AUDACITI"[00] at the beginning of your appvar.

Now that you know which note corresponds to which number, how do I play them ?
I'll make the player support more things but for now, you just put note11, note12, note13, note14, note21, note22, note23,note24,... where note1X are the components of the first chord, note2X are the component of the second chord, ... and noteX1 are played on the first channel, noteX2 are played on the second channel, ...
And you end with a 255.

So the thing you hear in the demo is just that:
   "AUDACITI"[00]
   Data( 45-18, 45-42, 45-30, 45-06 ) .do  do  do  do
   Data( 45-19, 45-40, 45-26, 45-09 ) .si  re  mi  la
   Data( 45-21, 45-38, 45-28, 45-07 ) .la  mi  re  si
   Data( 45-23, 45-37, 45-25, 45-11 ) .sol fa  fa  sol
   Data( 45-25, 45-35, 45-26, 45-09 ) .fa  sol mi  la
   Data( 45-26, 45-33, 45-23, 45-13 ) .mi  la  sol fa
   Data( 45-28, 45-31, 45-23, 45-11 ) .re  si  sol sol
   Data( 45-30, 45-30, 45-23, 45-11 ) .do  do  sol sol
   Data( 255)

(sorry for the "45-X", this is due to a previous way of storing notes).

Planned:
-change the length of notes
-silences
-change the position of channels
-mute channels (to save space when only one note at a time is played)
-"drums"
« Last Edit: January 08, 2014, 04:07:44 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #1 on: January 02, 2014, 02:35:47 pm »
I am working on TRAXE version 2 which is a chiptune tracker with 3 channels and it will be used in combination with the TIMID soundchip. I want it to have calculator generated sound as well for those who don't have the soundchip. Send me a pm and maybe you can help me with that.
If you like my work: why not give me an internet?








Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #2 on: January 02, 2014, 02:41:08 pm »
Not bad. You should consider adding a noise channel. I did it in Bad Apple by reading from the r register, but having a properly random sequence of bits should sound better.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #3 on: January 02, 2014, 02:41:29 pm »
I am working on TRAXE version 2 which is a chiptune tracker with 3 channels and it will be used in combination with the TIMID soundchip. I want it to have calculator generated sound as well for those who don't have the soundchip. Send me a pm and maybe you can help me with that.
Erm, I didn't understand everything in that post due to the presence of too precise English words :P
What is a "chiptune tracker" exactly ?
Is a soundchip external hardware (external from the point of vue of the calculator) ?

Not bad. You should consider adding a noise channel. I did it in Bad Apple by reading from the r register, but having a properly random sequence of bits should sound better.
A noise channel ? That would be a channel with random noise on it ??
« Last Edit: January 02, 2014, 02:42:31 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #4 on: January 02, 2014, 02:46:16 pm »
Not bad. You should consider adding a noise channel. I did it in Bad Apple by reading from the r register, but having a properly random sequence of bits should sound better.
A noise channel ? That would be a channel with random noise on it ??
Yes. It's commonly used in 1 bit music as a substitute for drums. Here's how I used it in Bad Apple: https://mediacru.sh/0YlhBMdyRnVn.
« Last Edit: January 02, 2014, 02:46:59 pm by fb39ca4 »

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #5 on: January 02, 2014, 02:48:11 pm »
I am working on TRAXE version 2 which is a chiptune tracker with 3 channels and it will be used in combination with the TIMID soundchip. I want it to have calculator generated sound as well for those who don't have the soundchip. Send me a pm and maybe you can help me with that.
Erm, I didn't understand everything in that post due to the presence of too precise English words :P
What is a "chiptune tracker" exactly ?
Is a soundchip external hardware (external from the point of vue of the calculator) ?

Not bad. You should consider adding a noise channel. I did it in Bad Apple by reading from the r register, but having a properly random sequence of bits should sound better.
A noise channel ? That would be a channel with random noise on it ??
It's basically an arduino which runs a SID soundchip emulator.
If you like my work: why not give me an internet?








Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #6 on: January 02, 2014, 02:50:37 pm »
Not bad. You should consider adding a noise channel. I did it in Bad Apple by reading from the r register, but having a properly random sequence of bits should sound better.
A noise channel ? That would be a channel with random noise on it ??
Yes. It's commonly used in 1 bit music as a substitute for drums. Here's how I used it in Bad Apple: https://mediacru.sh/0YlhBMdyRnVn.
Oh wow, that would be a nice addition indeed !
Thanks for the tip, I'll consider that.

It's basically an arduino which runs a SID soundchip emulator.
SID is not any clearer :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #7 on: January 02, 2014, 03:01:35 pm »
The soundchip in the commodore 64 computer from the 80's
If you like my work: why not give me an internet?








Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #8 on: January 02, 2014, 03:03:43 pm »
Ah ok.
And what do you need help with exactly (because as you can see, I don't know a lot about soundchips :P) ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #9 on: January 02, 2014, 04:53:32 pm »
@ Hayleia, I think it's a cool idea. I'll give it a listen later. I also love the name. It works well in English too. :D

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #10 on: January 02, 2014, 05:20:33 pm »
I tried it in wabbit. There seems to be some sort of weird modulation going on instead of clean separated channels.
If you like my work: why not give me an internet?








Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #11 on: January 02, 2014, 05:26:13 pm »
Yea, wabbit's sound emulation isn't correct. I think the pitch is off too.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #12 on: January 02, 2014, 05:27:41 pm »
The pitch can be off, but all channels should still be in tune when only the base frequency is changed.
If you like my work: why not give me an internet?








Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #13 on: January 02, 2014, 06:53:27 pm »
I'd be interested in knowing how you are combining multiple channels on a single output pin. The method I'm using for BA, where I alternate between ANDing and ORing the two channels, sounds fine in Wabbitemu.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: AudaciTI - 4 channel music player and editor (in the works)
« Reply #14 on: January 02, 2014, 08:35:03 pm »
I like how it sounds so far, especially considering you have multiple channels. It would be nice to hear a longer sound sample, though, such as a SMB1 sample.