What this is doing, for the curious: Audio is sent to my home in Berkeley, using Comcast internet and dynamic IP and sent back to you. The audio is currently raw 16-bit samples at 8192 samples per second. I have not yet explored compiling Codec2 to run on the Browser with asm.js . This is WebSockets rather than WebRTC. WebRTC is possible, but requires a proxy written in node.js because there is no small embedded C or C++ library to run it yet. The server is an embedded program written in C++ that would fit on almost any small processor that provides internet access. The server is sending your system a web page, a stylesheet, a javascript program, and a version number file. Then it switches to a stream-oriented WebSocket. Everything on the client runs in javascript. No plug-ins. There is no asm.js at this time, but there is type coercion for the optimizer as in asm.js, and the result might be as fast as asm.js. Modern browsers actually optimize javascript well enough to do some DSP, but javascript could use the addition of some array-processing operators. For example there is no operation to copy array A to B given offsets into both arrays and a length. There are some arcane ways to do this on some platforms using set() or apply(). The web audio API could also be improved. The most glaring problem is the lack of a resampling node, and the lack of any way to access the built-in codecs without using WebRTC.
Thanks Bruce On Tue, Jun 9, 2015 at 8:17 AM, Bruce Perens <[email protected]> wrote: > Oh yes, I forgot to say, if it works you should be able to talk into it > while the "transmit" button is down or while you press the space bar, and > when you press the "receive" button or release the space bar, it should > repeat what you said back to you. > > Yes, I will get it connected to a real transceiver and test that too. I > will have to give you all passwords when I do that. > > Thanks > > Bruce > > On Tue, Jun 9, 2015 at 8:14 AM, Bruce Perens <[email protected]> wrote: > >> Hi, >> >> I have finished the first pass at implementing a web front-panel for DVS >> (my FreeDV program) and for the Whitebox transceiver. This is really cool >> in that it's independent of OS or GUI version as long as a modern browser >> runs on your system, and no software has to be installed on your system. >> I've tested it on Android and Linux so far. I'd appreciate it if some of >> you would try it out for me. >> >> To do this, you will need: >> >> >> - A computer with a microphone and speaker. Your tablet or phone has >> one if your desktop does not. >> - A modern web browser that supports Websockets and the Web Audio >> API. An up-to-date version of Chrome or Firefox should work, I have not >> tested IE, Opera, or Safari but some of those might work. The generic >> browser on Android is probably not up to the task, nor is iOS below >> version >> 8. >> - Streaming web throughput of 16K/second. >> - If you're on a desktop, you may have to configure your system and >> browser to use the microphone. >> >> If you have all of these things, please go to server1.perens.com and >> click on "Web Front Panel". >> >> >> Please email [email protected] with your results. Trying multiple >> browsers will be interesting, sometimes Firefox works better than Chrome or >> vice versa. >> >> >> Thanks >> >> >> Bruce >> > >
------------------------------------------------------------------------------
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
