Axiom.SoundSystems


Moderator: Contrib Moderators

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Thu Aug 20, 2009 11:11 am

Re: Axiom.SoundSystems

Hi zinotep, thanks for your feedback and sorry for my late reply, I was very busy elsewhere.

A few things were already fixed with an update to Axiom latest trunk. I'm currently not going to be fixing much of the other bugs since I'm working on another project, which however uses the library, so the time shall come. If anybody meets a trouble, please consult the existing issues and if you are able to fix yours right away and make a svn .patch file, that would be awesome, also don't hesitate to discuss your needs here.

There's an update to the demos - a doppler demo. The doppler effect works nice with the Xna.Simple subsystem, unfortunately the OpenAL subsystem doesn't "doppler" correctly for some reason, would be related to this. Be welcome to check it out from svn to give it a try.

Image

Veteran

Posts: 82

Joined: Tue Mar 10, 2009 10:01 am

Post Fri Nov 13, 2009 6:49 am

Re: Axiom.SoundSystems

Ok,i've downloaded it from SVN,installed OpenAL Runtime for windows,run the demo but nothing happens,no sound,nothing,
do you know why?
When i close application i hear a little bip and nothing else

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Tue Nov 17, 2009 3:52 am

Re: Axiom.SoundSystems

Not much ideas,
amerthebest wrote:installed OpenAL Runtime for windows
that is not necessary, because the OpenAL32.dll is bundled with the library, but doesn't harm. Reminds me, I haven't tested on a 64-bit system, are you running 64-bit?

Does the Xna.Simple subsystem produce any sounds for you at least?

Veteran

Posts: 82

Joined: Tue Mar 10, 2009 10:01 am

Post Tue Nov 17, 2009 8:21 am

Re: Axiom.SoundSystems

I have Windows 7 32 bit,could be that?

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Tue Nov 17, 2009 10:42 am

Re: Axiom.SoundSystems

I don't know. You may update your working copy to see if the changes I did a minute ago help. Ofc if there are any errors in the log, pls post them. Am curious whether the Xna.Simple part works for you in demos 2 and 3.
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Wed Mar 03, 2010 2:04 pm

Re: Axiom.SoundSystems

andris11 wrote:Not much ideas,
amerthebest wrote:installed OpenAL Runtime for windows
that is not necessary, because the OpenAL32.dll is bundled with the library, but doesn't harm.


Well it needs wrap_oal.dll file too, then there is no need to install OpenAL .

But my actually question, is these csogg.dll and csvorbis.dll compiled "Release"-versions?
Tried checkout svn from http://anonsvn.mono-project.com/viewvc/trunk/csvorbis/ but I just get
Repository moved permanently to '/viewvc/trunk/csvorbis/'; please relocate

so cant compile these myself.
User avatar

Site Admin

Posts: 1272

Joined: Thu Mar 02, 2006 11:29 pm

Location: Boston, MA, USA

Post Wed Mar 03, 2010 3:29 pm

Re: Axiom.SoundSystems

migel wrote:
andris11 wrote:Not much ideas,
amerthebest wrote:installed OpenAL Runtime for windows
that is not necessary, because the OpenAL32.dll is bundled with the library, but doesn't harm.


Well it needs wrap_oal.dll file too, then there is no need to install OpenAL .

But my actually question, is these csogg.dll and csvorbis.dll compiled "Release"-versions?
Tried checkout svn from http://anonsvn.mono-project.com/viewvc/trunk/csvorbis/ but I just get
Repository moved permanently to '/viewvc/trunk/csvorbis/'; please relocate

so cant compile these myself.


The correct SVN repo url is : http://anonsvn.mono-project.com/source/trunk/csvorbis
Borrillis
The Steward of Axiom
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Thu Mar 04, 2010 9:49 am

Re: Axiom.SoundSystems

Thanks Borrillis.

