Jump to content


Photo

BASS SOUND-VIDEO ENGINE ( BASS WRAPER ) Ver 2.0


  • Please log in to reply
73 replies to this topic

#1 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 17 August 2011 - 05:33 PM

This is wraper for AUDIO bass.dll version --> BASS 2.4
I think this is most complete wraper for BAss.dll
There is more than 160 bass function...
Now you can do with sound all what you imagine, even to mix and save sound to *.wav file...
Also, now it's possible to make multi-player games, with real speak ( chat) support...
That mean your players will can speak with each other.
Complete support for various Movie formats and VOB formats ( aka DVD)

For help please read provided bass.chm file...Every other help file is automaticly added in this bass.chm (bassenc.chm etc)
Or for more help go to www.un4seen.com. see forum...

NOTICE....Some functions DO NOT exists in original bass.dll ( like BASS_RecordStartSimple). Its here to make life better :)
Some functions are NOT included AT ALL...( but will be )
ARGUMENTS in some function in wraper are NOT same as same Arguments in bass.dll .
So please see and help provided in each wraper function.I am NOT TESTED every wraped function... But seems most of them work.

Please , if you test some of that Untested functions, and they work, let me know...

This wraper I was make for just 3 days in my spare time, for my own application...
every next added function is maked only for GM forum.

LICENCE... please goto www.un4seen.com. YES licence cost some money.
NOTICE: BASS is free for non-commercial use. If you are a non-commercial entity (eg. an individual) and you are not making any
money from your product (through sales, advertising, etc), then you can use BASS in it for free...

Credits: It will be nice to give me some credits... Also I will be glad to have list of your games where you use gmbass.dll

And of course... Sorry for my English :)

12.12.2011 -> DLL Update ( Fixed GM_BASS_ChannelGetAttribute
added: GM_BASS_ChannelIsSliding
Changed : GM_BASS_Encode_CastInit now you can shoutcast and icecast :)
And fixed known Script BUGS
DELETED: all scripts related to DSHOW 'cose I make separated BASS-DVD for same thing)
FIXED DLL + ALL Scripts

WHAT IS NEW?

now you can listen radio stations from URL or IP adress
now you can broadcast your own music from your PC. simple now you can make Broadcasting server on your PC
now you can play several formats of Movies...VOB ( aka DVD) DivX for example with very low CPU (Less than 10-15%) in full screen, and FULL CONTROLL
Now you can load VST Plugins, included and STEINBERG and AudioBug
Added M0 /3MO support
Added 3D support

Now you can Create a samples...


Old is:
To play several formats of music mp3,ogg,wav,aiff, with FULL CONTROLL
I can't remember what else is new or old.. :(

Download Link

http://www.host-a.ne...r%202comma0.zip

DOWNLOAD ALSO AND SEPARATE UPDATE please read full text:


Now Something NEW... You can use Winamp Visualization...
Just see a example... Key V is for load new Visualization.
You can turn on several visualization in a same time.


All from this UPDATE unzip in folder and replace existing files...
NOTICE that all other *.gml files have old scripts inside. ( EXE too)
Only this update have complete and classified s scripts...
NOTICE that THIS UPDATE WILL NOT work standalone, you MUST download previous link, and
if you haven't installed MAxWinAp2i.gex you must install and them from
. http://www.host-a.ne.../maxwinapi2.gex


Link for VIS update (2.01)
http://www.host-a.ne...ate2comma01.zip


And please I need tester to continue this project, or I will stop work on this dll..

KNOWN BUG's:

1: retriggering the sound stream whenever Bytes2Seconds is called
Solution: open Script GM_BASS_ChannelBytes2Seconds and replace GM_BASS_ChannelPlay to GM_BASS_ChannelBytes2Seconds.
Tnx to : Atomhead .... Status= Fixed

2: GM_BASS_Pause Do not work
Solution: you have full explanation on next link:
http://gmc.yoyogames...dpost&p=3870308
Tnx to Aragon ... STATUS = Fixed


Enyou :)

Se U-- zmmaj from ZmajSoft team

Edited by zmaj, 12 December 2011 - 07:31 AM.

  • 0

#2 Tha_14

Tha_14

    GMC Member

  • New Member
  • 174 posts
  • Version:GM8.1

Posted 17 August 2011 - 05:35 PM

And of course... Sory for my English

ermm,Its Sorry you know...
You wrote everything else right and you did that mistake?
FOR GOD SHAKE!!
  • 1

#3 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 17 August 2011 - 07:10 PM

And of course... Sory for my English

ermm,Its Sorry you know...
You wrote everything else right and you did that mistake?
FOR GOD SHAKE!!




Just unzip and try bass.exe. Let me know if working and on some other comp than mine :)
All is tested on Wista.
Pls, try first some mp3 file...

Edited by zmaj, 17 August 2011 - 07:11 PM.

  • 0

#4 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 22 August 2011 - 06:16 PM

new update, see first post for link.
  • 0

#5 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 23 August 2011 - 07:47 PM

Crazy.
158 Views, and no one quality post related to dll..

And , again, I was make new update, but for who?
I think i will stop work on this project. No one don't need this.

