Displaying 20 results from an estimated 20 matches for "ov_read_float".
2002 Jan 16
2
Problem with ov_read_float()
Greetings,
I'm having some sort of problem using ov_read_float(). Everything looks
good to me, but I'm trashing memory somehow, so clearly I'm screwing
something up. What confuses me is why it takes a ***float for the
buffer.
I call it like so:
float **buffer
bytes_read = ov_read_float(&vf, &buffer, 0)
memcpy (b, *buffer, 0);
This compiles f...
2005 Oct 09
1
ov_read_float vs. ov_read
Hello,
Am I missing something?
float** pcm_channels;
int bitstream;
int where = ov_pcm_tell(&vf);
-> The Result is "0";
ov_read_float(&vf, &pcm_channels, 1, &bitstream);
-> pcm_channels[0][0] is "0.000338580"
ov_pcm_seek(&vf, 0);
char* buffer = new char[2];
ov_read(&vf, buffer, sizeof(buffer), 0, 2, 1, &bitstream);
short temp = *((short*)buffer);
float test = temp / 32768.0f;
-> test is &q...
2002 Jul 29
1
Where ov_read_float?
Subj!.
Kind Regards,
Michail.
_________________________________
Michail A.Baikov,
Linderdaum Team
http://www.gamedot.ru
http://linderdaum.gamedot.ru
<p><p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org'
containing only the word
2002 Jan 03
3
Suggestion for libvorbisfile: scaling
...esn't have a way of specifying the scaling applied to
replayed samples (like -f in mpg123).
Looking at libvorbisfile, I see no function exactly matching this
possibly desirable behaviour.
ov_read() scales by either 128 (byte output) or 32768 (word output),
but there's nothing in between.
ov_read_float() outputs floats, which is OK, but means more work in the
frontend program.
My suspicion is that floats are not used internally by ov_read(), and
there would be a speed penalty for using ov_read_float().
Anyone have further thoughts on this?
[1] http://privatewww.essex.ac.uk/~djmrob/replaygain/...
2003 Feb 02
1
Observations about the floating point data in vorbisfile
Hello.
I noticed that when reading data with ov_read_float(), you can get
values outside [-1..1] when the stream is encoded at lower quality, but
with higher quality, the values trim down to inside [-1..1].
Looking at the plot from -q10, the data from ov_read_float seems
clipped.
I've made some plots of encoding the start of Rammsteins Feuer from the...
2002 Jul 20
1
small mistake in docs
Hi,
in ov_read_float.html there is a small mistake:
long ov_read(OggVorbis_File *vf, float ***pcm_channels, int
*bitstream);
hould read:
long ov_read_float(OggVorbis_File *vf, float ***pcm_channels, int
samples, int *bitstream);
It seems this function has been changed (compared to the RC3). Anything
else worked f...
2006 May 11
1
Speed up?
Hello,
hope you're fine.
And hopefully someone can help me.
I wrote a short demonstration to show you my problem (see below). I'm
asking always for 64 samples. When "ov_read_float()" is finished, I
want to seek back to sample 1, and ask immediately for the next 64
samples.
But when I run this small app, I get an totally high CPU load.
Is there a way to it speed up?
Or do I miss something?
Thanx,
Micha.
int _tmain(int argc, _TCHAR* argv[]){
OggVorbis_File vf;
e...
2004 Jun 16
2
ogg123 volume?
Hi,
I need to adjust the output volume from ogg123 the same way that
mpg123 has the "-f n change scalefactor [32768]" option. I need to
do this within ogg123, instead of alternatives that involve pipes,
such as piping the output to sox.
I do not believe that this is currently possible in ogg123, and I'm
looking for some suggestions as to how it can be accomplished by
modifying
2004 Jun 16
2
ogg123 volume?
Hi,
I need to adjust the output volume from ogg123 the same way that
mpg123 has the "-f n change scalefactor [32768]" option. I need to
do this within ogg123, instead of alternatives that involve pipes,
such as piping the output to sox.
I do not believe that this is currently possible in ogg123, and I'm
looking for some suggestions as to how it can be accomplished by
modifying
2002 Apr 09
1
Replay Gain for vorbis
...tten about Replay Gain until Mr. Seibert reminded
me. Wasn't there talk of adding this to vorbis-tools?
Anyway, I went here:
http://sjeng.sourceforge.net/ftp/vorbis/
And downloaded the source for the replay gain tool. Unfortunately, I
cannot compile it. The errors regard parameters to ov_read_float. Is
there updated source somewhere else?
--
-:-:- David K. Gasaway
-:-:- XNS : =David K Gasaway
-:-:- Email: dave@gasaway.org
-:-:- Web : dave.gasaway.org
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubsc...
2003 Apr 30
1
float to PCM packing in libvorbisfile
Is there any particular reason why ov_read() packs floats to integer PCM
inline, rather than being implemented in terms of ov_read_float() and a
separate packing fucntion?
There are obviously many advantages doing audio manipulation on the floats
before packing, but right now you have to reinvent the packing stage yourself
- in a replaygain backend that I'm working on, I ended up copying the packing
code from ov_read verba...
2002 Jul 21
1
Vorbis 1.0 DLLs
My compiler isn't locating 'ov_read_float' from the prebuilt vorbisfile.dll.
Was that function missed from vorbisfile.def before compilation of the
Windows SDK files?
<p><p>J.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list,...
2003 May 12
0
vorbisfile ov_pack_pcm patch
Here's a patch to vorbisfile.c in libvorbis that splits the float to integer
pcm packing out of ov_read into it's own function.
The good stuff:
- ov_pack_pcm can be used by folks who decode to float pcm with
ov_read_float to do various sound manipulations (eg, preamp, fades,
replaygain). No more need to roll your own, which will really begin to
pay off when 24 bit output gets implimented.
- ov_read is now implimented in terms of ov_read_float and ov_pack_pcm to
reduce code duplication.
- I've inc...
2011 Jul 19
0
ov_read error on macosx - SOLVED
Hi!
I solved the problem using ov_read_float instead ov_read.
Still do not know why ov_read returned garbage, but ov_read_float works
fine!
Thanks!
El 17 de julio de 2011 10:41, Juan Miguel Mart?n Mu?oz
<jmcubo at gmail.com>escribi?:
> Hi, thanks for your replies!
>
> ogg.k, I'm sure MACOSX is defined. When I'm debug...
2015 Dec 02
2
A few questions about libvorbis from a newbie
First off, I don't even know if this is the right place to ask these kind
of questions, but I haven't been able to find answers anywhere else, so
1. I have found that "pcmTotal * vorbisInfo->channels * 2" gives the
uncompressed size of every ogg vorbis file I have used. What is a more
robust way of getting the full uncompressed file size?
2. How do I read a certain amount of
2003 Jan 21
0
RES: Newbie question
...volume when it is creating the PCM samples.
>
> Yes, sensible. There are currently no direct EQ hooks (although the
> feature is not an unreasonable one; it does save time to do it in the
> codec). However, you can have access to the pre-quantization PCM data
> in flaot form using ov_read_float, and multiply/normalize amplitude
> there. You would have to perform your own integer quantization
> afterward.
>
> Monty
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send...
2013 Jan 07
3
What's the value range of float samples?
I always assumed that ov_read_float() would get me samples in the range
of [-1,1), and anything below or above that can be clamped (or clipped
in the final conversion to an integer format.)
However, I recently saw this:
https://github.com/LaurentGomila/SFML/issues/310#issuecomment-9974550
Apparently, there are Vorbis streams...
2002 Dec 27
1
Vorbisgain in ogg123
I'm considering patching my copy of ogg123 to support vorbisgain tags. Is
there any interest in folding this sort of patch into the main line ogg123?
Has anyone done this already (or to another command line ogg player)?
John
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to
2002 Jan 11
1
Vorbis & ReplayGain
Hi all,
I have implemented ReplayGain support for Vorbis.
If you are not familiar with it, it is basically
a method of making sure all your files have equal loudness,
remove the need for normalization and prevent clipping
during playback. The process is totally lossless,
and supporting it requires minimal work.
More info about the exact workings can
be found on www.replaygain.org (recommended
2004 Aug 06
2
OGG123 frozen under certain circumstances while listening at icecast
Hello,
ogg123 | ices2
are doing transcoding
but ogg123 is staying frozen under certain circumstances
here is the stack
#0 0x401f25d4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1 0xbffff94c in ?? ()
#2 0x401f2398 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#3 0x401eef0b in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#4 0x0804b0d3 in