Tested this on linux too, works fine when install libopenal and libalut from repos. :)
OpenAL does not ship with alut, for some reason, having problems to find alut lib on mac. :(
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Fri Mar 05, 2010 6:50 am

Re: Axiom.SoundSystems

Ok, alut is deprecated, freealut is available but cant find binaries (universal or other) to mac, readed that mac comes with openAL, so tested this but comes
System.DllNotFoundException: libalut.so.0
at (wrapper managed-to-native) Tao.OpenAl.Alut:alutInit (int[],string[])
at Tao.OpenAl.Alut.alutInit () [0x00000]
at Axiom.SoundSystems.OpenAL.SoundContext.Initialize (System.Object[] args) [0x00000]
at Axiom.SoundSystems.SoundsRoot.CreateSoundContext (System.String subsystemName, System.Object[] args) [0x00000]
at Demo.SoundDemo.CreateScene () [0x00000]


But then tested OpenTK's openAL test and it worked with mac osx. So leaving alut for good, might be good idea.
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Wed Mar 10, 2010 1:16 pm

Re: Axiom.SoundSystems

I made new OpenAL plugin where I replaced Tao.OpenAL and alut with OpenTK.dll so it works with mac too.

You can check it here
http://www.dhost.info/haima/ax/cs/ax_So ... ng_otk.rar
(copy to your address bar, no hotlinking anymore, I see)

Just projectfile and sources, no otk dll but they can be found at the same www directory too.

Add it to Axiom.SoundSystems if you want (it is different directory and projectfile so it does not replace original OpenAL plugin).

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Sat Mar 27, 2010 7:42 am

Re: Axiom.SoundSystems

migel wrote:I made new OpenAL plugin where I replaced Tao.OpenAL and alut with OpenTK.dll so it works with mac too.

That's nice, it's in the repo now, looks like it could fully replace the Tao OpenAL plugin and work on Win, MAC and Linux?
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Sat Mar 27, 2010 1:49 pm

Re: Axiom.SoundSystems

It is tested with one mac osx machine, couple of ubuntu install (and in VM too), xp, w7, and my test application works (using .wav and .ogg).

But in this new plugin there is couple of methods which uses parameters that opentk does not provide in enums, so I copied values from tao. But havent tested these methods so I cant be absolutely sure if these are coded right.

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Sat Mar 27, 2010 5:06 pm

Re: Axiom.SoundSystems

migel wrote:It is tested with one mac osx machine, couple of ubuntu install (and in VM too), xp, w7, and my test application works (using .wav and .ogg).
Great :)
Am unfortunately having some trouble getting all demos run with the OpenAL.OpenTK plugin on WinXP/32 (one issue is that background 2D sounds are hardly hearable the second is an exception when loading the ferrari wav) so both Tao an OpenTK versions are kept..

Veteran

Posts: 788

Joined: Wed Mar 22, 2006 8:06 pm

Post Sat May 01, 2010 9:39 am

Re: Axiom.SoundSystems

Fyi, Axiom.SoundSystems is now licensed under the MIT license. :) That is very non-restrictive license and unlike LGPL allows Xbox/Zune runs. Everything's MIT now, except the mp3 decoder plugin which uses the GPL'ed third party mp3 decoder Mp3Sharp.dll and therefore stays GPL (GPL2 to be exact).

Help needed - OpenAL and doppler effect: If you understand how things are done in OpenAL and can take a look at how the OpenAL plugin uses OpenAL to get a doppler effect, that would be appreciated, because the doppler effect doesn't currently work in OpenAL. Look at the Axiom.SoundSystems.OpenAL.Tao plugin and use it in SoundDemoDoppler (you can launch it using the bundled demo selector). Thanks
User avatar

Veteran

Posts: 134

Joined: Fri Apr 17, 2009 7:38 am

Location: Finland

Post Sat Jun 12, 2010 4:07 pm

Re: Axiom.SoundSystems

Am unfortunately having some trouble getting all demos run with the OpenAL.OpenTK plugin on WinXP/32 (one issue is that background 2D sounds are hardly hearable the second is an exception when loading the ferrari wav)


Ok, I'll check if I can fix these, didnt notise these before, I used other wavs in my test project.

so both Tao an OpenTK versions are kept..


That's good :)

Unfortunately, I cant help with OpenAL and doppler effect, at least yet.
PreviousNext

Return to Add-Ons Project Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.