Meh.tentus wrote:Yes, clearly.Taehl wrote:Do we really need yet another lewdly-named module?
TEsound - simple, easy sound/music manager
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: TEsound - simple, easy sound/music manager
Help us help you: attach a .love.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: TEsound - simple, easy sound/music manager
"Moan" is not lewd enough for my taste, and "pornomatopoeia" is not short enough. What a dilemma.Taehl wrote:The name "Moan" is already taken by a sound synth. Do we really need yet another lewdly-named module?
When I write def I mean function.
Re: TEsound - simple, easy sound/music manager
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:
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.
About a million times...load_pat > can not open /usr/local/share/timidity/timidity.cfg, use environment variable MMPAT_PATH_TO_CFG for the directory
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.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: TEsound - simple, easy sound/music manager
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.
*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.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Re: TEsound - simple, easy sound/music manager
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.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: TEsound - simple, easy sound/music manager
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.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: TEsound - simple, easy sound/music manager
Minor update, fixing a single rare bug which could cause Love to crash with no error message.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: TEsound - simple, easy sound/music manager
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.
Credit for this idea goes to nevon. Or bartbes. Or whoever.
Last edited by Taehl on Sun Jan 29, 2012 6:33 pm, edited 1 time in total.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: TEsound - simple, easy sound/music manager
Actually, credit for that should go to bartbes. I'm pretty sure he was the one who wrote our resource loader.Taehl wrote:Credit for this idea goes to nevon.
Re: TEsound - simple, easy sound/music manager
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!
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!
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests