LÖVE 0.7.0 beta released
Re: LÖVE 0.7.0 beta released
You know what should be added to 0.7.1? A way of modifying soundData. I want to make my own sounds.
Hello, I am not dead.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 0.7.0 beta released
I want to be able to grab information about the current song as it's playing the same way you can with that Flash "SoundManager" library that allows you to grab all the current channel data and other stuff so we could make games that depend on how the music is done, or visualizers for our games. Would be awesome stuff and make our games stand out.
For instance and example of what I mean, look at this:
http://www.nihilogic.dk/labs/
Many of those projects have equalizers. The 8 channels can be retrieved and the values used for whatever you want. This could be pretty useful and make some great effects in games.
For instance and example of what I mean, look at this:
http://www.nihilogic.dk/labs/
Many of those projects have equalizers. The 8 channels can be retrieved and the values used for whatever you want. This could be pretty useful and make some great effects in games.
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: LÖVE 0.7.0 beta released
zac352 wrote:You know what should be added to 0.7.1? A way of modifying soundData. I want to make my own sounds.
http://love2d.org/wiki/SoundData:setSample (before you create the source)
fellow lover vrld has an example usage or SoundData creation. http://github.com/vrld/Moan/blob/master/moan.lua
This is rather rudimentary, but this might be what you are talking about, http://love2d.org/wiki/Source:getPitch . Not sure how to get pitch's counterpart, amplitude, from the Source though.Jasoco wrote:I want to be able to grab information about the current song as it's playing the same way you can with that Flash "SoundManager" library that allows you to grab all the current channel data and other stuff so we could make games that depend on how the music is done, or visualizers for our games. Would be awesome stuff and make our games stand out.
Last edited by TechnoCat on Tue Oct 19, 2010 3:39 pm, edited 2 times in total.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 0.7.0 beta released
I'm not sure how the Flash-based SoundManager project works, but I always thought it'd be cool to get that data and play with it while the music was playing. Maybe you could create games where the levels changed based on the music.
Re: LÖVE 0.7.0 beta released
Mostly these kind of things are done with analyzing how much of a frequency is in the currently played bit of sound, the so called spectrogram analysis.Jasoco wrote:I'm not sure how the Flash-based SoundManager project works
To do that you need to transform the input data from time-space (a magnitude changing in dependency to time) to frequency space (magnitude in dependency of frequency), normally with a FFT. But i doubt that something like that should be in a framework like LÖVE...
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: LÖVE 0.7.0 beta released
So, if I am understanding this correctly, SoundData isn't represented by a frequency and amplitude, It has a frequency and pulse width table?vrld wrote:Mostly these kind of things are done with analyzing how much of a frequency is in the currently played bit of sound, the so called spectrogram analysis.
To do that you need to transform the input data from time-space (a magnitude changing in dependency to time) to frequency space (magnitude in dependency of frequency), normally with a FFT. But i doubt that something like that should be in a framework like LÖVE...
Re: LÖVE 0.7.0 beta released
No. SoundData is the samples itself: A representation of the sound wave that will be generated the speaker boxes. It's the thing you normally see in the windows wav editor, something like this:TechnoCat wrote:So, if I am understanding this correctly, SoundData isn't represented by a frequency and amplitude, It has a frequency and pulse width table?
But I think the conversation is starting to drift off topic...
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: LÖVE 0.7.0 beta released
Throw me in this category too. It would be nice in a future version. A large part of being an indie game developer is being experimental, and this would open up a world of audio experimentation.Jasoco wrote:I want to be able to grab information about the current song as it's playing ....
EDIT: http://bitbucket.org/rude/love/issue/91 ... and-source
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: LÖVE 0.7.0 beta released
I'm all for anything that lets us experiment. it's experimenting that lets indie games stand out. Like Braid's unique visual style with the amazing painted look that moves constantly to Fez's interesting pseudo-3D/2D approach.
Re: LÖVE 0.7.0 beta released
Hello all.
I've been trying LÖVE recently with my new-found knowledge of Lua and it seems very easy to use; the cross-platform capability and great performance on older hardware just being a major bonus. (plus free license!)
Seeing this topic I decided to give the 0.7.0 beta a try. For whatever reason however, my laptop seems to reject the executable, in which it attempts to load the window (the frame appears but the inside is transparent) and then gives me the Windows error message: "love.exe has encountered a problem and needs to close." Modifying any of the other files such as OpenAL32.dll as a few users have noted doesn't change this problem, though replacing the .exe with the version from 0.6.2 allows it to run just fine (though then it's not an update whatsoever).
For the heck of it I tried running 0.7.0 on my school's remote server. The exe runs (very slowly of course) showing the new no-game preview, but it will not run any games unless I replace OpenAL32.dll with the 0.6.2 dll. That should at least verify the file downloaded correctly though. (I downloaded it twice just to be certain)
Something tells me 0.7.0 will work just fine on my modern desktop at home, but most of my freetime exists while at college, in which I only have my laptop on me. Does anyone have any ideas why this is happening? If someone can explain how to post a dump of the crash, I'd be more than happy to paste the results.
Laptop specs (old I know; 0.6.2 runs amazing on it though )
Microsoft Windows XP Professional SP3
Mobile Intel Pentium 4 - M CPU 1.80GHz (512MB RAM)
Mobility Radeon 7500 (32MB VRAM)
EDIT: Just verifying that 0.7.0 does work on my desktop at home, without needing to mess with OpenAL32.dll whatsoever.
I've been trying LÖVE recently with my new-found knowledge of Lua and it seems very easy to use; the cross-platform capability and great performance on older hardware just being a major bonus. (plus free license!)
Seeing this topic I decided to give the 0.7.0 beta a try. For whatever reason however, my laptop seems to reject the executable, in which it attempts to load the window (the frame appears but the inside is transparent) and then gives me the Windows error message: "love.exe has encountered a problem and needs to close." Modifying any of the other files such as OpenAL32.dll as a few users have noted doesn't change this problem, though replacing the .exe with the version from 0.6.2 allows it to run just fine (though then it's not an update whatsoever).
For the heck of it I tried running 0.7.0 on my school's remote server. The exe runs (very slowly of course) showing the new no-game preview, but it will not run any games unless I replace OpenAL32.dll with the 0.6.2 dll. That should at least verify the file downloaded correctly though. (I downloaded it twice just to be certain)
Something tells me 0.7.0 will work just fine on my modern desktop at home, but most of my freetime exists while at college, in which I only have my laptop on me. Does anyone have any ideas why this is happening? If someone can explain how to post a dump of the crash, I'd be more than happy to paste the results.
Laptop specs (old I know; 0.6.2 runs amazing on it though )
Microsoft Windows XP Professional SP3
Mobile Intel Pentium 4 - M CPU 1.80GHz (512MB RAM)
Mobility Radeon 7500 (32MB VRAM)
EDIT: Just verifying that 0.7.0 does work on my desktop at home, without needing to mess with OpenAL32.dll whatsoever.
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests