Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: squidgetx on June 11, 2010, 08:50:59 pm
-
I was wondering if anyone knows which frequency arguments for SinReg correspond to the traditional pentatonic scale's notes
like to play a C, what value would you use and then how much would I increment to value to raise it a half (or whole) step?
Thanks
-
Try this:
http://www.phy.mtu.edu/~suits/notefreqs.html
Use the wavelength column (not frequency) near the bottom that are less than 255.
-
A lot of those at the bottom have decimal values. Is there any way to use these, or would these notes always be a little flat or sharp?
-
When the notes get tha high in axe, you can't really hear them that well anyways... probably stick with the lower ones... =P
-
Btw on a real calc, does the notes sound like triangles like on Wabbitemu and Final Fantasy 1, or will they sound like squares like in Super Mario Bros 1?
-
Btw on a real calc, does the notes sound like triangles like on Wabbitemu and Final Fantasy 1, or will they sound like squares like in Super Mario Bros 1?
What in the world do you mean?
-
mhmm actually it's not triangle but more something like saw sound. That video might help
Else here's sound from FF1 and SMB (except of course the jumping sound and when mario eats a mushroom)
-
meh, the sound quality is ~
ztrumpet, at first i had the same doubts you had, but if you round to the nearest whole number, you really still can't tell the difference (unless you have perfect pitch...)
-
Perhaps axe could support external .wav files in the future! It couldn't be used for music, too big, but you could have really high quality sound.
Maybe MIDI for the music.....
-
Perhaps axe could support external .wav files in the future! It couldn't be used for music, too big, but you could have really high quality sound.
Maybe MIDI for the music.....
That looks CPU expensive.
Very interesting table Quigibo.
And I will hear the Youtube videos to understand what is triangle and square sounding. It got me almost as surprised as after reading that some physic particles have flavours... There is also stories of a person that can taste colours. simply wtf in this confusion of senses.
-
wav would be cool. However it might be rather large indeed. About two seconds of 8 bit 32 kbps audio at 11 KHz is like 20 KB if I remember when converted to calc format.
-
Yeah, I remember RealSnd making those HUGE apps...I think a 1 minute Pokemon theme song took just as much space as the pokemon TiBoy app :P
But midi would be awesome..
-
Midi WOULD be awesome.
-
Yeah, I remember RealSnd making those HUGE apps...I think a 1 minute Pokemon theme song took just as much space as the pokemon TiBoy app :P
There is a project that you might be able to find somewhere to stream real sound off of a flash drive. Go ask the right people.
-
BrandonW?
-
Yeah, he has a copy of it. As do I, but I'm not too comfortable sharing it, seeing as it was never released.
-
You may need to ask him permission then, first, in case.
-
What's it called? It sounds pretty interesting. :)
-
I really do want to add wav support eventually. I'm really not that knowledgeable with sound though, so I'd either have to learn how waveforms of sound are converted to digital audio or I'd have to have someone explain it to me.
This was done on a z80 cpu by the way with the most minimal of sound chip:
This and the ProjectM sound (from what I've heard) make be believe that it will eventually be possible. When I support reading from archive, you'll be able to play some pretty large files.
-
That would be effin' AWESOME for the calc!
-
That would be awesome! I can't wait for that to happen! :D
-
:DDDDDDDD that would be greaat
-
Cool! I like the video...
Yeah, without support for external drives, an SE (83+SE or 84+SE) could hold one low-quality song...
-
I really do want to add wav support eventually. I'm really not that knowledgeable with sound though, so I'd either have to learn how waveforms of sound are converted to digital audio or I'd have to have someone explain it to me.
This was done on a z80 cpu by the way with the most minimal of sound chip:
This and the ProjectM sound (from what I've heard) make be believe that it will eventually be possible. When I support reading from archive, you'll be able to play some pretty large files.
this is nice. My concern about Axe sound is efficiently do multiple channels at once. I tried alternating very quickly once, but the sound got really weird. Could it have been because I was using an emulator?
-
I tried the same thing on calc (alternating between two sounds [3 also]) and it didn't sound wierd, sounded almost like normal, just different pitches. My guess is yes, it was the emulator doing it. I think my code was something similar to:
100->A->B
repeat getkey(15)
sinreg(A,1000
if getkey(54)
sinreg(B,1000
end
if A!=255 and getkey(3)
A+1->A
End
if A!=0 and getkey(2)
A-1->A
End
if B!=255 and getkey(1)
B+1->B
End
if B!=0 and getkey(4)
B-1->B
End
end
this code should work, I haven't tested it however, but it is pretty close to what I used for testing multiple channels.
-
I'm going to write a library to allow users to play sound in their games. It will come with a designer to make music. Should be fun.
I was messing around last knight to make sound in different pitches and made a C Major scale pretty easy.
-
I see what you did thar...
Yeah, the only issue with sound it seems is that you can't play a pitch for longer than ~65k microseconds
-
Yeah, the only issue with sound it seems is that you can't play a pitch for longer than ~65k microseconds
You can make it longer if you loop it.
-
For(C,0,100
sinreg(100,1000)
End
just an example.
-
So I figure I will make a library that will let you use 6MHz for your game, and it would use 7 for music. Ideas?
I also recently started work on a music editing program for Axe as an application.
-
7 MHz?
A lib and music editor (with testing the song) would be nice, though
-
Well, if the music takes up 7MHz, then that leaves 6MHz to the game, which will make adding the music easier.
-
Mhmm...
well my concern was more: what about the remaining 2 MHz? (15 MHz - 7 MHz - 6 Mhz = 2 remaining MHz, right?)
-
Oh, right. *9MHz.
-
Aaah ok.
Well I would liek to see such routine for sure. Just make sure it is easy to make music and that you can play it to make sure it sounds right, and that it's easy to import.
-
Yep. You can have my C Major scale demo if you like.
-
That would be nice, altough it's not a big hurry. I am experimenting with something else at the moment that would be too slow with sound anyway
-
well, I would also like your experiment in C. I think music is the coolest thing on the calc I can think of at the moment!
-
Later tonight I was thinking about making the Zelda theme as a demo, now I think I will.
-
Wow cool! I wish you good luck ^^
-
yeah! very cool! I wish you also good luck...
-
I try to play music ingame using subroutines after every action. Then add some reverb with my computer so that it plays smooth notes. Maybe it will work.
-
I try to play music ingame using subroutines after every action. Then add some reverb with my computer so that it plays smooth notes. Maybe it will work.
One suggestion to make it a bit more "stable" between musical phrases is to use an interrupt system to play the notes, that usually worked best for me when I tried adding it to games.
-
I'll check the interrupts tut :)
-
Holy necropost, batman! :O
On a side note is the sound in Wabbitemu exactly the same as on the calc now? I am really curious about if it's possible to play 2 notes together by quickly alternating between each others, or at least use combinations to form different sounds...
-
Well... arpeggio's are already a possibility :S
(btw:A soundchip for ti84 would be sooo cool! I'll check out what I can fix. I made a jackplug converter and I modified a set of earphones so a soundchip will be the next step :))
Edit:I disovered that the nes sends envelopes from it's cpu to the soundchip
We need to emulate this by converting variables into different output voltages in the linkport
-
HI am really curious about if it's possible to play 2 notes together by quickly alternating between each others, or at least use combinations to form different sounds...
KermM's media player can, so I'm guessing it is possible. I don't know how it works though.
-
I made a small sfx editor. It doesn't save anything yet.
Use the arrowkeys to move the cursor
Press 2nd to change the state
Press F1 to play
Bugs:Sometimes it just won't play anything anymore. Just restart the programme.
It runs at the highest possible speed with axe.
What do you think?
-
Midi for TI is released :D
-
I'm learning how to program microcontrollers. When there is a proper way to let the TI communicate with one of the ports of the PIC microcontroller I can make a sound engine. 10 Mhz sound FX :D
Finally did it. Oh sh*t yes!