Page 3 of 6

Re: TEsound - simple, easy sound/music manager

Posted: Fri Jan 14, 2011 6:52 am
by Robin
tentus wrote:
Taehl wrote:Do we really need yet another lewdly-named module?
Yes, clearly. :nyu:
Meh.

Re: TEsound - simple, easy sound/music manager

Posted: Fri Jan 14, 2011 10:10 am
by kikito
Taehl wrote:The name "Moan" is already taken by a sound synth. Do we really need yet another lewdly-named module?
"Moan" is not lewd enough for my taste, and "pornomatopoeia" is not short enough. What a dilemma.

Re: TEsound - simple, easy sound/music manager

Posted: Thu Feb 24, 2011 12:34 pm
by FinalSin
Hey folks, I'm using TEsound and it's really wonderful, but I've just tried to get it to run a midi file and it's sounding rather odd indeed. Here's what the console had to say:
load_pat > can not open /usr/local/share/timidity/timidity.cfg, use environment variable MMPAT_PATH_TO_CFG for the directory
About a million times...

I'm on Mac. The code was:

TEsound.playLooping({"music1.mid", "music2.mid", "music3.mid"}, "music")

It might be a problem my end, just throwing it out there.

Re: TEsound - simple, easy sound/music manager

Posted: Thu Feb 24, 2011 7:57 pm
by Taehl
Hm, never tried using a MIDI file before...

*Does so* ACK! *Shuts it off quickly*

It sounds to me like Love ignores channel volume levels when playing MIDI. I don't think it's a problem with TEsound, since file decoding and stuff is handled by Love. I even tried completely removing TEsound's volume control, just in case, but it didn't do any good. I'll submit this problem to the issue tracker. Thank you for finding it.

In the meantime, I guess your best option would be to convert your .midi files to either .it or .ogg.

Re: TEsound - simple, easy sound/music manager

Posted: Fri Feb 25, 2011 10:57 am
by FinalSin
No problem, happy to be of some kind of service. TEsound is amazing, it's completely solved every sound problem I've had with my games. Thanks a lot. :)

Re: TEsound - simple, easy sound/music manager

Posted: Fri Mar 04, 2011 8:17 am
by Taehl
I just updated TEsound, to fix an outrageously sneaky pair of bugs. You could go for months without ever noticing them (I, myself, did, and I wrote the bloody thing!), but updating won't hurt. Grab it here.

Re: TEsound - simple, easy sound/music manager

Posted: Thu Mar 17, 2011 12:16 am
by Taehl
Minor update, fixing a single rare bug which could cause Love to crash with no error message.

Re: TEsound - simple, easy sound/music manager

Posted: Sun Jan 29, 2012 3:16 pm
by Taehl
Another minor update: Now TEsound can work with SoundData, not just filepaths. Whether or not to use this is a performance tradeoff - I, personally, would recommend storing sound effects as SoundData but leaving music as filepaths. Download link is on the first page of this thread, the wiki, and here.

Credit for this idea goes to nevon. Or bartbes. Or whoever.

Re: TEsound - simple, easy sound/music manager

Posted: Sun Jan 29, 2012 3:59 pm
by nevon
Taehl wrote:Credit for this idea goes to nevon.
Actually, credit for that should go to bartbes. I'm pretty sure he was the one who wrote our resource loader.

Re: TEsound - simple, easy sound/music manager

Posted: Sat Apr 14, 2012 6:41 pm
by samhay18
Hi,
I downloaded this lib and i'm not sure if i'm doing something wrong. I have a two tags, "music" and "sfx" tagged with TEsound.play . When I go to tagVolume of those two tags to a specific volume it doesn't do anything. I looked through the code and found that TEsound.volumeLevels never has any contents inside it. Am I tagging the sounds wrong? Thanks though since the rest works so well!