Search found 4 matches

by manadream
Fri Oct 11, 2019 7:38 pm
Forum: Support and Development
Topic: More granular control of music loops and using tracker files
Replies: 11
Views: 2435

Re: More granular control of music loops and using tracker files

Alright, so I was able to make some modifications to my code based on people's replies (like putting it all on a separate thread and whatnot) and I met all my requirements for looping and music control in general. The last bit that solved it was knowing that decoder:seek() takes seconds not samples,...
by manadream
Tue Oct 08, 2019 6:20 am
Forum: Support and Development
Topic: More granular control of music loops and using tracker files
Replies: 11
Views: 2435

Re: More granular control of music loops and using tracker files

Oh, I see. Then my problem is that I'm calling seek with samples instead of seconds. That's super helpful to know, thanks. I'll change that and see how it works.
by manadream
Tue Oct 08, 2019 2:08 am
Forum: Support and Development
Topic: More granular control of music loops and using tracker files
Replies: 11
Views: 2435

Re: More granular control of music loops and using tracker files

Thanks to you both for the information. It was very helpful. So I modified the code in this thread to meet my needs for looping, and that worked perfectly. mSource = love.sound.newDecoder('path/to/music/song.mp3', 2048) -- Default, but this should be smaller, imo. qSource = love.audio.newQueueableSo...
by manadream
Sat Oct 05, 2019 11:20 pm
Forum: Support and Development
Topic: More granular control of music loops and using tracker files
Replies: 11
Views: 2435

More granular control of music loops and using tracker files

Hello all, I've been developing on Love for the last 6 months or so and I love it (no pun intended). However, I have so far been unable to accomplish what I am wanting to do in regards to controlling music, specifically controlling the looping of it, and I am also wondering if anybody knows of a way...