Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (426)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 6 7 [8]
  ignore  |  Print  
  3D Sound Engine  (Read 75402 times)
0 Members and 1 Guest are viewing this topic.
Offline gouessej

« In padded room »



TUER


« Reply #210 - Posted 2012-09-20 00:15:52 »

Teletubo, I assume you use JavaSound with this library. I don't have this problem with the plugin based on JOAL 1.1.3. Maybe someone can suggest a solution allowing to keep the JavaSound plugin. Have you tried to create a new source each time or to change the position a very little bit each time you play your sound sample?

Offline paulscode

Senior Member


Medals: 11


Staff Sergeant


« Reply #211 - Posted 2012-09-25 17:29:26 »

Hey, teletubo, sorry I have been busy with other projects lately and haven't been on the forum here for some time.  I tend to start too many projects to keep up with, and some end up taking a back burner for a while.

Anyway, this problem is caused by the fact that Oracle decided to remove the built-in Java Sound software mixer.  At some point when I have time to finish my own mixer I started a while back, I'll be able to fix the problem.  If someone has already completed a similar project let me know, and I'll look into creating a new plug-in to use it.

We love death.  The US loves life.  That is the difference between us.  -Osama bin Laden, mass murderer
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #212 - Posted 2012-09-25 18:25:43 »

Okay, thanks paul. I think I'll go for gouessej's suggestion and use an OpenAL Plugin to be sure that it will always work. 

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline msiggy

Senior Newbie





« Reply #213 - Posted 2013-03-06 17:23:43 »

I'm back with the same problem I was having before.

I have an .ogg file which is about 3k in size and 3 minutes in length. When I load this file with 'soundSystem.loadSound(filename)' It takes up a huge amount of memory ( 800mb) in my application. Whats weird is that if I don't load it and just play it with soundSystem.backgroundMusic(), it takes up a normal amount of memory. This activity only seems to happen with certain .ogg files, some other ones I have work fine. It seems like there is something weird in the loadSound() method. Or perhaps my file has some funny attribute that isn't playing nice. Let me know if you want a copy of the .ogg file and I will send it to you. I cant put a link here because the sound is proprietary.

Thanks Paul,
Mike
Offline Quarry
« Reply #214 - Posted 2013-03-07 21:20:07 »

I don't know if anyone can help me with this but I'm getting this output when I run an exported JAR, sound works when I run through Eclipse but not when I run through the JAR

http://i.imgur.com/wfrT5vy.png
Pages: 1 ... 6 7 [8]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (74 views)
2014-04-15 18:08:23

BurntPizza (68 views)
2014-04-15 03:46:01

UprightPath (80 views)
2014-04-14 17:39:50

UprightPath (65 views)
2014-04-14 17:35:47

Porlus (81 views)
2014-04-14 15:48:38

tom_mai78101 (105 views)
2014-04-10 04:04:31

BurntPizza (165 views)
2014-04-08 23:06:04

tom_mai78101 (261 views)
2014-04-05 13:34:39

trollwarrior1 (210 views)
2014-04-04 12:06:45

CJLetsGame (220 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!