Search found 3 matches

by jseb
Fri Aug 02, 2013 9:06 pm
Forum: Support and Development
Topic: Extracting score informations in a played soundtrack
Replies: 3
Views: 2613

Re: Extracting score informations in a played soundtrack

Querying for file metadata at loading won't help. I could extract the score part of the file quite easily, and put in in a Lua table. The problem is to know the location in the score while playing. Love functions work on a sound stream, that is, the file is already decoded. At this stage, it's too l...
by jseb
Fri Aug 02, 2013 2:22 pm
Forum: Support and Development
Topic: Extracting score informations in a played soundtrack
Replies: 3
Views: 2613

Extracting score informations in a played soundtrack

Hello, I use soundtracked music. The structure of those files (.xm, .mod, .it ...) is interesting for synchronizing events in a game. That is, as it's basically a score interpreted with embedded sampled instruments, you can extract a lot of informations during the play. (when you have access to the ...
by jseb
Fri Aug 02, 2013 9:25 am
Forum: Support and Development
Topic: Optional arguments in the API
Replies: 1
Views: 1344

Optional arguments in the API

Hello, Seeking how i could get the currently played notes and instruments in a soundtrack module, i've landed on this page: https://www.love2d.org/wiki/Source:tell It seems a bit high-level for what i want to get, but i've noticed that the argument is optional (i was reading source at the same time)...