|
Author | Topic: Basic4GL v2.4.2 is released (Read 773 times) |
Tom Mulgrew Administrator
     member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/soldier_chicken.jpg)
![[msn] [msn]](http://images.proboards.com/msn.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Jul 2003 Gender: Male  Posts: 507
|  | Basic4GL v2.4.2 is released « Thread Started on Jul 29, 2006, 7:22pm » | |
I've put v2.4.2 up on the main page.
The only difference between this one and v2.4.1, is that it uses the new "Audiere" based sound engine, and not the previous "OpenAL" one.
So if you've already grabbed the new sound engine, then there's not much reason to get the new version.
However if you missed it, the new engine supports a number of sound and music formats including mod formats like .mod, .s3m, .xm, .it. It also doesn't require OpenAL to be installed, so is easier to distribute.
-Tom
| |
|
James :) (aka Madcow) Posts heaps 
     member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/cool_cat.gif)
Sup
Joined: Mar 2006 Gender: Male  Posts: 1,787 Location: UK
|  | Re: Basic4GL v2.4.2 is released « Reply #1 on Jul 30, 2006, 2:43pm » | |
cool but why call it v2.4.2 why not v2.4.1.1
and why don't you make it so that when you make an exe audere .dill and basic4gl .dill are copyied where the exe is saved if the user clicks yes
|
- James
There are 10 types of people in the world: Those who understand binary, and those who don't... |
|
gaviero Newish
 member is offline
Joined: Oct 2004 Posts: 29 Location: Portland, Oregon, USA
|  | Re: Basic4GL v2.4.2 is released « Reply #2 on Jul 31, 2006, 11:08am » | |
Possible issue with Audiere...
I wrote an 8-track wav sequencer (drum machine) using the OpenAL version, and it kept time extremely well -- even when playing 8 wav files together.
With the new Audiere version I immediately noticed some issues. There are some timing pauses/delays when running this same b4gl script. Noticeable delays and pauses occur when playing multiple sounds, and the drum machine doesn't keep a steady beat.
I haven't investigated the Audiere API, but maybe there is some buffer size or latency attribute that could resolve this. Maybe OpenAL is just more efficient.
Otherwise, I really appreciate the effort to improve Basic4GL sound. The wav sequencer really works great, and handles 8 'tracks' well, but I think that I will have to continue using the older version for it to work correctly.
| |
|
davy Global Moderator
     member is online member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/shoot_cat.jpg)
![[aim] [aim]](http://images.proboards.com/aim.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: May 2006 Gender: Male  Posts: 1,049 Location: USA
|  | Re: Basic4GL v2.4.2 is released « Reply #3 on Jul 31, 2006, 11:11am » | |
That sounds like a cool idea (the wav sequencer), do you have any plans to add anything other then drums? If so, I play guitar, maybe I could record a few bars worth of riffs for it. I would like to see it if you get a chance to put it up somewhere.
|
|
|
gaviero Newish
 member is offline
Joined: Oct 2004 Posts: 29 Location: Portland, Oregon, USA
|  | Re: Basic4GL v2.4.2 is released « Reply #4 on Jul 31, 2006, 3:42pm » | |
It may be that I'm the only one that will notice the Audiere timing issues since they are pretty obvious with something like a drum machine, but perhaps not with a game. OpenAL was working great for me, and I was excited to finally build something like this in b4gl...
I want to post, but I need to rebuild an exe with 2.4.1 before posting... I could post the source, but I don't want people to run something that doesn't work with the new version.
Note. Actually, the sequencer loads whatever wav files are located in the folder automatically, so you can drop in any sound files you want... Pretty nice, eh? Look out FruityLoops! Let's hope I find my 2.4.1 installer...
| |
|
davy Global Moderator
     member is online member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/shoot_cat.jpg)
