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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

Posted Image


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#6 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#20 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 posts

Posted 02 November 2011 - 11:00 PM

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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#22 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#24 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#25 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 posts

Posted 04 November 2011 - 08:37 PM

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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#27 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#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

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#29 Atomhead

Atomhead

    GMC Member

  • GMC Member
  • 41 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

http://hiii.entity.be Hyperspace Invaders II (under construction)

http://hii.entity.be Hyperspace Invaders I
http://hi.entity.be Hyperspace Invaders Zero


#30 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 04 November 2011 - 09:13 PM

You are welcome :)
  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#31 Davve

Davve

    GMC Member

  • GMC Member
  • 4066 posts
  • Version:GM:Studio

Posted 07 November 2011 - 07:25 PM

Now you can do with sound all what you imagine, even to mix and save sound to *.wav file...

Since the first post and .zip is a giant mess, can you make a small example of this feature? Are you talking about recording the sound off the system, or saving sounds to a .wav without even playing them (that would be preferred)?
  • 0

1Amdi.png Swxmo.png RDHEw.png 17Ezd.png


#32 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 07 November 2011 - 07:40 PM


Now you can do with sound all what you imagine, even to mix and save sound to *.wav file...

Since the first post and .zip is a giant mess, can you make a small example of this feature? Are you talking about recording the sound off the system, or saving sounds to a .wav without even playing them (that would be preferred)?


Oh...
Bass provide simplest way to save any sound( from mice, or loaded sound) to *.wav.
If you wana just convert from each to another format, and that is possible too ( with or without playing song) .
Mess is just on first lock. Play with bass and you will see, that is not a mess...
Simply bass is HUGE audio and video engine, with almost unlimited possibilities...
Example , how to save from mp3 to wav, exists, there..
For that purpose there are two dll's ( vorbis, and ogg).
More, about how to use this possibilities, you have in provided help.
Also I recommend you to visit BASS forum...
Regards. :)
  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#33 Davve

Davve

    GMC Member

  • GMC Member
  • 4066 posts
  • Version:GM:Studio

Posted 08 November 2011 - 05:30 PM

Oh...
Bass provide simplest way to save any sound( from mice, or loaded sound) to *.wav.
If you wana just convert from each to another format, and that is possible too ( with or without playing song) .
Mess is just on first lock. Play with bass and you will see, that is not a mess...
Simply bass is HUGE audio and video engine, with almost unlimited possibilities...
Example , how to save from mp3 to wav, exists, there..
For that purpose there are two dll's ( vorbis, and ogg).
More, about how to use this possibilities, you have in provided help.
Also I recommend you to visit BASS forum...
Regards. :)

Surely a small example of the .wav generating is not too much to ask for?
  • 0

1Amdi.png Swxmo.png RDHEw.png 17Ezd.png


#34 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 08 November 2011 - 08:05 PM

Hi..
There is two examples how to save as *,wav file...
1:
Is in bass.gmk
Example how to record sound from mic and save to wav file
( see Event under "R" key)

2: is example how to convert from mp3 to wav file. (example_"convertMp3ToWav.gmk "

So, I really don't understand your request :(



  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#35 bnjzjbmu

bnjzjbmu

    GMC Member

  • New Member
  • 4 posts

Posted 14 November 2011 - 02:22 PM

Amazing, i really want something better than the old bassmod extension. The main problem i have with bassmod gex was it always loop all *.it files from start, it never loops from a custom loop point. (if i want a custom loop point i have to convert *.it to *.xm and it works, but with less quality and no instrument pitch envelope <.<)

Now talking about your examples all seems to work and will be really useful for others GM projects, but i really want to use this to play some mod music. I tried this code:
a=GM_BASS_MusicLoad(0,"test.it",0,0)
GM_BASS_ChannelPlay(a,1)
And works, but i cant find a function to make the song loop/repeat now

So i will be really happy if you add some mod music support if you can, i can help with testing :D
  • 0

#36 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 14 November 2011 - 06:24 PM

Amazing, i really want something better than the old bassmod extension. The main problem i have with bassmod gex was it always loop all *.it files from start, it never loops from a custom loop point. (if i want a custom loop point i have to convert *.it to *.xm and it works, but with less quality and no instrument pitch envelope <.<)

Now talking about your examples all seems to work and will be really useful for others GM projects, but i really want to use this to play some mod music. I tried this code:

a=GM_BASS_MusicLoad(0,"test.it",0,0)
GM_BASS_ChannelPlay(a,1)
And works, but i cant find a function to make the song loop/repeat now

So i will be really happy if you add some mod music support if you can, i can help with testing :D


yes .. You are right...
I was make very little about *.it files..
Why? answer is simple... I haven't any *.it file in my comp... :(
Give to me link with some *.it files, so I can test that files... :)
However all commands must apply and to IT files...just try it...
NOTICE...
STOP--> Delete from memory loaded file.. use pause and load for stop/play sequence...

Edited by zmaj, 14 November 2011 - 07:46 PM.

  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#37 bnjzjbmu

bnjzjbmu

    GMC Member

  • New Member
  • 4 posts

