24 May '13 - 10:40
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
Possible enhancements
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: Possible enhancements (Read 1763 times)
airzone
Posts: 3
Possible enhancements
«
on:
7 Jun '01 - 05:25 »
Quote
Hi. I've been using Bass for a while now (after upgrading from Midas). It's cool, and suits me just fine, especially the mo3 feature.
Now, I do have some enhancements for you to contemplate:
First of all is Mid playback. Midi is crap (IMO), but it makes for a more overall system. I know in my software, I have to support Mid files myself, so I've been using MCI. It works, but I think if you were to add some functions in your sound system that supported playback of mid files, it'd be cool (don't forget it should ask if it's to use DirectMusic or MCI - DirectMusic sounds nicer, but not everyone's machine can suppoet the extra overhead required).
The next feature I suggest is to support "play points" or something like that in your streaming. Basically, when you play an mp3 (or any other steamed data) you should also ask for a place to start from (i believe you already support this), and also a place to end playback. For an example, you may have an mp3 with a dozen or so different conversations in it. You know when the conversation about fighting is (a start time, and an end time), you should be able to tell bass to play a stream between those points. Looping would be great as well.
I suppose you can always get around these suggestions with back-door methods, but I tink it makes a more rounded system.
Logged
gregm
Posts: 49
Re: Possible enhancements
«
Reply #1 on:
7 Jun '01 - 14:23 »
Quote
You can do "play points" fairly easily.
Use Bass_ChannelSetPosition before calling Bass_StreamPlay. SetPosition uses byte positions, but if you know the times you can convert them. See the other thread in here titled "Time" and it will show you how to convert.
To get the position, just keep polling the Bass_ChannelGetPosition function. Once it's >= time you want, just call ChannelStop.
Polling might not be really accurate though, as setting a timer to poll every 1 ms could be more overhead than you'd like, and anything less means you might miss it. In the case of spoken audio, with no background music, this is probably fine as long as you keep a long enough space between bits of audio.
It would be nice to see a SYNC callback that you could set for a certain position, so when it gets to that position it does calls the function and won't continue until the function completes.
Logged
Blade Runner
Posts: 5
Re: Possible enhancements
«
Reply #2 on:
7 Jun '01 - 18:41 »
Quote
What is Midas and where can I find it?
:-/
Logged
Ian @ un4seen
Administrator
Posts: 15270
Re: Possible enhancements
«
Reply #3 on:
8 Jun '01 - 00:48 »
Quote
Quote
It would be nice to see a SYNC callback that you could set for a certain position, so when it gets to that position it does calls the function and won't continue until the function completes.
Coming in the next release - testing it right now
Logged
airzone
Posts: 3
Re: Possible enhancements
«
Reply #4 on:
8 Jun '01 - 02:22 »
Quote
Bonus :-)
SwitchingBlades: I can't remember. It was about 2 years ago when I found it, and since then, the project has been abandoned. Besides which, it's nothing compared to Bass.
Logged
airzone
Posts: 3
Re: Possible enhancements
«
Reply #5 on:
8 Jun '01 - 02:34 »
Quote
Just as an after thought, you allow for setting the channel volume, but how about a channel fading. The function is given a desired volume, and a time which should take to fade, Bass then does all this for you.
Once again, this can be gotten around, but without spawning an extra thread for this sole purpose, it can get a bit hard to manage several fades while managing a game.
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
Possible enhancements
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...