Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Erik Hofman
Arnt Karlsen wrote: > On Sat, 31 Oct 2009 09:54:06 -0500, Curtis wrote in message > : > > >> Erik, >> >> I've seen one thread with over 100 messages on the topic and this >> thread is about 60 messages already, not to mention all the smaller >> threads and individual messages. You are the audi

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Arnt Karlsen
On Sat, 31 Oct 2009 09:54:06 -0500, Curtis wrote in message : > On Sat, Oct 31, 2009 at 9:21 AM, Erik Hofman wrote: > > > Alright, enough of this. > > I've spent three full weeks trying to get the position and > > orientation correctly and asked several times for help but no one > > seems to car

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread syd adams
On Sat, Oct 31, 2009 at 7:21 AM, Erik Hofman wrote: > Alright, enough of this. > I've spent three full weeks trying to get the position and orientation > correctly and asked several times for help but no one seems to care. > Fine, fuck it. > > Erik > > I wish I could, but about all I can do is re

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Curtis Olson
On Sat, Oct 31, 2009 at 9:21 AM, Erik Hofman wrote: > Alright, enough of this. > I've spent three full weeks trying to get the position and orientation > correctly and asked several times for help but no one seems to care. > Fine, it. > > Erik, I've seen one thread with over 100 messages on

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Victhor Foster
The sound is glitched here for a few planes. Ec135 is glitched on fly- by view, but F-16 isn't. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this y

Re: [Flightgear-devel] New Sound system committed

2009-10-31 Thread Erik Hofman
Ron Jensen wrote: > On Fri, 2009-10-30 at 10:08 +0100, Erik Hofman wrote: >> Nicolas Quijano wrote: >>> The wind sample we use is indeed very saturated, and was drowned by the >>> rumble sample before. >> Did another run today and think you might be fooled by another sound >> effect that I have b

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread syd adams
Just a note to say ATIS now works here ... -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Jari Häkkinen
Erik Hofman wrote: > I've committed the current state of my local code to see if it fixes > anything. > > Erik Erik, there is a typo in SIMGEAR/simgear/sound/Makefile.am, see diff below. Cheers, Jari Index: simgear/sound/Makefile.am

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread syd adams
> Erik, > - Is there a model you're working on with sound? I've just been testing > with whatever I happen to want to load... > > - Today while flying I noticed the marker beacon is doppler shifted in > all aircraft views. Tower and Fly-by view it sounds correctly. > > Thanks, > > Ron > > Hi Ron

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Ron Jensen
On Fri, 2009-10-30 at 10:08 +0100, Erik Hofman wrote: > Nicolas Quijano wrote: > > The wind sample we use is indeed very saturated, and was drowned by the > > rumble sample before. > > Did another run today and think you might be fooled by another sound > effect that I have been trying to simula

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Erik Hofman
Nicolas Quijano wrote: > The wind sample we use is indeed very saturated, and was drowned by the > rumble sample before. Did another run today and think you might be fooled by another sound effect that I have been trying to simulate; at higher alpha or beta values the propwash sound effect kick

Re: [Flightgear-devel] New Sound system committed

2009-10-30 Thread Erik Hofman
Nicolas Quijano wrote: > Little mistake : The wind sound, which wasn't audible before, is now > vastly over the sound of the rumble, which I had mistakenly thought was > the wind (it makes for a better wind on wings sound, from this point of > hearing approximately between my ears) > The wind sa

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Nicolas Quijano
Little mistake : The wind sound, which wasn't audible before, is now vastly over the sound of the rumble, which I had mistakenly thought was the wind (it makes for a better wind on wings sound, from this point of hearing approximately between my ears) The wind sample we use is indeed very saturated

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Scott Hamilton
On Thu, 2009-10-29 at 09:45 -0600, dave perry wrote: Hurray! another build with working engine sounds, great debugging work by all. S. > Hi Erik, > Updated both my core2 duo (64 bit FC10) and my Athlon XP 3200+ (32 bit > FC10) both running FC10 openal and freealut distribution rpms.

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Nicolas Quijano
an > > > -Original Message- > > From: Erik Hofman [mailto:e...@ehofman.com] > > Sent: 29 October 2009 17:07 > > To: FlightGear developers discussions > > Subject: Re: [Flightgear-devel] New Sound system committed > > > > Ron Jensen wrote: > > >

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alan Teeder
It compiles and sounds are back! That was quick. Well done Alan > -Original Message- > From: Erik Hofman [mailto:e...@ehofman.com] > Sent: 29 October 2009 17:07 > To: FlightGear developers discussions > Subject: Re: [Flightgear-devel] New Sound system committed >

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Ron Jensen wrote: > Hi Erik, > > Sound seems to work O.K. today for me. Except when I tune atis I get: > voice synth: word '(many lines of stuff...)' not found > source and listener distance greater than 20km! > source and listener distance greater than 20km! > > And no ATIS sound... I assume i

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Alan Teeder wrote: > With VC++ 2008 Express - no engine sound yesterday > > Today:- > > -- Build started: Project: SimGear, Configuration: Release Win32 -- > Compiling... > sample_group.cxx > ..\..\simgear\sound\sample_group.cxx(387) : error C2664: 'isNaN' : cannot > convert parameter 1

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alan Teeder
With VC++ 2008 Express - no engine sound yesterday Today:- -- Build started: Project: SimGear, Configuration: Release Win32 -- Compiling... sample_group.cxx ..\..\simgear\sound\sample_group.cxx(387) : error C2664: 'isNaN' : cannot convert parameter 1 from 'SGVec3d' to 'float *' N

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Ron Jensen
On Thu, 2009-10-29 at 14:36 +0100, Erik Hofman wrote: > Scott Hamilton wrote: > > On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: > > > > Hi ya Erik, > > > > > > I just tried out the test3, no sound what so ever... > > I've committed the current state of my local code to see if it f

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Alasdair Campbell
On Thu, 2009-10-29 at 09:45 -0600, dave perry wrote: > Erik Hofman wrote: > > Scott Hamilton wrote: > > > >> On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: > >> > >> Hi ya Erik, > >> > >> > >> I just tried out the test3, no sound what so ever... > >> > > > > I've committed the

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread dave perry
Erik Hofman wrote: > Scott Hamilton wrote: > >> On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: >> >> Hi ya Erik, >> >> >> I just tried out the test3, no sound what so ever... >> > > I've committed the current state of my local code to see if it fixes > anything. > > Erik > > >

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Erik Hofman wrote: > Scott Hamilton wrote: >> On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: >> >> Hi ya Erik, >> >> >> I just tried out the test3, no sound what so ever... >> >> SimGear/source/simgear/sound> ./openal_test3 >> default position and orientation >> NaN in source position

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Scott Hamilton wrote: > On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: > > Hi ya Erik, > > > I just tried out the test3, no sound what so ever... I've committed the current state of my local code to see if it fixes anything. Erik -

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Scott Hamilton wrote: > On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: > > Hi ya Erik, > > > I just tried out the test3, no sound what so ever... > > SimGear/source/simgear/sound> ./openal_test3 > default position and orientation > NaN in source position > NaN in source orientation

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Scott Hamilton
On Thu, 2009-10-29 at 13:57 +0100, Erik Hofman wrote: Hi ya Erik, I just tried out the test3, no sound what so ever... SimGear/source/simgear/sound> ./openal_test3 default position and orientation NaN in source position NaN in source orientation playing sample source at lat,lon = (10,-10)

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Erik Hofman
Scott Hamilton wrote: > On Thu, 2009-10-29 at 02:26 +0100, Csaba Halász wrote: > > > Hi Erik! > > > > If a sound sample keeps its default orientation of all zeroes then in > > SGSoundSample::update_absolute_position the sc2body*q will be also > > null and cause a division by zero in SGQuat::b

Re: [Flightgear-devel] New Sound system committed

