Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (739)
Games in Android Showcase (224)
games submitted by our members
Games in WIP (820)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  EasyOgg nowhere to be found.  (Read 6437 times)
0 Members and 1 Guest are viewing this topic.
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Posted 2015-05-04 03:47:14 »

I've been trying to find a sound system that I am able to get working, and I see many forum posts that recommend EasyOGG. One problem. EasyOGG is nowhere to be found. It seems that the creator has deleted it, as every link to it results in a 404. Is there any remaining place I can find it or is it gone for good?
Offline philfrei
« Reply #1 - Posted 2015-05-04 05:12:46 »

I'm not familiar with EasyOgg. But maybe I can help with recommending another library. What are you hoping to use it for? Java desktop? Android/iOS? What does it have to be capable of handling?

music and music apps: http://adonax.com
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #2 - Posted 2015-05-04 05:55:34 »

Java desktop, and it needs to be capable of playing sounds and music. It doesn't matter what format. It also needs to be something that someone who isn't too experienced can use.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #3 - Posted 2015-05-04 13:40:11 »

I recommend Paul Lamb Sound Library. It has a codec for Ogg. It has several backends for desktop environments, I use its JOAL plugin unlike Minecraft.

Julien Gouesse | Personal blog | Website | Jogamp
Offline Cero
« Reply #4 - Posted 2015-05-04 15:33:41 »

I do have it and could upload it, but its really ancient.

I use OpenAL through libgdx.

Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #5 - Posted 2015-05-04 15:41:58 »

There's also TinySound.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1313
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2015-05-04 15:59:13 »

Major issue with TinySound is that it cannot stream from the audio source, which means it decompresses the entire file during init (can add significant delays), and holds all uncompressed samples in memory throughout playing the file (this can easily be hundreds of MBs).

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #7 - Posted 2015-05-04 16:47:33 »

Major issue with TinySound is that it cannot stream from the audio source

Quote
public static Music loadMusic(File file, boolean streamFromFile)

?

(I haven't looked at the source, is it broken or something?)
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #8 - Posted 2015-05-04 19:10:40 »

I've already tried the Paulscode sound system and it refuses to load sound. It was initializing correctly, but sound was not loading. I'll go give it another shot so I can paste the error code.
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #9 - Posted 2015-05-04 19:23:32 »

Quote
Error in class 'LibraryJavaSound'
    Unable to open file 'wnw.ogg' in method 'loadSound'
Error in class 'LibraryJavaSound'
    Source 'Source_-966649905_539347467' was not created because an error occurred while loading wnw.ogg
Error in class 'LibraryJavaSound'
    Source 'Source_-966649905_539347467' not found in method 'play'

Is there a specific place where I'm supposed to put the file or...?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #10 - Posted 2015-05-04 19:43:57 »

Quote
Starting up SoundSystem...
Initializing No Sound
    (Silent Mode)

That's some progress, sort of.

      System.out.println("Loading sound...");
      ///sound initialization start///          
      SoundSystem soundSystem = new SoundSystem();
      soundSystem.backgroundMusic("Test", "wnw.ogg", true);
      ///sound initialization end///
      System.out.println("Sound loaded successfully...");

Offline Riven
Administrator

« JGO Overlord »


Medals: 1313
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2015-05-04 19:59:03 »

@BurntPizza: apparently it has been fixed... nice. I haven't tried it in over a year.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #12 - Posted 2015-05-04 20:12:07 »

Thanks for suggesting TinySound. It's the only thing that I've managed to get working so far.
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #13 - Posted 2015-05-04 20:41:17 »

I have one last question involving TinySound. Is there a way to stop a song when it's in the middle of playing so another one can play?
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #14 - Posted 2015-05-04 20:43:59 »

Music has stop() and pause() depending on what you need.
Sound has stop().
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #15 - Posted 2015-05-04 20:55:25 »

Music has stop() and pause() depending on what you need.
Sound has stop().

Thanks again. This'll help me a lot.
Offline philfrei
« Reply #16 - Posted 2015-05-04 22:17:21 »

I was going to suggest TinySound, too.

Does it output via OpenAL? I thought it used the javax.sound.sampled library, and wasn't running on Android/iOS as a consequence. Am I wrong about that?

I didn't know TinySound integrates with LibGDX and OpenAL. Use of these two implies that the OP is interested in publishing on all three platforms.

music and music apps: http://adonax.com
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #17 - Posted 2015-05-04 22:25:12 »

Does it output via OpenAL? I thought it used the javax.sound.sampled library, and wasn't running on Android/iOS as a consequence. Am I wrong about that?

You are correct. He said he was interested in desktop, so TS should be sufficient.
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #18 - Posted 2015-05-04 22:26:22 »

Does it output via OpenAL? I thought it used the javax.sound.sampled library, and wasn't running on Android/iOS as a consequence. Am I wrong about that?

You are correct. He said he was interested in desktop, so TS should be sufficient.
At the moment I'm focusing on making somewhat small java games for the PC, so this does everything I want it to do.
Offline philfrei
« Reply #19 - Posted 2015-05-04 23:25:56 »

I'm busy learning Android and have the following plan/goal-->writing a Java library that handles the mixing of tracks, some signal processing effects, some soft synths, and event system, and some provisions for things like creating soundscapes with aleatoric elements and branching of sound/music based on game state. (Much of the preceding is now working.) It will be structured to allow either a javax or Android adaptor to be used with it to isolate and handle interfacing with the native code for the two systems.

When I make more progress, I'll make an announcement in the Audio area. Am pleased so far just to have gotten over the hump with learning how to bring a Java jar/library into Android, and to have gotten a working Android Studio/Linux system, with emulators using an accelerator working. Probably still a month away, though. Android development has proved to have a steep learning curve.

Glad to hear TinySound is working. It is a nifty and very helpful library. I suspect it could be optimized a bit, though for cpu usage. Be sure to test as you add more sounds to the system, as it may start clicking and dropping out depending on how hard you push it. Some folks have mentioned problems with this, but I think if you keep your cues simple you will be fine.

music and music apps: http://adonax.com
Offline Vulpicula

Senior Newbie


Exp: 7-9 months



« Reply #20 - Posted 2015-05-05 00:01:47 »

Glad to hear TinySound is working. It is a nifty and very helpful library. I suspect it could be optimized a bit, though for cpu usage. Be sure to test as you add more sounds to the system, as it may start clicking and dropping out depending on how hard you push it. Some folks have mentioned problems with this, but I think if you keep your cues simple you will be fine.

At the most I'm just playing a single piece of music and sound effect at a time, so I'm hoping it can handle it.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 
Ecumene (48 views)
2017-09-30 02:57:34

theagentd (72 views)
2017-09-26 18:23:31

cybrmynd (182 views)
2017-08-02 12:28:51

cybrmynd (180 views)
2017-08-02 12:19:43

cybrmynd (187 views)
2017-08-02 12:18:09

Sralse (193 views)
2017-07-25 17:13:48

Archive (744 views)
2017-04-27 17:45:51

buddyBro (876 views)
2017-04-05 03:38:00

CopyableCougar4 (1423 views)
2017-03-24 15:39:42

theagentd (1316 views)
2017-03-24 15:32:08
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!