![[aim] [aim]](http://images.proboards.com/aim.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: May 2006 Gender: Male  Posts: 1,049 Location: USA
|  | Re: Basic4GL v2.4.2 is released « Reply #5 on Jul 31, 2006, 3:58pm » | |
Sounds great. Hey, if it ever gets to be a bigger program, you should make a site for it and let users start a library of tracks. Also, what type of audio format are the tracks? If they are easy to figure out, you could find a way to compile all of the tracks into one so that they can export a single file! That would make for a great program!
|
|
|
dw817 Posts a lot
    member is offline
![[avatar] [avatar]](http://p0.xanga.com/0a/30/0a3062b51c9de6c012b20467e5da893039201942.jpg)
BipΦlaR
Joined: Jul 2006 Gender: Male  Posts: 420
|  | Re: Basic4GL v2.4.2 is released « Reply #6 on Jul 31, 2006, 4:22pm » | |
Hi Tom:
* You mentioned that there is a new sound driver ?
Could you please post an example of how to play a .MOD that compiles to single .EXE for instance ?
Thanks, David
|
|
|
Tom Mulgrew Administrator
     member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/soldier_chicken.jpg)
![[msn] [msn]](http://images.proboards.com/msn.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Jul 2003 Gender: Male  Posts: 507
|  | Re: Basic4GL v2.4.2 is released « Reply #7 on Jul 31, 2006, 9:43pm » | |
Quote:(...) I haven't investigated the Audiere API, but maybe there is some buffer size or latency attribute that could resolve this. Maybe OpenAL is just more efficient.
Otherwise, I really appreciate the effort to improve Basic4GL sound. The wav sequencer really works great, and handles 8 'tracks' well, but I think that I will have to continue using the older version for it to work correctly.  |
|
Hmm.. I did recompile it with a lower buffer size to lower the latency to about 100ms (the standard Audiere build has about a 500ms latency, which is noticeable even in games).
The OpenAL sound engine and "Audiere" sound engine are currently interchangeable. So you can still use the OpenAL version with v2.4.2. Perhaps I'll distribute both sound engines in the future...
| |
|
Tom Mulgrew Administrator
     member is offline
![[avatar] [avatar]](http://www.avatarsdb.com/avatars/soldier_chicken.jpg)
![[msn] [msn]](http://images.proboards.com/msn.gif)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Jul 2003 Gender: Male  Posts: 507
|  | Re: Basic4GL v2.4.2 is released « Reply #8 on Jul 31, 2006, 9:50pm » | |
Quote:Could you please post an example of how to play a .MOD that compiles to single .EXE for instance ?
|
|
Do you mean a version where just the MOD file is contained in the .exe or a version that does not require the sound engine DLLs to be distributed?
If you just want the MOD file contained in the exe, simply include it as an "embedded file" when you create your standalone .exe. Something like this will play a .mod file:
Code:PlayMusic("song.mod") while MusicPlaying(): Sleep(100): wend printr SoundError() printr "Finished" |
|
If you mean can you create a standalone exe that doesn't require DLLs, then no, Basic4GL cannot do that. (Part of LGPL license used by Audiere forbids compiling the code directly into an exe).
-Tom
| |
|
dw817 Posts a lot
    member is offline
![[avatar] [avatar]](http://p0.xanga.com/0a/30/0a3062b51c9de6c012b20467e5da893039201942.jpg)
BipΦlaR
Joined: Jul 2006 Gender: Male  Posts: 420
|  | Re: Basic4GL v2.4.2 is released « Reply #9 on Aug 1, 2006, 9:25am » | |
Hi Tom:
* Works great ! Requires both DLLs I see.
?Question:
Does the user still need to install the .EXE sounddriver in addition to the 2 DLLs being in the same directory ?
If not, my Booster can grab the audio calls from the 2 DLLs using the exact same commands of PlayMusic and MusicPlaying(). And as long as you are running my one Booster engine, neither DLL will be necessary.
Heh- I guess this means .WAV files will play now too so I don't have to use MCI$ for that now in my Booster. Svveet ! 
But please let me know if the .EXE install is still required. I probably will NOT be able to bundle that easily and if bundled in Booster, will require the user to select-install it from a menu in Booster.
David
|
|
|
gaviero Newish
 member is offline
Joined: Oct 2004 Posts: 29 Location: Portland, Oregon, USA
|  | Re: Basic4GL v2.4.2 is released « Reply #10 on Aug 4, 2006, 11:00am » | |
Quote: Hmm.. I did recompile it with a lower buffer size to lower the latency to about 100ms (the standard Audiere build has about a 500ms latency, which is noticeable even in games).
The OpenAL sound engine and "Audiere" sound engine are currently interchangeable. So you can still use the OpenAL version with v2.4.2. Perhaps I'll distribute both sound engines in the future... |
|
You mean interchangeable in the compiler source code? I don't think distributing both is such a bad idea.
| |
|
|