Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any Body Got Some Awsome Music?
#11
Just take a look at Space Quest. the music is using the internal speakers and it's really cool... but I don't know if you could replicate it in QB.... because I think there's a bass line as well as a treble line... if you could even call it that.
ovaProgramming.

One night I had a dream where I was breaking balls. The next morning, BALLSBREAKER was born.

Quote: Excellent. Now you can have things without paying for them.

BALLSBREAKER 2
~-_-Status Report-_-~
Engine: 94%
Graphics: 95%
Sound: 100%
A Severe Error has crippled BB2 for the time being... I have to figure it out, but until then you won't see much of it Sad.
-----------------------------
Reply
#12
Quote:
Quote:I made a music program that plays random notes off a scale, and it played them anywhere from l10 to l40 notes, it was actually pretty cool.

I've been to Jazz concerts that sounded like that.

And it sounded good, I take it :lol:
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#13
Quote:Just take a look at Space Quest. the music is using the internal speakers and it's really cool... but I don't know if you could replicate it in QB.... because I think there's a bass line as well as a treble line... if you could even call it that.

You can: interpolation. I coded a tracker that could create and play 2 channel music using the beeper.

The trick is: you have two notes that have to play during "x" milliseconds... Just loop until time has passed and play note 1 for a tick, note 2 for a tick, and start over.

I can dig for the proggie. Though it's not hard at all to achieve using SOUND and a table with each note's pitch in hertzs Tongue
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#14
What do you mean by that?

Like two oncoming rythms at the same time? I've been trying to do this for a while. Source please Tongue
quote="na_th_an"]
Greenday, Spice Girls... Can you tell the difference?
[/quote]
Reply
#15
I'm digging for it. Meanwhile, try this:

Code:
' C is 262 Hertzs.
' G is 392 Hertzs.

Print "C4"

FOR i% = 1 TO 18
   SOUND 262, 1
NEXT i%

Print "G4"

FOR i% = 1 TO 18
   SOUND 392, 1
NEXT i%

Print "C4 + G4"

FOR i% = 1 TO 9
   SOUND 392, 1
   SOUND 262, 1
NEXT i%

This sounds somewhat bad, as 18.2 notes per second is not very accurate. The best thing you can do is using a high precission timer and direct access to the beeper using OUT to shift notes faster.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)