24 May '13 - 15: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:
Bass for Lazarus under linux?
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: Bass for Lazarus under linux? (Read 367 times)
xantippe
Posts: 6
Bass for Lazarus under linux?
«
on:
5 Sep '12 - 07:08 »
Quote
In Holland magazine C't started (early this year) a free Pascal/Lazarus course for beginners. I'm a beginner (again).
One of the most challenging subjects was a program showing how you can show and listen to a nightingale. The sound came from a .wav file.
The example has been set up for a Windows environment using the MMsystem library.
My question is the following:
I work under Linux Mint 13 (Maya) version Mate 32 bit. Up to now I did not find an alternative for the MMsystem. MMsystem works only under Windows.
More people advised me to use the BASS library. But for me BAS library is very detailed and I have to translate it to the Lazarus environment. Can somebody help me with a simple start to learn the library. Beginning with a replacement for MMsystem for Lazarus/Linux?
Just to play the .wav file. I like to use that as a start in making use of the BASS library for larger projects later under Lazarus/Linux.
Thies;]
Logged
Chris
Posts: 1507
Re: Bass for Lazarus under linux?
«
Reply #1 on:
5 Sep '12 - 08:41 »
Quote
Hi just take a look into the delphi examples.
Do want to build a console Program or a Gui Program?
Bass is very easy from the calls.The Delphi Header in the Bass Packages will also work under Lazarus.
Chris
Logged
xantippe
Posts: 6
Re: Bass for Lazarus under linux?
«
Reply #2 on:
5 Sep '12 - 10:34 »
Quote
Thanks Chris,
It is a gui program.
I have the complete program in the zipfile Nightingale_Lazarus.zip. It is 87MB.
Can I attach that to a reply to you?
There you can see how they use MMsystem with
sndPlaySound('..\wav\Nightingale_song.wav', SND_FILENAME or SND_ASYNC);
Typically a Windows environment, not suitable for Linux.
Thies
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
Bass for Lazarus under linux?
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...