Posted 17 November 2011 - 08:22 PM

Well i just made a really simple example using bassmod and playing a kirby song (just for this example, im not using it xD) http://www.mediafire...wq47mb99e9da3aj

You will notice IT version will loop from start and XM/MO3 will loop from correct pattern (MO3 its just a XM compressed)
I think its bass.dll fault anyways, so dont worry if you cant fix it :D

Edited by bnjzjbmu, 17 November 2011 - 08:25 PM.

  • 0

#38 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 17 November 2011 - 08:54 PM

delete this post pls...

Edited by zmaj, 17 November 2011 - 08:59 PM.

  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#39 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 17 November 2011 - 08:58 PM

HI...
Truth is next...
I am NOT wrapped all functions from originall bass... :)
I will see what was I missed :)
Don't worry... Will bee soon fixed... :)
Or just visit bass.dll forum, and see if they have solution for your problem...
I will be glad to implement them in gm_bass.dll

I haven't much time for bass right now, I am a working on IndieLib port, so please bee patient.

And pls give me some link to download IT files...

And your example will not work without all dll files :)

Regards :)

Edited by zmaj, 17 November 2011 - 09:02 PM.

  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#40 bnjzjbmu

bnjzjbmu

    GMC Member

  • New Member
  • 4 posts

Posted 17 November 2011 - 09:10 PM

HI...
Truth is next...
I am NOT wrapped all functions from originall bass... :)
I will see what was I missed :)
Don't worry... Will bee soon fixed... :)
Or just visit bass.dll forum, and see if they have solution for your problem...
I will be glad to implement them in gm_bass.dll

I haven't much time for bass right now, I am a working on IndieLib port, so please bee patient.

And pls give me some link to download IT files...

And your example will not work without all dll files :)

Regards :)

The example include one IT and i used bassmod extension, if you need more music and/or a gmk/exe using the dll (not gex) just tell me

* The example didnt work?? D:
  • 0

#41 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 18 November 2011 - 12:38 AM

Oh no.... Example work..
Are you try to put ( BASS_SAMPLE_LOOP = Loop the music. FLAG) when Load IT files?

Then with Pause/Play/seek you can put to correct place new start of interpretation...
In your case Do NOT put BASS_MUSIC_AUTOFREE flag... this will delete from memory loaded sound.

Just Again to say STOP make same effect as BASS_MUSIC_AUTOFREE flag...






  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#42 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 posts

Posted 23 November 2011 - 09:25 PM

Broadcasting don't really work, i try to connect with my Winamp, but it doesn't play anything.
  • 0

#43 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 23 November 2011 - 10:53 PM

Broadcasting don't really work, i try to connect with my Winamp, but it doesn't play anything.


And what address you write in WinAmp?
  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#44 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 posts

Posted 23 November 2011 - 11:51 PM

My local IP
  • 0

#45 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 24 November 2011 - 12:02 AM

My local IP


I know that...
PLease write whole address what you put in Winamp...
  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#46 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 posts

Posted 24 November 2011 - 12:09 AM

127.0.0.1

and i tried with the port which is given in the view.

Is it possible to broadcast it to another client? That would be a nice example:D
  • 0

#47 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 24 November 2011 - 12:12 AM

127.0.0.1

and i tried with the port which is given in the view.

Is it possible to broadcast it to another client? That would be a nice example:D


then, whole adrrress is 127.0.0.1:given_port

Write in winamp in that format and try.. that is working example, checked with WinAmp :)



  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk


#48 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 posts

Posted 24 November 2011 - 12:28 AM

My proof that it doesn't work here,

http://g2f.nl/gcr1al
http://g2f.nl/ac9rrq
  • 0

#49 Aragon

Aragon

    GMC Member

  • GMC Member
  • 142 posts

Posted 27 November 2011 - 09:55 AM

oke i found more things that doesn't work,

GM_BASS_ChannelPause doesn't work (very important), I found this when I was trying to use this in my Media Player, but it didn't work, so i tried to use it with your example, but it didn't work either. What did i do? the following code:
GM_BASS_ChannelPause(b) in "Press q" keyboard.

I did the same thing to GM_BASS_ChannelBytes2Seconds, which didn't work.
  • 0

#50 zmaj

zmaj

    GMC Member

  • GMC Member
  • 327 posts
  • Version:Unknown

Posted 27 November 2011 - 12:28 PM

oke i found more things that doesn't work,

GM_BASS_ChannelPause doesn't work (very important), I found this when I was trying to use this in my Media Player, but it didn't work, so i tried to use it with your example, but it didn't work either. What did i do? the following code:
GM_BASS_ChannelPause(b) in "Press q" keyboard.

I did the same thing to GM_BASS_ChannelBytes2Seconds, which didn't work.



GM_BASS_ChannelBytes2Seconds <-- see previous posts, you will this that this work...


GM_BASS_ChannelPause<-- can I see your code for this please?? ( also I need to know are you try to load media from one object , and try to pause "b: chanel from another?)


Regards...:)
  • 0

zmmaj

Leader of ZmajSoft team at

http://www.zmajsoft.com

I-Goo creator and author at

http://i-goo.tk





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users