Hi,

i'd like to let the user input a wavefile's tempomap by "tapping" along
while the file plays.

This would be a trivial task in a dedicated program.
Just create a jack client, create a wave output (attach it to
system_output), create a midi input (attach it to whatever the user likes).

Then play back the file, and whenever there's a certain NOTE ON event in
the midi input port, write its timestamp into a buffer.

When playback has finished, stop the jack client, and translate the
list-of-timestamps into a tempomap.
(Interpret it as: each timestamp is one "beat".)



So far, so easy. But how could i integrate this with MusE? I guess MusE
does not allow for something as simple as "just write this out to jack",
right?

Do you think i should somehow tightly integrate this with MusE, e.g. in
Audio::process()?
I don't like this idea much, because i had to turn process() into a
state machine then, but what do you think? Tim, Robert, anyone else?

Or should i just implement this as external program, or at least as
dedicated audio client?

I mean, I can create a new jack_client from the GUI, and register its
own callback to it, and then destroy this client when done.





I'm not sure whether I favour the "create a new client from within MusE"
solution or the "write a standalone program with a GUI".

What do you think?

Cheers,
flo

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to