Search found 9 matches
Re: New Icons
Looks awesome!
- Fri Jan 22, 2016 5:56 pm
- Forum: Support and Development
- Topic: [SOLVED] How do check audio BPM?
- Replies: 6
- Views: 5359
Re: How do check audio BPM?
Oops, my bad. Fixed.zorg wrote:zikesha93 wrote:(and it was wrong, since it was missing a pair of parentheses around the "getBitDepth / 8" part)
- Fri Jan 22, 2016 3:23 am
- Forum: Support and Development
- Topic: [SOLVED] How do check audio BPM?
- Replies: 6
- Views: 5359
Re: How do check audio BPM?
Wow, I didn't even know that existed lol.zorg wrote: Or, you know, with [wiki]SoundData:getDuration[/wiki]
- Thu Jan 21, 2016 10:49 pm
- Forum: Support and Development
- Topic: [SOLVED] How do check audio BPM?
- Replies: 6
- Views: 5359
Re: How do check audio BPM?
Getting the BPM would require an FFT module. You can get the soundData's length in seconds with this formula:
Code: Select all
soundData:getSize() / soundData:getSampleRate() / soundData:getChannels() / (soundData:getBitDepth() / 8)
- Tue Jan 19, 2016 1:40 am
- Forum: Support and Development
- Topic: Help Separate 2 Objects
- Replies: 3
- Views: 2597
Re: Help Separate 2 Objects
Thanks for the solutions guys! I prefer zorg's method because yes, I don't have to rework a lot of things; but I also appreciate your suggestion 0x29a!
- Mon Jan 18, 2016 5:54 pm
- Forum: Support and Development
- Topic: Help Separate 2 Objects
- Replies: 3
- Views: 2597
Help Separate 2 Objects
Using a constructor for an entity class, I created a player and an enemy and separate move functions for them. The player is supposed to move by user input(arrow keys), and the enemy is supposed to move by itself randomly; however, both move functions are called on the player, so the player will mov...
- Sat Jun 20, 2015 2:20 am
- Forum: General
- Topic: LOVE users map
- Replies: 182
- Views: 135420
Re: LOVE users map
San Jose, California, US
- Fri Jun 19, 2015 3:21 am
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1234192
- Thu Jun 18, 2015 4:41 am
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1814
- Views: 1793851