2009-10-29 Thread Scott Hamilton
On Thu, 2009-10-29 at 02:26 +0100, Csaba Halász wrote: > Hi Erik! > > If a sound sample keeps its default orientation of all zeroes then in > SGSoundSample::update_absolute_position the sc2body*q will be also > null and cause a division by zero in SGQuat::backTransform. > Perhaps this exp

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Csaba Halász
Hi Erik! If a sound sample keeps its default orientation of all zeroes then in SGSoundSample::update_absolute_position the sc2body*q will be also null and cause a division by zero in SGQuat::backTransform. -- Csaba/Jester -

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Nicolas Quijano
Forgot to mention it's still crashing in Debug mode due to a corrupt heap (according to the debugger, this is the likely culprit) on the SGSoundSample::free_data() call, you guessed it, on the same spot as a couple weeks back : rumble.wav. No changes in behaviour in DEBUG mode even with all the rec

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Nicolas Quijano
Anybody got sounds working properly on *windows* (ATIS and aircraft sounds working at the same time ?) If yes, what is your setup, not just openAL wise, but do you also build OSG, and if yes, with what options ? Share as much as possible of your setup, if current CVS works for you, please. I think

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Erik Hofman
Csaba Halász wrote: > Starting at EGLL with the default c172p, I notice: > 1) the engine sound is louder in cockpit than in external view > 2) tuning to ATIS 123.9 I get the "source and listener distance > greater than 50km!" message (twice) > 3) tuning away from ATIS frequency does not stop ATIS s

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Erik Hofman
Csaba Halász wrote: > On Tue, Oct 27, 2009 at 1:23 PM, Erik Hofman wrote: >> This is getting silly. I've now committed code that checks is the source >> and listener are further apart than 50km or if there are any NaN's in >> the position, orientation or velocity data of the source or listener. >>

Re: [Flightgear-devel] New Sound system committed

2009-10-28 Thread Scott Hamilton
On Wed, 2009-10-28 at 12:33 +1300, James Sleeman wrote: I'm using OpenAL-Soft 1.9.563 compiled from source from http://kcat.strangesoft.net/openal.html and ALUT 1.1 compiled from source from http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0.tar.gz These both seem to be

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread James Sleeman
On 28/10/09 08:22, jorg van der venne wrote: Al packages were checked-out Sunday 25th. I am sure it was svn://connect.creativelabs.com/OpenAL/trunk/OpenAL-Soft && svn://connect.creativelabs.com/OpenAL/trunk/Alut

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread jorg van der venne
I had the same problem for 4 days and I tried about everything but nothing seemed to work until i just compiled OpenAL-Soft and then Alut and then "make clean" on SimGear and Flightgear followed by the installation and it worked. Al packages were checked-out Sunday 25th. I am sure it was svn:// co

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Csaba Halász
On Tue, Oct 27, 2009 at 1:23 PM, Erik Hofman wrote: > > This is getting silly. I've now committed code that checks is the source > and listener are further apart than 50km or if there are any NaN's in > the position, orientation or velocity data of the source or listener. > If the sound is still i

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread dave perry
32 bit machine. > > > > *From:* Scott Hamilton [mailto:scott.hamil...@popplanet.biz] > *Sent:* 27 October 2009 11:14 > *To:* FlightGear developers discussions > *Subject:* Re: [Flightgear-devel] New Sound system committed > &g

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
Alan Teeder wrote: > I had no sound yesterday evening – but this was an aircraft that I am > working on (JSBSim) and didn’t investigate why this should be suddenly so. Just one thing; I'm testing the airports you all provide without the proper scenery for that area. Could you try the same by set

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
This is getting silly. I've now committed code that checks is the source and listener are further apart than 50km or if there are any NaN's in the position, orientation or velocity data of the source or listener. If the sound is still inaudible while FlightGear prints a warning in the sort of "

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Scott Hamilton
On Tue, 2009-10-27 at 22:13 +1100, Scott Hamilton wrote: I forgot to mention; 64bit AMD CPU 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux freealut 1.1.0 (from creative labs, compiled from source) openal-soft-1.9.563 (compiled from source) 19: PCI 06.1

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Alan Teeder
09 11:14 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed On Tue, 2009-10-27 at 09:03 +0100, Erik Hofman wrote: dave perry wrote: > I have been away on a trip for the last 5 days. Today, I did a make > clean for both SimGear and fgfs

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Scott Hamilton
On Tue, 2009-10-27 at 09:03 +0100, Erik Hofman wrote: > dave perry wrote: > > I have been away on a trip for the last 5 days. Today, I did a make > > clean for both SimGear and fgfs before the compiles. I launched fgfs on > > the 32bit Athlon and at first, only ATC and no wind or aircraft soun

Re: [Flightgear-devel] New Sound system committed

2009-10-27 Thread Erik Hofman
dave perry wrote: > I have been away on a trip for the last 5 days. Today, I did a make > clean for both SimGear and fgfs before the compiles. I launched fgfs on > the 32bit Athlon and at first, only ATC and no wind or aircraft sounds. > It was night, so I used the gui to change the time to "

