• Welcome to Dark Bit Factory & Gravity.
 

Sound help . . .

Started by DrewPee, December 03, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DrewPee

Hello again guys - I need some help (again) . . .

Is there any way that you can check (in a mod for example ) if a channel is playing? There was a feature in AMOS that allowed you to check to see whether a channel (4 channel on the amiga) had something played in it - this create a sort of graphic equaliser type thing for the four channels! i.e. if a sound played in channel 1 then put a 1 on the screen, if channel 2 then put 2 on the screen etc. etc.

Don't know if it is possible but I guess if it is somebody here will know?  ???  :P

Regards and Appreciation

DrewPee
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

MrP

I've been looking for something similar, I did manage to get something of sorts from the Bass dll, but that just returned values into an array to give you the various levels of the sound frequency, got the same result as the VU Meter effect from winamp..... Sorry this isn't and answer to your question, but I am also interested in this....

Shockwave

You can use the Bass dll to check the status of the sound channels.
Look for Camouflage music disk in the showcase and take a look at the source, Rbraz kindly released it.
Shockwave ^ Codigos
Challenge Trophies Won:

DrewPee

Thanks Shockwave - forgot about that code . . . I remember it being released though!
I will have a looksee!!

MrP - If you manage something before me or visa-versa - would you like to share???

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

DrewPee

Just downloaded the code - there is some wicked stuff in there! The font is cool too! Nice work Clyde! Can i use? It will tie in with something I am doing if thats okay?

I will be releasing something eventually - I promise!!!

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Rbz

@DrewPee: I did a little example using fmod, take a look at it, I guess that this is what you're looking for...  8)

:cheers:


Challenge Trophies Won:

rdc

That is amazing Rbraz.

Clyde

Sure Drewpee you can use the font.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

MrP

@rbraz..... Excellent example of how to use fmod to read the channel data.... Just got my version up and running.....

@drewpee..... If you haven't looked at the camouflage disk yet rbraz's example is very clear and easy to follow. I recommend you have a look at that to.....

DrewPee

Thanks guys . . . i have said it before and i will say it again - this place really is the dogs bollocks!!!!

:buddies:

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

DrewPee

@Rbraz - you are a genius man - ive manipulated your code to put bars on a tinyptc screen - looks really cool (even if i do say so myself!).

It is EXACTLY what I wanted to do . . .  :clap:

@Clyde - thanks for letting me use the font . . . nice one!  :buddies:

Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Rbz

Quote from: DrewPee on December 07, 2006
@Rbraz - you are a genius man - ive manipulated your code to put bars on a tinyptc screen - looks really cool (even if i do say so myself!).

hehe, thanks for the "genius", I'm glad that I can help

And I can't wait to see your new production  :)
Challenge Trophies Won: