Here's one of my upcoming questions that I promised earlier. I'd like to find a way to give rosegarden a signal to start recording and stop recording from outside of rosegarden - that is, from another program. (I may also want to do this for playing as well, but recording is more important to me.) (This request probably belongs in the devel list, so I've added that to the To: line.)
I have a simple method in mind, that, from an RG developer's perspective, might appear to be brain-damaged, but I'll state it anyway in case it might have some merit: I've actually gotten the above functionality to partially work by first hitting the record button and then immediately sending RG a STOP signal (with kill or pkill). Then, when I'm ready to proceed, I send a CONT signal. When I want to stop recording again (but keep the current position), I send another STOP signal, etc. This partially works in that the GUI stops, but when it resumes - with the CONT signal - it has progressed as if it had still been going and starts recording in this "new" location. In other words, the bar that indicates the current position jumps forward - I presume, to where it would have been if I hadn't "stopped" it and, as well, any notes that have already been recorded don't sound while it is "stopped" and are skipped over; i.e., the GUI stops, but the timing appears to continue while everything else is stopped. What I'd like to see is the STOP signal causing everything to stop so that when a CONT signal is sent, recording is resumed at the exact same point where it stopped. I've not looked at the code (except to glance at it briefly years ago), so I've no idea if this is a reasonable request, a very difficult request, or whatever. But I thought I'd throw it out just in case. I'm not aware if RG has some other mechanism for program control (such as, say, a socket listening for incoming connections and requests), but I suspect it doesn't. That would probably be a cleaner way to implement the functionality I'm looking for; but I suspect it would be a good deal of work. Comments? Thanks. Jim ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