Re: [Flightgear-devel] New Sound system committed

2009-10-26 Thread dave perry
dave perry wrote: > Erik Hofman wrote: > >> It would be nice to know who of you who have problems run on 64-bit and >> if any one with these problems (sounds not playing) actually runs in 32-bit. >> >> Erik >> >> -- >>

Re: [Flightgear-devel] New Sound system committed

2009-10-26 Thread dave perry
Erik Hofman wrote: > It would be nice to know who of you who have problems run on 64-bit and > if any one with these problems (sounds not playing) actually runs in 32-bit. > > Erik > > -- > Come build with us! The BlackBer

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Tim Moore
On 10/24/2009 09:29 PM, Nicolas Quijano wrote: > typo in ATCDCL/AIPlane.cxx : at line 198, sizte_t len; should be size_t len; > Cheers, > Nic > Fixed. Thanks, Tim -- Come build with us! The BlackBerry(R) Developer Confere

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Vivian Meazza
Hi Nic OpenAL SDK builds here, Vivian -Original Message- From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 24 October 2009 20:44 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed Build with Fredb's setup, usin

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Nicolas Quijano
Build with Fredb's setup, using the OpenAL Soft provided device on windows vista 64, I get multiple working sound. Of course, no distance attenuation, as you mentioned. Had to def out the the code mentioned in previous mail, because there is another bug in there that prevents building : SGSoundSamp

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread Nicolas Quijano
typo in ATCDCL/AIPlane.cxx : at line 198, sizte_t len; should be size_t len; Cheers, Nic On Sat, Oct 24, 2009 at 2:43 PM, syd adams wrote: > I did a new cvs checkout of flightgear and simgear, and I now have sound > again ... > > Althought a separate problem popped up , trying to compile FG cras

Re: [Flightgear-devel] New Sound system committed

2009-10-24 Thread syd adams
I did a new cvs checkout of flightgear and simgear, and I now have sound again ... Althought a separate problem popped up , trying to compile FG crashed until I recompiled simgear with jpeg factory support. -- Come build w

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Alasdair Campbell
On Fri, 2009-10-23 at 04:05 +0100, Alasdair Campbell wrote: > On Thu, 2009-10-22 at 21:22 +0200, Erik Hofman wrote: > > It would be nice to know who of you who have problems run on 64-bit and > > if any one with these problems (sounds not playing) actually runs in 32-bit. > > > > Erik > > > AS y

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Ron Jensen
On Mon, 2009-10-19 at 13:47 +0200, Erik Hofman wrote: > James Sleeman wrote: > > Seems to be working ok, a bit, umm, stuttery, sort of, particularly > > background "wind", seemed to switch left-right a bit, but those problems > > might just be me, maybe even just an illusion. > > Yeah that's pr

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread syd adams
Im using ArchLinux on 32 bit Athlon XP, but with sound problems :) Seems to be a popular platform for running FlightGear, only I'm running > in 32-bit w. OpenAL-Soft without the sound-not-playing problems. > > -- Come buil

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Erik Hofman
Scott Hamilton wrote: > On Fri, 2009-10-23 at 13:36 +0200, Erik Hofman wrote: > >This is a bit weird, but it seems like something isn't letting go of > the sound device. If I run >the openal_test2 the first time, everything goes fine, it plays all 6 > samples and then unbinds. > >I

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Scott Hamilton
On Fri, 2009-10-23 at 13:36 +0200, Erik Hofman wrote: This is a bit weird, but it seems like something isn't letting go of the sound device. If I run the openal_test2 the first time, everything goes fine, it plays all 6 samples and then unbinds. If I then run openal_test2 within about 5

Re: [Flightgear-devel] New Sound system committed

2009-10-23 Thread Erik Hofman
Hans Janssen wrote: > Sound is playing but it is off at 0.0 or full on from 0.01 to 1.0, > changing the volume between 0.01 and 1.0 doesn't do anything and at 0.01 > there's almost no windy noise and i can here the atc-chatter, from 0.04 > the noise is loud again. > Also the atc-chatter volume s

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Alasdair Campbell
On Thu, 2009-10-22 at 21:22 +0200, Erik Hofman wrote: > It would be nice to know who of you who have problems run on 64-bit and > if any one with these problems (sounds not playing) actually runs in 32-bit. > > Erik > AS you speak, I am currently resurrecting my 32 bit Athlon machine to compare

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread syd adams
Yes ! Next goal is 200 :) On Thu, Oct 22, 2009 at 12:14 PM, Curtis Olson wrote: > On Thu, Oct 22, 2009 at 2:11 PM, syd adams wrote: > >> Glad you mentioned the sound type, I hadn't thought about it . Same result >> here , "looped" sounds dont play ... but the rest seem to , ( Ive only >> tested

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Hans Janssen
Erik Hofman wrote: > It would be nice to know who of you who have problems run on 64-bit and > if any one with these problems (sounds not playing) actually runs in 32-bit. > > Erik > Hello Erik, Sound is playing but it is off at 0.0 or full on from 0.01 to 1.0, changing the volume between 0.0

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Erik Hofman
It would be nice to know who of you who have problems run on 64-bit and if any one with these problems (sounds not playing) actually runs in 32-bit. Erik -- Come build with us! The BlackBerry(R) Developer Conference in

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Curtis Olson
On Thu, Oct 22, 2009 at 2:11 PM, syd adams wrote: > Glad you mentioned the sound type, I hadn't thought about it . Same result > here , "looped" sounds dont play ... but the rest seem to , ( Ive only > tested with my aircraft). Just a little off topic, but congratulations Syd, you were the one h

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread syd adams
Glad you mentioned the sound type, I hadn't thought about it . Same result here , "looped" sounds dont play ... but the rest seem to , ( Ive only tested with my aircraft). On Thu, Oct 22, 2009 at 12:01 AM, Scott Hamilton < scott.hamil...@popplanet.biz> wrote: > > > Yeah I'm in the same situatio

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Erik Hofman
syd adams wrote: > So far I've tried compiling several versions of openal-soft ... and only > get certain sounds , and always get an 'AL Error (atc):' in the > terminal at startup. > I get atc-chatter , and certain aircraft sounds like flaps , engine > start ... > I've tried openal-soft-1.8.46

Re: [Flightgear-devel] New Sound system committed

2009-10-22 Thread Scott Hamilton
Yeah I'm in the same situation, I've deleted all version of openal and alut, and pulled down the source and compiled for openal and ALUT, still only get "once" and "transit" type of sound, looped engine sounds I can't get. I'll keep looking I might try the old creative labs 0.8 version next

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread syd adams
So far I've tried compiling several versions of openal-soft ... and only get certain sounds , and always get an 'AL Error (atc):' in the terminal at startup. I get atc-chatter , and certain aircraft sounds like flaps , engine start ... I've tried openal-soft-1.8.466, 1.9.563 and the git version f

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Vivian Meazza
dave perry wrote > Erik Hofman wrote: > > dave perry wrote: > > > >> dave perry wrote: > >> > >>> With an update this morning from cvs, I still only hear ATC and that > >>> with frequency distortion. Did I miss a required library change? I > >>> have openal-0.0.9-0.15.20060204cvs.fc9.i386 and

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread dave perry
Erik Hofman wrote: > dave perry wrote: > >> dave perry wrote: >> >>> With an update this morning from cvs, I still only hear ATC and that >>> with frequency distortion. Did I miss a required library change? I >>> have openal-0.0.9-0.15.20060204cvs.fc9.i386 and >>> freealut-1.1.0-6.fc9.

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Erik Hofman
Erik Hofman wrote: > I've had a report that the latest *stable* version of OpenAL-Soft does > work properly while a developers release behaved just like you describe. > It would be nice if you would want to test the latest stable version. I do notice thought that in fly-by view engine sound can

Re: [Flightgear-devel] New Sound system committed

