fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Hello chung
yes you can create an fbSound Open Source project on https://sourceforge.net/
note: I'm busy so I can't help or support you if you run in to trouble by converting fbSound to 64-bit, sorry.
Joshy
yes you can create an fbSound Open Source project on https://sourceforge.net/
note: I'm busy so I can't help or support you if you run in to trouble by converting fbSound to 64-bit, sorry.
Joshy
Re: [it's dead]fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Hi Chung,
Maybe I could do some the work.
Regards
Adi
Now that Joshy has agreed, I had a very short look at the code. Most of the ASM stuff is concerning memory copies, not a lot mathematic knowledge needed. I think that at least this part of the port ( I´m a poet, hm ? :) ) shouldn´t be too hard to be done.chung wrote:i can do it .would you please publish it as open source at sourceforge.net so it will be saved , or do you allow me to do so ?
Maybe I could do some the work.
Regards
Adi
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
hello ,
yes, do so ,
but for me , the priority is to make the 32 bits version work with the latest freebasic 1.05-win32 version , which is not he case .
i managed to make it work with the dll version and fbsound.dll , fbsoundcpu.dll , plug_mm.dll without changes but still the direct sound feature didnt work .
(i have added it to mp3tomid_chung in which i can use now multithread fourier calculation loops, still in beta test)
in fact, i dont yet use freebasic 1.05-win64 , for any purpose.
yes, do so ,
but for me , the priority is to make the 32 bits version work with the latest freebasic 1.05-win32 version , which is not he case .
i managed to make it work with the dll version and fbsound.dll , fbsoundcpu.dll , plug_mm.dll without changes but still the direct sound feature didnt work .
(i have added it to mp3tomid_chung in which i can use now multithread fourier calculation loops, still in beta test)
in fact, i dont yet use freebasic 1.05-win64 , for any purpose.
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
firts tests on fbsound 0.20 with freebasic 1.05-win32
had to replace some "ptr ptr" in functions declarations by "ptr" to compile (in fbsound.bas)
had to add these line directly in fbstypes.bi as inkey didnt work from a dllexport (in window mode), there is still a bug here
plug_ds.bas (direct sound) dont compile , is ignored
changed the bat build file for windows
load ogg files dont works
otherwise , firsts tests seam to work
had to replace some "ptr ptr" in functions declarations by "ptr" to compile (in fbsound.bas)
had to add these line directly in fbstypes.bi as inkey didnt work from a dllexport (in window mode), there is still a bug here
Code: Select all
'declare function FBS_Get_Keycode() as FBS_KEYCODES
function fbs_Get_KeyCode() As FBS_KEYCODES
var key=inkey
'dim as integer keycode=len(key)
'If keycode Then
' keycode-=1
' keycode=key[keycode]+(keycode shl 8)
'End If
'Return keycode
if key="" then return 0
if len(key)=1 then return asc(key)
return asc(right(key,1))+256
end function
changed the bat build file for windows
Code: Select all
fbc -w pendantic -mt -i inc -lib src/fbscpu.bas -x lib/win32/libfbscpu.a
fbc -w pendantic -mt -i inc -lib src/fbsound.bas -x lib/win32/libfbsound.a
fbc -w pendantic -mt -i inc -dll src/fbscpu.bas -x lib/win32/fbscpu.dll
fbc -w pendantic -mt -i inc -dll src/fbsound.bas -x lib/win32/fbsound.dll
rem dont work fbc -w pendantic -mt -i inc -dll src/plug-ds.bas -x lib/win32/plug-ds.dll
fbc -w pendantic -mt -i inc -dll src/plug-mm.bas -x lib/win32/plug-mm.dll
rem dont work copy .\lib\win32\plug-ds.dll .\tests
copy .\lib\win32\plug-mm.dll .\tests
copy .\lib\win32\fbscpu.dll .\tests
copy .\lib\win32\fbsound.dll .\tests
@echo "ready!"
@pause
otherwise , firsts tests seam to work
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
I managed the same thing a few pages back. I am not sure why the ogg loading does not work.chung wrote:load ogg files dont works
otherwise , firsts tests seam to work
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Would you mind if i only post a release for windows-32 as i cant test for linux , and also remove the ogg feature as it doenst work ?D.J.Peters wrote:Hello chung
yes you can create an fbSound Open Source project on https://sourceforge.net/
note: I'm busy so I can't help or support you if you run in to trouble by converting fbSound to 64-bit, sorry.
Joshy
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
@chung before you start to port FB sound bring it to work for the curent FB version.
it's simple:
download the lasted fbSound.XX.zip file
open a console or text window on your Windows OS
navigate to the extracted fbSound.XX folder
and type rebuildlib.bat
now you get a bunch of errors
fix it line by line
you have only to change integer to long or viseversa
that's all
after you fixed all long/integer stuff type
buildall.bat
all tests should compile and running.
If you can't fix this simple integer/long problem use your "private hack" for your own projects
but don't publish your "private hack" on sourceforge.net please
thank you
Joshy
it's simple:
download the lasted fbSound.XX.zip file
open a console or text window on your Windows OS
navigate to the extracted fbSound.XX folder
and type rebuildlib.bat
now you get a bunch of errors
fix it line by line
you have only to change integer to long or viseversa
that's all
after you fixed all long/integer stuff type
buildall.bat
all tests should compile and running.
If you can't fix this simple integer/long problem use your "private hack" for your own projects
but don't publish your "private hack" on sourceforge.net please
thank you
Joshy
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
post it and manage the tickets yourself
-
- Posts: 355
- Joined: May 29, 2015 20:37
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Hi D.J.Peters,
I am using you sound library for my game, and I have got it working no trouble thanks to the examples/doc! Works perfectly for what I want!
However, I am posting to clarify a few things about distributing it with my game (i.e. licensing stuff).
In my collection of licenses (which have to be distributed due to my using various libraries), I have included ALL of the licenses which come with your library (including the license for the OGG which isn't technically yours but come with the project because you use features which require those licenses).
Here's the thing; I don't know which licenses to include in the game's distribution!
I am only using the WAVE (.wav) format. I do not require the OGG part of the library. However, I am thinking that the OGG part, even though not used by me AFAIK, is still part of your library (plug-mm.dll?) so do I still have to include that license even though I'm not using it?
Also the other license, for MAD and DUMB. Do I also include them or does it depend on what I'm using out of your library?
I am only using the "plug-mm.dll" library that is part of the FBSound library.
Also, I don't know if this is normal, but Google Chrome told me that the website you link to for the .zip download "contains malware". IDK if this is serious or not, but I think it's right for you to know if it is an issue.
I am using you sound library for my game, and I have got it working no trouble thanks to the examples/doc! Works perfectly for what I want!
However, I am posting to clarify a few things about distributing it with my game (i.e. licensing stuff).
In my collection of licenses (which have to be distributed due to my using various libraries), I have included ALL of the licenses which come with your library (including the license for the OGG which isn't technically yours but come with the project because you use features which require those licenses).
Here's the thing; I don't know which licenses to include in the game's distribution!
I am only using the WAVE (.wav) format. I do not require the OGG part of the library. However, I am thinking that the OGG part, even though not used by me AFAIK, is still part of your library (plug-mm.dll?) so do I still have to include that license even though I'm not using it?
Also the other license, for MAD and DUMB. Do I also include them or does it depend on what I'm using out of your library?
I am only using the "plug-mm.dll" library that is part of the FBSound library.
Also, I don't know if this is normal, but Google Chrome told me that the website you link to for the .zip download "contains malware". IDK if this is serious or not, but I think it's right for you to know if it is an issue.
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
btw you could compile fbsound with
That way you should be able to remove these libraries that you do not need and thus don't have to care about their licenses either.
If you ship it you've to include the license too - no matter whether it is actually used or not. (AFAIK - I'm no lawyer)
On the other hand: what's the problem with including a few more text files in your package in case of doubt? - they are not that big...
Code: Select all
#define NOMOD
#define NOMP3
#define NOOGG
If you ship it you've to include the license too - no matter whether it is actually used or not. (AFAIK - I'm no lawyer)
On the other hand: what's the problem with including a few more text files in your package in case of doubt? - they are not that big...
Last edited by St_W on Jul 19, 2017 15:56, edited 3 times in total.
-
- Posts: 355
- Joined: May 29, 2015 20:37
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Thanks for the info! I wanted to make sure i wasn't legally binding users to something which they shouldn't or vice versa, that's all.St_W wrote:btw you could compile fbsound with
That way you should be able to remove these libraries that you do not need and thus don't have to care about their licenses either.Code: Select all
#define NOMOD #define NOMP3 #define NOOGG
If you ship it you've to include the license too - no matter whether it is actually used or not. (AFAIK - I'm no lawyer)
On the other hand: what's the problem with including a few more text files in your package in case of doubt? - they are not that big...
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
@datwill310 I don*t know why some *.zip files on my page are maked as malware.
fbSound is only FreeBASIC code and some precompiled libs.
I'm sure all my dowmloads are safe.
For example all fltk-c stuff are compiled by me (the FLTK runtime the fltk-c wrapper) and 100% free of any malware.
Joshy
fbSound is only FreeBASIC code and some precompiled libs.
I'm sure all my dowmloads are safe.
For example all fltk-c stuff are compiled by me (the FLTK runtime the fltk-c wrapper) and 100% free of any malware.
Joshy
-
- Posts: 355
- Joined: May 29, 2015 20:37
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
I'm certain of this too; I after all have the library ;)! I was just letting you know in case it was an issue.D.J.Peters wrote:I'm sure all my dowmloads are safe.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Because of malware on alice-dsl.net domain I moved all content to my new shiny3d.de server.
Joshy
Joshy
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Maybe you could enable directory listing for that folder on the new server like on the old one (or install some directory listing script)?D.J.Peters wrote:Because of malware on alice-dsl.net domain I moved all content to my new shiny3d.de server.