Edited by zmaj, 23 August 2011 - 07:48 PM.

  • 0

#6 Aragon

Aragon

    GMC Member

  • GMC Member
  • 140 posts

Posted 24 August 2011 - 05:16 PM

No man, you must go one!! Add music engine to the tittle and more people will read this.
And i need that broadcasting!
And please add a mirror, but not filehosting.org use host-a.net instead. Or http://www.airload.org/ (way much better!)

Edited by Aragon, 24 August 2011 - 05:18 PM.

  • 0

#7 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 28 August 2011 - 02:15 PM

WHAT IS NEW

now you can listen radio stations from URL or IP adress
now you can broadcast your own music from your PC. simple now you can make Broadcasting server on your PC
now you can play several formats of Movies... DivX for example with very low CPU (Less than 10-15%) in full screen, and FULL CONTROLL
now you can to put text over movie :)
Now you can Create a samples...


Old is:
To play several formats of music mp3,ogg,wav,aiff, with FULL CONTROLL
I can't remember what else is new or old.. :(


Download link is on first post
  • 0

#8 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 29 August 2011 - 09:26 PM

LAST UPDATE 28.08.2011
Ok this will be last update from me...
Fixed several bugs BASS_GetAttribute and SetAttribute, for example

Added basswma.dll plugin... complete...

Now gmbass.dll have some about 130 functions...

added new example Net-Radio

If you need something else, wrote to me... Else I will not update this, 'cose I can't see any interest from you for this project.

Link is ln First post
  • 0

#9 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 01 September 2011 - 12:57 PM

338 reviews, and no one single post about gmbass.dll...
After 10 days, I simply don't know does THIS THING WORK at all :((...

Edited by zmaj, 01 September 2011 - 12:58 PM.

  • 0

#10 3141592526

3141592526

    GMC Member

  • GMC Member
  • 222 posts

Posted 01 September 2011 - 08:06 PM

ERROR in
action number 1
of Create Event
for object o_start:

Error defining an external function.

could it be vista x64 ?
  • 0

#11 3141592526

3141592526

    GMC Member

  • GMC Member
  • 222 posts

Posted 01 September 2011 - 08:06 PM

btw this sounds awesome i really want it to work
  • 0

#12 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 01 September 2011 - 08:55 PM

btw this sounds awesome i really want it to work


At last some constructive... :)
THANK YOU...
Yes my DLL dont work, I try it by myself on neibor comp...

Pffff.....


OK,I am fixed that... I was forgot to make dll multitread :(

Now is OK.... ( I was try again... ) :)

Link is on the FIRST post...

NOTICE...
GMBASS.DLL can be where you want just put full path where it is in BASS_ INIT script.
ALL OTHERS dll's must be ( ALL OF THEM) in a same folder with your *.exe.

Edited by zmaj, 01 September 2011 - 09:04 PM.

  • 0

#13 3141592526

3141592526

    GMC Member

  • GMC Member
  • 222 posts

Posted 01 September 2011 - 10:58 PM

thank you for replying so quickly cant wait to go try it =D
  • 0

#14 3141592526

3141592526

    GMC Member

  • GMC Member
  • 222 posts

Posted 01 September 2011 - 11:00 PM

when i run any of the examples they dont work
___________________________________________
ERROR in
action number 1
of Create Event
for object o_start:

Error defining an external function.

the bass.dll is in the folder everything is how you gave it to me

Edited by 3141592526, 01 September 2011 - 11:01 PM.

  • 0

#15 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 02 September 2011 - 05:38 AM

I was double check... Dll working...
Are you unzip first all?
If you not.. First unzip all in some folder, than try...

oH MINE :(

You are download version 1.25... That is NOT your mistake... Airlooad make mistake, and it's give to you wrong version for download..
Wait to upload LAST version 1-28 on some other place...
Just seccond please...

HERE IT IS
LINK from Host-a.net
http://www.host-a.ne...SS ver 1-28.zip

Edited by zmaj, 02 September 2011 - 06:13 AM.

  • 0

#16 3141592526

3141592526

    GMC Member

  • GMC Member
  • 222 posts

Posted 02 September 2011 - 08:50 AM

ok, they load, this is going to be useful =D
  • 0

#17 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 02 September 2011 - 10:30 AM

ok, they load, this is going to be useful =D




Thanks man...
Bass have many others stuff like 3D sound, midi support etc...
I will still continue to try to make DVD full functional.
Now you can play VOB files, but you can't got commands from DVD MENU... :(
  • 0

#18 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 03 September 2011 - 06:16 PM

In testing BASS_SFX PLUGIN

Posted Image

Posted Image







Working VST plugin (STEINBERG and AudioBug and others)



Complete support for VST INSTRUMENTS


Posted Image

Posted Image


Download link in the first post


Edited by zmaj, 03 September 2011 - 07:41 PM.

  • 0

#19 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 05 September 2011 - 08:42 AM

Now Something NEW... You can use Winamp Visualization...
Just see a example... Key V is for load new Visualization.
You can turn on several visualization in a same time.


All from this UPDATE unzip in folder and replace existing files...
NOTICE that all other *.gml files have old scripts inside. ( EXE too)
Only this update have complete and classified s scripts...



Link for VIS update (2.01)
http://www.host-a.ne...ate2comma01.zip

Pictures you can see in previous post.


Enyou :)
  • 0