2009-10-21 Thread Erik Hofman
Scott Hamilton wrote: > On Tue, 2009-10-20 at 13:34 +0200, Erik Hofman wrote: >> I've committed a few fixes to SimGear and FlightGear again. >> Please report any progress (and if preferably any command line options >> if something fails). > rpm -qa | grep openal > libopenal0-soft-1.5.304-1.33 > o

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Scott Hamilton
On Tue, 2009-10-20 at 13:34 +0200, Erik Hofman wrote: > I've committed a few fixes to SimGear and FlightGear again. > Please report any progress (and if preferably any command line options > if something fails). > rpm -qa | grep openal libopenal0-soft-1.5.304-1.33 openal-soft-1.5.304-1.33 libo

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Durk Talsma
On Sunday 18 October 2009 11:04:24 am Erik Hofman wrote: > Durk Talsma wrote: > > When I start the CitationX, I hear the engine and other sounds. For > > several other aircraft, including the Cessna 172,and the Lockheed1049h, > > I don't hear anything. I also get the pops when starting and closin

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
leee wrote: > This doesn't apply when the source is approaching though, and I > wonder if the people writing the Open_AL code just thought the > effect was symmetrical i.e. if the pitch halves for a retreating > source then it should double for an approaching source. I thin k I know what the pr

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread leee
On Monday 19 Oct 2009, Erik Hofman wrote: [snip...] > The odd part is, Doppler is working for the F-16 and Fokker-100 > for example. It's as if OpenAL is limiting the total pitch to 2.0 > which means that AL_PITCH and Doppler combined can not be higher > than 2 times the normal playback frequency.

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
I've committed a few fixes to SimGear and FlightGear again. Please report any progress (and if preferably any command line options if something fails). Erik -- Come build with us! The BlackBerry(R) Developer Conference i

Re: [Flightgear-devel] New Sound system committed

