Author Topic: 3D Sound System  (Read 184368 times)

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #405 on: August 11, 2011, 08:22:34 pm »
I don't have a computer with Windows on it here, just a netbook with Ubuntu (I'm currently on TDY and won't be back home until mid September).  Could you send me the test file?

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #406 on: August 12, 2011, 02:38:42 am »
Here it is: (Link removed).
« Last Edit: August 12, 2011, 07:00:29 pm by AGP »

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #407 on: August 15, 2011, 09:55:36 pm »
I thought I would give a quick progress update on SoundSystemAE.  I'm currently working out some stability issues with the part of the library that reads from the app's compressed assets.  This is kind of essential because without it, apps would require access to the sdcard and have the audio files placed there.  That is a limitation I would like to avoid if at all possible, since not all Android devices even have an sdcard, and nobody likes adding extra permissions to their app if they don't have to.

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #408 on: August 15, 2011, 11:21:03 pm »
Awesome, although I have to say my particular program uses SD card to store before playing back the sound. Any chance I can try it out?

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #409 on: August 16, 2011, 12:23:53 am »
Sure, I'll post what I have so far.  Let me clean it up a bit first.. I'll upload it shortly.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #410 on: August 16, 2011, 02:47:01 am »
Unfortunately, I seem to have broken something - Tremolo is crashing after decoding ten or so blocks of data.  I have to go to work tonight, so I won't be able to fix it until tomorrow afternoon.  I apologize for the delay.

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #411 on: August 16, 2011, 02:51:01 am »
Thanks for trying, I'll be around tomorrow. :- )

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #412 on: August 16, 2011, 10:02:37 pm »
I've been diagnosing the problem a bit.  It looks to be the exact same behavior that I was getting with decoding the compressed files, now happening when decoding uncompressed files.  To rule out any file reading as the cause, I've even read the file contents entirely with Java, and passed the encoded data to the native library to decode, but I still get the same behavior.  This is really perplexing, because the latter case is virtually identical to what I did in the ALAN demo, and it worked fine there (same file and everything).  I'll continue trying to track down what has changed.  I'd guess it is most likely a pointer or memory allocation issue.  Apparently I've gotten too dependent on Java and forgotten how to use c/c++ :-[

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #413 on: August 17, 2011, 12:18:30 am »
Sounds like a nightmare. Thanks for the update.

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #414 on: August 18, 2011, 11:30:34 pm »
Paul, have you any news? Thanks in advance.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #415 on: August 24, 2011, 01:24:29 am »
Sorry, I've been tracking down a problem with another one of my projects.  I'm back to working on this one again.  I'll post an update once I figure out what's causing my problem.  I'm going to start with the working decoder, and work my way back to what I have now, to try and figure out where things break.

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #416 on: August 25, 2011, 11:40:40 pm »
I'm glad you're back on it. Please keep us posted.

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #417 on: August 29, 2011, 08:55:07 pm »
LibraryJOAL, Version update

JOAL library plug-in

- Fixed JOAL package name from the old net.java.games.joal to the new com.jogamp.openal.

Offline AGP

  • quad
  • ******
  • Posts: 1524
    • View Profile
Re: 3D Sound System
« Reply #418 on: August 30, 2011, 12:15:36 am »
Cool, thanks. By the way, did you ever figure out why my wav file wouldn't play?

Offline paulscode

  • double
  • *****
  • Posts: 863
    • View Profile
    • PaulsCode.Com
Re: 3D Sound System
« Reply #419 on: August 30, 2011, 01:11:51 am »
Not yet, I've been putting out a lot of brush fires with several of my projects for the past couple weeks.. I may have too many projects going at once, haha.  It is definitely in the queue  ;D