Re: [Audacity-devel] Mod-Script-Pipes, Seeking recommendation for named pipes demo program, instead
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: <ext...@no...> - 2009-09-30 17:37:38
|
Hello Apologise if this is slightly off-topic, but this seems to be the closest... I have developed a loadable module similar to mod-script-pipe, which opens a bi-directional windows pipe allowing communication and control of the start and end markers of the currently selected audacity project. This pipe allows us to play/view a wav file in audacity and automatically sync positions in that wav file with the corresponding messages in a log file of an audio device which generated the wav files. The log file is viewed in another (proprietary) program developed in c#/.net which is at the other end of the pipe. This is different to mod-script pipe. It uses a different named pipe in fact. I am not sending audio processing commands to Audacity, just reading and setting its xstart and xend markers. But the ability to do this may possibly be of interest to others. Possible disadvantages - windows only at the moment(see below) - processor loading from the pipe activity (although still able to play tracks, playback is sometimes stopped by the background pipe activity) On the other hand the loadable dll can be removed if the pipe activity is causing interference. I developed this on Audacity 1.3.6 (downloaded from the web, not CVS - which I never managed to get working) but I would now like to port this code to the latest 1.3.10? and submit the code in be incorporated into future releases. All my development has been on windows xp sp3. Never tested on linux or mac, and windows pipes is alas very windows specific. Would this feature be of wider interest? Regards David Wallace -----Original Message----- From: ext John Martin Goddard [mailto:jmg...@sy...] Sent: Saturday, September 26, 2009 5:46 AM To: aud...@li... Subject: Re: [Audacity-devel] Mod-Script-Pipes, Seeking recommendation for named pipes demo program, instead of Perl script Hello Audacity Developers, and especially Mr. Dan Horgan, master of Mod-Script-Pipe, I'm back working again with 1.3.10 downloaded 24 Sept, 6:13 EST, thanks for the update. I'm stuggling in getting named pipe interfacing to function from within a stand-alone application, rather than from the Perl script. Can anyone recommend a working demo application which uses named pipes to send commands to Audacity? I've found several Named Pipe demos, none of which seem to work as is, and I can't figure out what parameters are set incorrectly. If something known to work is out there, it would save me a lot of further experimentation, trial and error, and time. Some details, if interested: Using NamedPipes from http://ivanweb.com/downloads/dotnet.cfm gets bewildered trying to flush the "ToSrvPipe" pipe to Audacity. If I quit Audacity from this state, then my program comes back with the "Error Reading from Pipe, Internal Error 109". After this problem occurs, I no longer can successfully run Perl scripts without first restarting Audacity. While many mysteries remain, I'm pretty sure I at least have the pipe name correct, because there is at least incorrect behavior, whereas without the correct name, there isn't any behavior at all... Any recommendation or prototype solution is welcome. If none exists, then I will be happy to post my prototype if I can get it working. Thanks and Best Regards, Marty ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ audacity-devel mailing list aud...@li... https://lists.sourceforge.net/lists/listinfo/audacity-devel |