Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ohNet Installtion
06-02-2013, 09:55 AM
Post: #18
RE: ohNet Installtion
It looks like the Posix version of this code is broken. We actively develop and test the Windows and Mac versions, but the Posix one isn't currently used for any products, so it doesn't get the same level of attention. If you look at SoundcardDriver.cpp there's an obvious typo that's causing that error. If you would like to try to get it working we'd be happy to accept patches, but I don't think anybody here is likely to be working on the Posix port in the near future.

I assume from your previous explanation that you will be trying to implement a Songcast receiver first, is that right? I should warn you that this is probably harder than implementing a Songcast sender. I can give you pointers on using OhmSender and OhmSenderDriver to send audio, but I haven't personally used the receiving code. An issue that you may have there is that when Songcasting, it is the receiver's responsibility to match the sender's clock rate. That is, you can't tell the sender to speed up or slow down to match your desired rate - you must play audio at a rate determined by the sender's clock. This may seem unintuitive at first, but consider that one sender may have many receivers. Linn DSes are able to adapt to match the sender's clock rate, but this involves special hardware which a Raspberry Pi isn't going to have, so somewhere you'll need to accommodate the minute differences in clock rate which will eventually cause the receiver to suffer an underflow (if it's consuming samples too quickly for the sender) or an overflow (if it's consuming samples too slowly). I'm not sure whether or not there's any code in ohSongcast to handle making the necessary compromise to degrade gracefully in such circumstances.
Visit this user's website Find all posts by this user


Messages In This Thread
ohNet Installtion - steve - 04-02-2013, 04:26 PM
RE: ohNet Installtion - simonc - 04-02-2013, 04:40 PM
RE: ohNet Installtion - steve - 04-02-2013, 04:48 PM
RE: ohNet Installtion - simonc - 04-02-2013, 05:10 PM
RE: ohNet Installtion - steve - 04-02-2013, 05:20 PM
RE: ohNet Installtion - steve - 04-02-2013, 06:42 PM
RE: ohNet Installtion - simonc - 04-02-2013, 08:05 PM
RE: ohNet Installtion - steve - 05-02-2013, 09:15 AM
RE: ohNet Installtion - andreww - 05-02-2013, 11:20 AM
RE: ohNet Installtion - steve - 05-02-2013, 11:48 AM
RE: ohNet Installtion - andreww - 05-02-2013, 12:01 PM
RE: ohNet Installtion - steve - 05-02-2013, 12:59 PM
RE: ohNet Installtion - steve - 05-02-2013, 03:43 PM
RE: ohNet Installtion - simonc - 05-02-2013, 04:34 PM
RE: ohNet Installtion - andreww - 05-02-2013, 04:56 PM
RE: ohNet Installtion - steve - 05-02-2013, 05:17 PM
RE: ohNet Installtion - steve - 05-02-2013, 10:09 PM
RE: ohNet Installtion - andreww - 06-02-2013 09:55 AM
RE: ohNet Installtion - steve - 06-02-2013, 12:09 PM
RE: ohNet Installtion - simonc - 06-02-2013, 12:14 PM
RE: ohNet Installtion - simonc - 06-02-2013, 01:28 PM
RE: ohNet Installtion - steve - 06-02-2013, 12:21 PM
RE: ohNet Installtion - steve - 06-02-2013, 01:48 PM

Forum Jump: