First grai scale, now SOUND!!!!!

A forum where you can announce your awesome project(s).

Moderator: MaxCoderz Staff

User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

First grai scale, now SOUND!!!!!

Post by Jim e »

I am happy to say I have a working version of my latest SE only creation.

MIDI SOUND!!

Yes you read correctly, actual tones playing from you calculator IN STEREO. I know what your thinking, Calcmod. Doesn't hold candle in comparison even though I am using practically the same format. So what makes this so great,......It runs from the interrupts. Translation, IN GAME SOUND. :twisted: :twisted: :twisted: :twisted:

There is one problem though, support for this will obviously be low, because
A: Few people own 83+SE, 84+ or 84+SE
2: Few people own 2.5mm -> 3.5mm plug converter


With that aside I would like to present the demo. The song playing came from Paul Marks calcmod, it's Starfox. The program is nothing more than a nice little mouse demo. :D
I suggest the size converter and you PC speakers. Headphones are not as loud and have noise. oh and the song doesn't loop, so for safe I suggest quiting when it sounds done. :wink:
Thank you.

You may now ROCK ON!
http://www.geocities.com/jimm09876/calc/SOUND.zip
Image
Does yahoo support image hosting?
Image
User avatar
Madskillz
Calc Wizard
Posts: 745
Joined: Fri 17 Dec, 2004 10:22 pm
Location: Wandering around in the Jungle...
Contact:

Post by Madskillz »

Awesome...I have everything you listed...hmm perfect for a Directors cut! :twisted: I'll give it a try when I get home!
The Revolution is here...
User avatar
Dwedit
Maxcoderz Staff
Posts: 579
Joined: Wed 15 Dec, 2004 6:06 am
Location: Chicago!
Contact:

Post by Dwedit »

Will is support variable volume, or different duty cycles, or other multi-channel-ness?
You know your hexadecimal output routine is broken when it displays the character 'G'.
Gambit
Sir Posts-A-Lot
Posts: 252
Joined: Mon 21 Feb, 2005 5:34 am
Location: Laveen, Arizona

Post by Gambit »

I am listening to it right now... SIMPLY AMAZING! :D
"If SOURCE is outlawed, only outlaws will have SOURCE."
solitaire710
New Member
Posts: 28
Joined: Tue 08 Feb, 2005 7:08 pm
Location: As of the moment, Trapped!
Contact:

Post by solitaire710 »

Nice! 8)

*Listening Right Now*
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Ive been meaning to mess with interrupt based sound routines for quite some time, just never got around to it. Looks like i dont have to now :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

I don't hear anything at all..?
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
Gambit
Sir Posts-A-Lot
Posts: 252
Joined: Mon 21 Feb, 2005 5:34 am
Location: Laveen, Arizona

Post by Gambit »

DarkAuron wrote:I don't hear anything at all..?
First off, do you have a 15 mHz calculator, and second, are you running it inside a shell? I quickly learned that the demo wasn't a nostub, but an Ion program.
"If SOURCE is outlawed, only outlaws will have SOURCE."
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

sigh

Post by the_unknown_one »

Ya cant use it on 83+? NOOOO!!!! :'( Plz, cant you make it for 83+?
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

You know what, this would be perfect a directors cut :D

As far as volume control goes, I don't think it can implemented with the method I have now. Different duty cycles, you mean the pitch right? Well if you do, to put in your own frequencys you would have to know how the format works which shouldn't be to hard. More Channels? I was thinking less, I didn't want to add stereo but due to my lack of song making ablities I needed to use the starfox song. At the moment I'm using all 3 timers. So if I ever want greyscale and sound, I would need to drop to mono.

Getting this to work on the 83+ would be near impossible. There are way to many interrupts going on and i'd think that it would be a drain on the speed. Not to mention I can't set the frequencies on the 83+s.

What I am doing is having interrupts occur at double the frequency of the notes they are playing, then I invert the status of line at every interrupt. So if I want to play A4, then I would have interrupts occuring 880. Plus whatevers on the other channel, and then I have the timer that changes the note running at a frequency of 8192hz. So on average there are probably 9000 interrupts occuring a second. That 15mhz comes in handy right about now.

If i really did want to fuse this with my greyscale project, i'd have to change my method some, but in any case the conversion of the SE into a gamboy is close at hand, teachers every where won't know what hit them. MUAHAHAHA!!!:twisted:
Image
User avatar
benryves
Maxcoderz Staff
Posts: 3088
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

By "MIDI" I assume you mean something that's not "MIDI" - MIDI is the Musical Instrument Digital Interface - a music-based protocol, in the same vein as USB.
Sadly, I don't have an SE to test this :(
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

I knew some one was going say that, but I heard it refrenced that way so long ago it stuck in my head. oh well. :oops:

That's number 5
I wrote:5. If someone says something dumb you must call him on it.
Image
User avatar
Shadow Phoenix
Calc Guru
Posts: 835
Joined: Mon 03 Jan, 2005 7:54 pm
Location: out there. seriosly.

Post by Shadow Phoenix »

my speakers cable doesnt fit =)
****************************
where can I find adapters?
Life is getting better.
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

Force it :twisted:

NO DON'T DO THAT!!!!

Radio shack sells them 2.5mm -> 3.5mm

Or if you have a phone with a 2.5mm jack you call your self and and listen, alot of cell phones have them.
Image
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

NO! NOT RADIO SHACK!!! :shock: :shock: :shock: :shock: :shock:
it cost $750 for a 2.5 mm -> 3.5 mm adapter at RS


just kidding :) it's just $5
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
Post Reply