#20 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 02 November 2011 - 11:00 PM

I really like this, nice work! Will probably use it in my next project. Thanks!
  • 0

#21 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 02 November 2011 - 11:28 PM

I really like this, nice work! Will probably use it in my next project. Thanks!


Tnx for reply...
I will loved to see you work... :)

And Sorry if dll is complicated... but you have huge help in bass manual :)
  • 0

#22 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 04 November 2011 - 06:55 PM

I'm having a problem with 'GM_BASS_ChannelBytes2Seconds'.
GM_BASS_ChannelSeconds2Bytes works without a problem, but the other one hangs the stream whenever i try it.

Am I using it wrong or is there something wrong with the function? here's what i do: secs=GM_BASS_ChannelBytes2Seconds(b,kanal_pozicija);
  • 0

#23 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 04 November 2011 - 08:13 PM

I'm having a problem with 'GM_BASS_ChannelBytes2Seconds'.
GM_BASS_ChannelSeconds2Bytes works without a problem, but the other one hangs the stream whenever i try it.

Am I using it wrong or is there something wrong with the function? here's what i do: secs=GM_BASS_ChannelBytes2Seconds(b,kanal_pozicija);


Sorry man... kanal_pozicija is on My language,,, In English that is channel_position... That is current position of playing song. :)
And that variable you can get with function kanal_pozicija=GM_BASS_ChannelGetPosition(b,0); (or channel_position=GM_BASS_ChannelGetPosition(b,0); if you prefer English or call this
how you want, on your language no matter. :)
here is:
b= channel who playing ( See EVENT press 'L' key) --> b=GM_BASS_StreamCreateFile(0,your_song_to_play,0,8);
0=The position to translate (write here 0(zero)).

So, in Example I was put NEXT
kanal_pozicija=0; ---> Create event
kanal_pozicija=GM_BASS_ChannelGetPosition(b,0);---> Event press 'L' Key( Load and start play) and in Alarn[0]
And
secs=GM_BASS_ChannelBytes2Seconds(b,kanal_pozicija); --> put where you wont to see current position in second's ...
To translate this in minutes or similar... try to use Shaltif sript, or some similar...

I hope this will help...
Regards, and keep working...
zmmaj :)
  • 0

#24 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 04 November 2011 - 08:35 PM

So, in Example I was put NEXT
kanal_pozicija=0; ---> Create event
kanal_pozicija=GM_BASS_ChannelGetPosition(b,0);---> Event press 'L' Key( Load and start play) and in Alarn[0]
And
secs=GM_BASS_ChannelBytes2Seconds(b,kanal_pozicija); --> put where you wont to see current position in second's ...
To translate this in minutes or similar... try to use Shaltif sript, or some similar...

I hope this will help...
Regards, and keep working...
zmmaj :)


i put this in Draw Event of your example file:
secs=GM_BASS_ChannelBytes2Seconds(b,kanal_pozicija);
draw_text(20,250,string(secs));

i also initialised kanal_pozicija to 0;

It's still doing the same thing: retriggering the sound stream whenever Bytes2Seconds is called (both in Alarm or Draw event).
When i replace the same thing with Seconds2Bytes it works perfectly...

Hope you know a solution!
  • 0

#25 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 04 November 2011 - 08:37 PM

Also, is it possible to measure in milliseconds?
  • 0

#26 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 04 November 2011 - 08:57 PM

Also, is it possible to measure in milliseconds?


Nope... I will see what I can do about miliseconds...
but I think you will got format 00,00 sec... :)

About function GM_BASS_ChannelBytes2Seconds I was found error...
Please do next:
Open SCRIPT GM_BASS_ChannelBytes2Seconds
and replace GM_BASS_ChannelPlay to GM_BASS_ChannelBytes2Seconds ...
I hope now will work :)
Write please if this work... to put BUG for all... This bug user can correct by own...
Sorry this is my bad,,, :(



  • 0

#27 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 04 November 2011 - 09:03 PM

Ok it works!! :) Hehe i didn't see that one either...

but I think you will got format 00,00 sec... :)


Sadly i only get seconds in integers...
  • 0

#28 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 04 November 2011 - 09:07 PM

Ok it works!! :) Hehe i didn't see that one either...


but I think you will got format 00,00 sec... :)


Sadly i only get seconds in integers...


I just see... I can't to do nothing... That is original BASS command...
You can use PERCENT just I am in example... there you have format 0.00 for sure :)
  • 0

#29 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 37 posts

Posted 04 November 2011 - 09:11 PM

You can use PERCENT just I am in example... there you have format 0.00 for sure :)


I'm already doing that, but it can get inexact when trying to track long music files.

Thanks for your help anyway, I'll get back to you when i run into more problems ;)
  • 0

#30 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 04 November 2011 - 09:13 PM

You are welcome :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users