Drew I'm running Rivendell on one Pi3 and routing uncompressed audio over ethernet (i'm using a crossover cable, you can use an ethernet switch) with netJACK to another Pi3 (i call it stream machine).
Running Jamin for processing and butt for streaming to my icecast server (vps at NYC). I cannot use icecast server in my home network because of uploading problems. p.s.: you should set your cpu governor to 'performance' for use Jamin without clipping and interrupting sound. and always use ethernet, i experienced some connection problems in netJACK via WiFi. *Emir YAPICI* On Thu, Jan 19, 2017 at 12:50 AM, drew Roberts <[email protected]> wrote: > Well, > > I got it all working but not acceptably. > > rdairplay ran fine. stereo tool did its thing but not continuously. The > sound would play fine for a while and then I would get silence and then > some time later, sound would play again. > > lather. > rinse. > repeat... > > Thanks for the help/input. > > Now I need to scare up a workable solution. Perhaps one of the > intel-instruction set based pi sized boards... > > Anyone doing something like this? I figure I need to have each box play > one log from rdairplay, process with stereo tool, and feed to glasscoder > (all via jack) to send to icecast on another box. (Perhaps, if the box has > enough oomph to spare, to icecast on the same box.) > > And I need these boxes to be small enough to fit at least 3 in a 1u sized > space in a rack. > > Well, that is one approach. I am looking at other ways to solve the main > problem as well. > > all the best, > > drew > > On Wed, Jan 18, 2017 at 4:07 PM, Wayne Merricks < > [email protected]> wrote: > >> rivendell_0 >> >> with ports like: >> >> playout_0L >> playout_0R >> playout_1L etc >> >> then on the record side ports: >> >> record_0L etc >> >> On 2017-01-18 21:01, drew Roberts wrote: >> >>> Emir, >>> >>> On Wed, Jan 18, 2017 at 3:59 PM, Emir Yapıcı <[email protected] >>> [28]> wrote: >>> >>> Hello Wayne >>>> >>>> I dont know why but in Raspbian, rivendell init service is not >>>> running on startup. So i always have to mkdir /var/run/rivendell or >>>> start service manually... >>>> >>>> Drew >>>> >>>> I disabled the alsa outputs from rdalsaconfig and not starting jack >>>> via rdadmin. First starting jack via qjackctl and then running >>>> daemons. >>>> >>> >>> Great. when you do this, how does riv show in the jack graph? riv0, >>> riv1, something else? >>> >>> all the best, >>> >>> drew >>> >>> EMIR YAPICI >>>> >>>> On Wed, Jan 18, 2017 at 10:46 PM, Wayne Merricks >>>> <[email protected] [25]> wrote: >>>> >>>> As an alternative run QJackCtl if you have a GUI and set up the >>>>> start up scripts that way (it also allows you to use patch bay to >>>>> autoconnect jamin, Riv to system and whatever else you might >>>>> use). You still need to chmod -s the Riv daemons however I dont >>>>> suggest deleting the Rivendell init service because then on each >>>>> boot you have to create /var/run/rivendell and chown it as the >>>>> super user (some distros dont delete the contents of /var/run but >>>>> >>>>> Debian/Ubuntu does). >>>>> >>>>> The easiest thing to do is kill the daemons in your jack script >>>>> pre-start and in post start load the daemons up again. This is >>>>> as easy as: >>>>> >>>>> #pre-start >>>>> killall caed ripcd rdcatchd >>>>> >>>>> #post-start >>>>> /usr/local/bin/caed& >>>>> /usr/local/bin/ripcd& >>>>> /usr/local/bin/rdcatchd& >>>>> >>>>> Regards, >>>>> >>>>> Wayne >>>>> >>>>> On 2017-01-18 20:34, Emir Yapıcı wrote: >>>>> >>>>> Hi Drew! >>>>>> >>>>>> Ive tried stereotool on rpi2 but not so efficient because of >>>>>> performance issues, now using Jamin on rpi3. >>>>>> >>>>>> First step: >>>>>> >>>>>> sudo chmod -s /usr/local/bin/caed >>>>>> sudo chmod -s /usr/local/bin/ripcd >>>>>> sudo chmod -s /usr/local/bin/rdcatchd >>>>>> >>>>>> (Thanks Lorne) >>>>>> >>>>>> You will do this just once. >>>>>> >>>>>> And then create a script for jack execute After Startup; >>>>>> >>>>>> sudo mkdir -m 770 /var/run/rivendell >>>>>> sudo chown -R pi:rivendell /var/run/rivendell >>>>>> caed >>>>>> >>>>>> rdcatchd >>>>>> >>>>>> ripcd >>>>>> >>>>>> sleep 2 >>>>>> >>>>>> exit 0 >>>>>> >>>>>> You can use this only if rivendell daemons are not running on >>>>>> startup. >>>>>> >>>>>> EMIR YAPICI >>>>>> >>>>>> On Wed, Jan 18, 2017 at 10:08 PM, drew Roberts >>>>>> <[email protected] [11] >>>>>> [11]> wrote: >>>>>> >>>>>> Emir, >>>>>>> >>>>>>> On Sun, Jan 15, 2017 at 3:51 PM, Emir Yapıcı >>>>>>> <[email protected] [8] >>>>>>> [8]> wrote: >>>>>>> >>>>>>> Thats now working by combining your and my method (for >>>>>>>> Raspbian). >>>>>>>> >>>>>>> >>>>>>> Can you document your full procedure that ended up working, I >>>>>>> am >>>>>>> actually trying to get this to work now so that I can try >>>>>>> stereo >>>>>>> tool with Riv on the Pi: >>>>>>> >>>>>>> https://www.youtube.com/watch?v=tVCw59m_DnA [9] [9] >>>>>>> >>>>>>> all the best, >>>>>>> >>>>>>> drew >>>>>>> >>>>>>> Thanks Lorne! >>>>>>>> >>>>>>>> EMIR YAPICI >>>>>>>> >>>>>>>> On Sun, Jan 15, 2017 at 10:06 PM, Lorne Tyndale >>>>>>>> <[email protected] [7] [7]> wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Not sure about Raspbian, but for Ubuntu after I compile >>>>>>>>> from >>>>>>>>> source I >>>>>>>>> usually have to kill the Rivendell daemons and then do a: >>>>>>>>> >>>>>>>>> sudo chmod -s /usr/local/bin/caed /usr/local/bin/ripcd >>>>>>>>> /usr/local/bin/rdcatchd >>>>>>>>> >>>>>>>>> After that start up Jackd, start up your daemons, and it >>>>>>>>> all >>>>>>>>> runs under >>>>>>>>> the same user. >>>>>>>>> >>>>>>>>> Lorne Tyndale >>>>>>>>> >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > Hi! >>>>>>>>> > >>>>>>>>> > Ive made it (running jack from rdadmin) but runs as >>>>>>>>> root, not >>>>>>>>> as rd user... >>>>>>>>> > >>>>>>>>> > 15 Oca 2017 22:43 tarihinde "drew Roberts" >>>>>>>>> <[email protected] [1] >>>>>>>>> [1]> yazdı: >>>>>>>>> > >>>>>>>>> > Hey Emir, >>>>>>>>> > >>>>>>>>> > On Sun, Jan 15, 2017 at 2:16 PM, Emir Yapıcı >>>>>>>>> <[email protected] [2] [2]> wrote: >>>>>>>>> > >>>>>>>>> > > Hello everyone! >>>>>>>>> > > >>>>>>>>> > > I have a problem with jackd connection. JACK can >>>>>>>>> connect >>>>>>>>> the clients with >>>>>>>>> > > same user id who started the JACK server. So caed and >>>>>>>>> JACK >>>>>>>>> cannot >>>>>>>>> > > communicate in this situation. >>>>>>>>> > > I can do this connection in Ubuntu by changing the >>>>>>>>> owner of >>>>>>>>> > > "/var/run/rivendell" and restarting daemons. >>>>>>>>> > > But this method isnt effective in Raspbian. I tried >>>>>>>>> starting JACK via >>>>>>>>> > > Rivendell but the owner of the process is "root" >>>>>>>>> again. How >>>>>>>>> can i change >>>>>>>>> > > the owner of Rivendell daemons then? >>>>>>>>> > > >>>>>>>>> > >>>>>>>>> > A couple of thoughts: >>>>>>>>> > >>>>>>>>> > 1. Set up rivendell to start jack in rdadmin. Then jack >>>>>>>>> will >>>>>>>>> run as the >>>>>>>>> > proper user. >>>>>>>>> > >>>>>>>>> > 2. Setup a a script for root to run. Then set up sudo >>>>>>>>> to >>>>>>>>> allow the rd user >>>>>>>>> > to run just that script. Let that script launch jack >>>>>>>>> and any >>>>>>>>> other jack >>>>>>>>> > apps that you want in your chain. >>>>>>>>> > >>>>>>>>> > Hope this gives you some ideas. >>>>>>>>> > >>>>>>>>> > I would really like to see the user that caed and >>>>>>>>> friends run >>>>>>>>> as be a >>>>>>>>> > config option. >>>>>>>>> > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > *Best Regards* >>>>>>>>> > > *Emir YAPICI* >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > all the best, >>>>>>>>> > >>>>>>>>> > drew >>>>>>>>> > -- >>>>>>>>> > Bahamain Or Nuttin - http://www.bahamianornuttin.com >>>>>>>>> [3] [3] >>>>>>>>> > <http://www.bahamianornuttin.com/ [4] >>>>>>>>> [4]><hr>_______________________________________________ >>>>>>>>> > Rivendell-dev mailing list >>>>>>>>> > [email protected] [5] [5] >>>>>>>>> > >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>>>> >>>>>>> [6] >>>>>>>>> [6] >>>>>>>>> >>>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Bahamain Or Nuttin - http://www.bahamianornuttin.com [10] >>>>>>> [10] >>>>>>> >>>>>> >>>>>> Links: >>>>>> ------ >>>>>> [1] mailto:[email protected] [12] >>>>>> [2] mailto:[email protected] [13] >>>>>> [3] http://www.bahamianornuttin.com [14] >>>>>> [4] http://www.bahamianornuttin.com/ [15] >>>>>> [5] mailto:[email protected] [16] >>>>>> [6] >>>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>>>> [17] >>>>>> [7] mailto:[email protected] [18] >>>>>> [8] mailto:[email protected] [19] >>>>>> [9] https://www.youtube.com/watch?v=tVCw59m_DnA [20] >>>>>> [10] http://www.bahamianornuttin.com/ [21] >>>>>> [11] mailto:[email protected] [22] >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Rivendell-dev mailing list >>>>> [email protected] [23] >>>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>>> [24] >>>>> >>>> >>>> _______________________________________________ >>>> Rivendell-dev mailing list >>>> [email protected] [26] >>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>>> [27] >>>> >>> >>> -- >>> >>> Bahamain Or Nuttin - http://www.bahamianornuttin.com [29] >>> >>> Links: >>> ------ >>> [1] mailto:[email protected] >>> [2] mailto:[email protected] >>> [3] http://www.bahamianornuttin.com >>> [4] http://www.bahamianornuttin.com/ >>> [5] mailto:[email protected] >>> [6] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> [7] mailto:[email protected] >>> [8] mailto:[email protected] >>> [9] https://www.youtube.com/watch?v=tVCw59m_DnA >>> [10] http://www.bahamianornuttin.com >>> [11] mailto:[email protected] >>> [12] mailto:[email protected] >>> [13] mailto:[email protected] >>> [14] http://www.bahamianornuttin.com >>> [15] http://www.bahamianornuttin.com/ >>> [16] mailto:[email protected] >>> [17] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> [18] mailto:[email protected] >>> [19] mailto:[email protected] >>> [20] https://www.youtube.com/watch?v=tVCw59m_DnA >>> [21] http://www.bahamianornuttin.com/ >>> [22] mailto:[email protected] >>> [23] mailto:[email protected] >>> [24] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> [25] mailto:[email protected] >>> [26] mailto:[email protected] >>> [27] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >>> [28] mailto:[email protected] >>> [29] http://www.bahamianornuttin.com/ >>> >> >> _______________________________________________ >> Rivendell-dev mailing list >> [email protected] >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >> > > > > -- > Bahamain Or Nuttin - http://www.bahamianornuttin.com > <http://www.bahamianornuttin.com/> >
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
