I'm trying to both record to a file, and at the same time either play that file using the WaveInput plugin, or to pipe (or loop) the audio input to the plugin to allow for playing in different rooms.
My use case is as follows: I have a couple of Raspberry Pi's running pCP, one has LMS and a player, the other just the player. The LMS pi has a HiFiBerry DAC+ ADC Pro card that I'm using to record LPs in addition to running LMS. I'd like to both record to a file, and also make the stream available to LMS so I can play it in other rooms (somewhat) simultaneously. Playing and recording at the same time on the LMS pi is no problem, but bringing this to the plugin is a challenge for me. The following works fine on the LMS pi: 1. Using PuTTY I log on to the pi, cd to a mounted directory, and then do: arecord -f cd 1.wav 2. In an other command window also opened in PuTTY, I can then play this file while it's being recorded to a stereo hooked up to the pi using: aplay -f cd 1.wav What I can't do, is use the WaveInput to direct to the LMS after I start arecord, but the plugin works fine using default settings and unmodified .conf files when I'm not recording. Ideally, I'd like to be able to record to a file and at the same time listen to what is being recorded in another room. I don't care if there is some lag, but I don't want to record an entire album side, and then listen to the results after the fact - the idea is to be able to be located in another room and know within reason when it's time to stop recording, and start another side. Additional audio processing is taken care of later. Any help would be greatly appreciated. I'm linux ignorant, although I have managed to install and use pCP and the WaveInput without running into issues - I just don't seem to be able to do this one tweak. Thanks, Spiel1 ------------------------------------------------------------------------ Spiel1's Profile: http://forums.slimdevices.com/member.php?userid=71168 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
