My radio stations are each in a city. I want to connect them via the Internet and manage them from one place. Is there any device that can be used other than a computer?
That is, like an encoder and decoder, but use more than one decoder?
Related
I am trying to record audio on raspberry pi zero and want to transfer the audio data in real time through Bluetooth (Classic or BLE) to an android application . I have created a GATT server referring to Bluez example code but given the amount of data(32-bit audio data, 16000 Hz). The process through BLE is really slow and i am not able to record and send the data simultaneously but one by one.
So i want to shift to Bluetooth Classic. What would be the preferable protocol where i can record and send the data along as soon as i receive it ? Are there Pybluez API which can allow me to achieve this?
I am new to Arduino development and just started trying some of the provided examples for the MXChip devkit. What I'm trying to do now is accessing the analog readout from the microphone to get a rough estimation of sound levels. I tried to find information on how to do this and found some articles that use an Arduino board and an external microphone wired to the analog inputs. Since the dev kit has a built-in microphone, I want to use that, but I don't know how to access it, and I can't find any information on pin layout. Any help would be appreciated!
The microphone is not connected to the analog pins. It is connected to dedicated Audio codec hardware.
See https://microsoft.github.io/azure-iot-developer-kit/docs/apis/audio-v2/
The hardware does not seem to give you direct access to incoming values. It looks like you will need to record and the read the buffer to get audio input levels.
Need Help!
Let's assume I have a robot in a room with a camera on it. I need the video source to be available live on a website. I don't want any latency at all (assuming that I have a good internet connection). Also if a user presses any keys while on the website, the robot needs to detect it and do actions accordingly. Now, I can handle all the actions the robot needs to do once I get the keys. There's a raspberry pi on the robot.
What would be the easiest way where we could achieve a bi-directional communication (one direction being video and another being plain text) between a browser and my robot, keeping the communication as fast as possible.
PS: I tried initiating a Google hangout and embedding the video, but there's a latency of atleast 1 minute.
Simple to do. get the camera for Raspberry Pi from here.
http://www.adafruit.com/products/1367
You could use Motion JPEG for transmitting the video. Follow the instructions below.
http://blog.miguelgrinberg.com/post/stream-video-from-the-raspberry-pi-camera-to-web-browsers-even-on-ios-and-android
Once you the the IP of your video stream, you could display it in a website.
To send commands to rap pi, whats the complication ? If your Rasp. pi have an internet (it should be for the video stream), you could write a program to read commands from your browser.
I am trying to setup a raspberry pi box with a usb camera as a IP Camera that can be viewed from a a generic android IP Camera monitor app. I've found some examples on how to get the video stream, and that works, but what I also need is two-way audio. This seems to come out of the box in standalone network cameras -- any ideas how that works? I want to set it up in a way compatible with typical network cameras so that my cam can be used by any generic ip camera viewer app.
Well, the modern cameras nowadays implement the ONVIF protocol. This protocol specifies that you have a RTSP server that streams audio and video from the camera to the pc, but it also mandates a so called audio backchannel. It's a bit long to explain how it works, check it in the specs.
ONVIF is the standard, but you could also install an existing SIP client and do a video/audio VoIP call rather than implementing ONVIF - depends on the long term goals of your project.
I have written an application that receives media files from a central server and plays those files according to a playlist. All works well.
A client has contacted us and wants to use our application to play some audio files as presentations in a kiosk-style application. So far, so good, our application can handle this no problems.
He has requested as a potential feature that we would have a number of headphone sockets at the front of the kiosk. Each headphone socket would play the same audio presentation in a different language.
I have come up with the idea of encoding a single audio file with the presentation in multiple languages, and each language in a different channel. We would then require a sound card that could decode each channel and output it on a different headphone socket.
Thing is, while I'm think the theory is sound, I have absolutely no idea whether this is feasible and what would be required to pull it off.
Any ideas?!
As a side-note: the application uses Media Player as the underlying component to handle the playback of audio and video. I'd appreciate any help as to the software we could use to generate the multi-channel audio stream and the hardware (USB sound card would be fine) that we could use to decode the stream.
Thanks!
You need to use multiple files not channels, its going to be way easier that way.
Instead of using Media Player use DirectShow (on .NET you have DirectShow.NET), In DirectShow you have the notation of Multiple files on the same graph.
You will be able to control to which audio device play which files, and your Play, Pause, Stop commands will be preformed on all files without you need to worry about syncing.
There are many samples on how to build media player like with DiectShow, extending them to use multiple files should be really easy.
For HW take a look at this (USB with 8 output channels)
I think with Shay's hardware you've got a complete solution:
Encode a 7.1 file with a different mono voice track on each channel.
Use the 8 channel output device in 7.1 mode, with a different headset in each port, and you've got it. Or, if you only have 6 languages, a 5.1 file would work. Many PC's have 5.1 outputs built in, you'd only need 3 splitters to break out the left and right channels from each jack.
You can do the encoding with Windows Media Encoder, or other pro audio tool.