Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread José Mejuto
El 02/02/2017 a las 18:25, fredvs escribió: - Opus: only one sample-rate: 48k (easier for mixing + DSP) AbbreviationAudio bandwidth Effective sample rate NB (narrowband) 4 kHz 8 kHz MB (medium-band) 6 kHz12 kHz WB (wideband) 8

Re: [fpc-pascal] for loop vs while loop

2017-02-02 Thread DaWorm
On Thu, Feb 2, 2017 at 4:01 AM, Mark Morgan Lloyd < markmll.fpc-pas...@telemetry.co.uk> wrote: > > It's interesting that the real (wallclock) and user times are consistently > in a different sequence. /If/ the user time is to be believed, there's a > very small advantage to counting down even if

Re: [fpc-pascal] for loop vs while loop

2017-02-02 Thread Lars
On Wed, February 1, 2017 4:49 am, Graeme Geldenhuys wrote: > Hi, > > > Just curious (been in a discussion with somebody else). Is there a > performance difference between a FOR loop and a WHILE loop? > > Not sure if it will make a difference, but the usage is with three > nested loops, iterating

Re: [fpc-pascal] for loop vs while loop

2017-02-02 Thread Mark Morgan Lloyd
On 01/02/17 20:30, Nitorami wrote: Just a note - I learned that for very short "for" loops it may be even a bit faster to count downwards (to zero) rather than upwards if possible, because the comparison to zero is very effiicient. Not sure though whether that still makes a difference on modern

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread fredvs
Hello. I am happy to announce that uos does internet-streaming with opus files. Take a look at conswebstream and simplewebplayer demos. https://github.com/fredvs/uos Here demo (ok, the sound is not perfect because the video recorded the sound from the mic, but in real the sound is perfect):

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread Leonardo M . Ramé
Hi freedvs, does it mean with UOS I can create an audio streaming server via HTTP?. Regards, Leonardo M. Ramé http://leonardorame.blogspot.com From: fredvs To: fpc-pascal@lists.freepascal.org Sent: Thursday, February 2, 2017 10:19 AM Subject: Re: [fpc-pascal] fpc

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread Santiago A.
El 17/01/2017 a las 16:48, José Mejuto escribió: > > Maybe you may think in Opus http://opus-codec.org/ as it is open, > royalty free (mp3 is not free, you must pay royalties for the encoder > side) and source code is C89 so it must be compilable (libopus) in > almost any platform without a

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread fredvs
> Hi freedvs, does it mean with UOS I can create an audio streaming server via HTTP?. If you convert your audio file into opus-file, no problem. But for live audio streaming server... I take a little break and then, it is the next battle. I can already encode the incoming pcm into Opus file.

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread fredvs
> Anyway mp3 technology is surpassed a lot by others. Hum, first shots with Opus: - For same quality, size of Opus is 20 % smaller than mp3. - You may encode in different modes (voice, audio,..). - Tag is much easier to access/edit than mp3. - Opus: only one sample-rate: 48k (easier for mixing

Re: [fpc-pascal] fpc and voip ?

2017-02-02 Thread José Mejuto
El 02/02/2017 a las 16:32, Santiago A. escribió: El 17/01/2017 a las 16:48, José Mejuto escribió: Maybe you may think in Opus http://opus-codec.org/ as it is open, royalty free (mp3 is not free, you must pay royalties for the encoder side) and source code is C89 so it must be compilable