2009-10-20 Thread Erik Hofman
dave perry wrote: > dave perry wrote: >> With an update this morning from cvs, I still only hear ATC and that >> with frequency distortion. Did I miss a required library change? I >> have openal-0.0.9-0.15.20060204cvs.fc9.i386 and >> freealut-1.1.0-6.fc9.i386 with fc10. >> >> > The above is

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread dave perry
dave perry wrote: > > With an update this morning from cvs, I still only hear ATC and that > with frequency distortion. Did I miss a required library change? I > have openal-0.0.9-0.15.20060204cvs.fc9.i386 and > freealut-1.1.0-6.fc9.i386 with fc10. > > > The above is on my desktop (Athlon X

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
In Debug : Still crashing on rumble.wav, still on SGSoundSample::free data : delete _data.release() is the culprit, albeit no problems in generating the al buffer for rumble.wav, etc. That's when the sample does the test if it's a file or not, and then deletes it in SGSoundManager::requestBuffer.

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Alan Teeder
Did another CVS update after reading this post and get same result as Nicolas Alan _ From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 19 October 2009 16:24 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] New Sound system committed AIPlane doesn&#

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
Still no proper sound, and I think (can't make an informed judgement, no expert on threading) we have some serious timing issues on init and startup, and not just on windows (people have reported the same kind of stuff on Linux) Deadlock in MP, have to kill fgfs with today's build (with code commen

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Matias D'Ambrosio
On Sun, Oct 18, 2009 at 12:59 PM, Geoff McLane wrote: > Hi Vivian, > >>> using anything other than the >>> latest build from Creative Labs? > > Well they could for example be using the openal-soft >  http://sourceforge.net/projects/openal-soft/ > which suggests it is version 1.2.??? And has a CVS

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Nicolas Quijano
AIPlane doesn't build here, a problem with conversion from a unsigned char* to the std::auto pointer thingy here : new SGSoundSample((unsigned char*)buf.c_str(), buf.length(), 8000 ); at line 204 Didn't get Alan's errors in SG 'though, even though I use the same compiler as him. Weird. On Mon,

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Alasdair Campbell
On Tue, 2009-10-20 at 00:07 +1300, James Sleeman wrote: > On 19/10/09 23:42, Erik Hofman wrote: > > Ok I think I've ironed out most of the bugs. I hope also the one that > > James reported but I don't hold my breath for it just yet. > > > > So far so good, compiles and runs, and produces sound

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread dave perry
James Sleeman wrote: > On 20/10/09 00:07, James Sleeman wrote: >> On 19/10/09 23:42, Erik Hofman wrote: >> >>> Ok I think I've ironed out most of the bugs. I hope also the one that >>> James reported but I don't hold my breath for it just yet. >>> >> >> So far so good, compiles and runs, a

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Geoff McLane
On Mon, 2009-10-19 at 13:13 +0200, Erik Hofman wrote: > Olaf Flebbe wrote: > > #elif defined(OPENALSDK) > > # include > > # include > > # include > > BTW this has also been committed like this. > > Erik Hi Erik, This is fine under OPENALSDK - any macro switch in a storm ;=)) Thank you. Now

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
James Sleeman wrote: > Seems to be working ok, a bit, umm, stuttery, sort of, particularly > background "wind", seemed to switch left-right a bit, but those problems > might just be me, maybe even just an illusion. Yeah that's probably doe to improper position or orientation.Still working on t

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Sleeman
On 20/10/09 00:07, James Sleeman wrote: On 19/10/09 23:42, Erik Hofman wrote: Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. So far so good, compiles and runs, and produces sound. Will try a short fligh

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
James Turner wrote: > On 19 Oct 2009, at 11:47, Erik Hofman wrote: > >> All in all it's best to leave it to the SoundManager when to free up >> the >> data. > > In which case, the external API should make it clear to users that > this is the policy. For example, require users to pass the buff

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Olaf Flebbe wrote: > #elif defined(OPENALSDK) > # include > # include > # include BTW this has also been committed like this. Erik -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only de

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Sleeman
On 19/10/09 23:42, Erik Hofman wrote: > Ok I think I've ironed out most of the bugs. I hope also the one that > James reported but I don't hold my breath for it just yet. > So far so good, compiles and runs, and produces sound. Will try a short flight and see if any problems crop up. --

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread James Turner
On 19 Oct 2009, at 11:47, Erik Hofman wrote: > All in all it's best to leave it to the SoundManager when to free up > the > data. In which case, the external API should make it clear to users that this is the policy. For example, require users to pass the buffer in as an auto-ptr or or sha

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Nicolas Quijano wrote: > Also, I see you replaced delete[], by delete in the sound sample destructor. > Shouldn't we just be setting to NULL, and not delete, leaving it to the > original creator of the data, since the original allocation is done > somewhere else ? > e.g _data never allocates, ju

Re: [Flightgear-devel] New Sound system committed

2009-10-19 Thread Erik Hofman
Ok I think I've ironed out most of the bugs. I hope also the one that James reported but I don't hold my breath for it just yet. Erik -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only d

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Nicolas Quijano
Damn, typoed. Meant, you want alGetString(error), not alGetErrorString(error). On Sun, Oct 18, 2009 at 3:55 PM, Nicolas Quijano wrote: > Hey Erik, since you're not sleeping yet, I think you wanted to commit > alGetError, not alGetErrorString. > > the error on exit would seem to be related to buf

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Olaf Flebbe
Hi Vivian, I was very busy these days, so I did not catch up with the mailing list in time ... I was in the impression that it would be wise to support Freds Build system, though not perfect but one can life with it. >>> Vivian Meazza wrote: Patched soundmgr_openal.cxx/hxx and sample_grou

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Nicolas Quijano
Hey Erik, since you're not sleeping yet, I think you wanted to commit alGetError, not alGetErrorString. the error on exit would seem to be related to buffer release (Invalid Operation) Also, I see you replaced delete[], by delete in the sound sample destructor. Shouldn't we just be setting to NULL

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
Nicolas Quijano wrote: > #if defined(ALUT_API_MAJOR_VERSION) && ALUT_API_MAJOR_VERSION >= 1 > msg.append(alutGetErrorString(error)); > #endif Shoot, that should also have been alGetError instead. It's fixed, thanks. Erik (now i need some sleep) --

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Nicolas Quijano
Hi Erik, I know, I erased my local changes, seeing you had changed it for alGetError, but didn't notice the call to alutGetErrorString just below it when I did my merge :) I did this to build (under fredb's third party lib, going to do a build with the regular openAL sdk after) #if defined(ALUT_A

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
Nicolas Quijano wrote: > Hi Erik, you should have committed the whole patch, as you broke > building under that system, which uses a bare bones alut (which is why > some of us have moved to the OpenAL SDK, plus I use it in other projects > locally, which use the standard no AL folder setup...) >

Re: [Flightgear-devel] New Sound system committed

2009-10-18 Thread Erik Hofman
Nicolas Quijano wrote: > I don't see why a WIN32 (we define WIN32, doesn't have to be _WIN32) is > such an anathema, seeing as there is one for Apple already. Frankly I don't care to include it, but there doesn't seem to be a consensus between windows developers which have to be sorted out befor

  1   2   >