Displaying 20 results from an estimated 400 matches similar to: "Observations about the floating point data in vorbisfile"
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 fine, but after a few reads,
2002 Jan 03
3
Suggestion for libvorbisfile: scaling
I've been experimenting with the ideas of Replay Gain[1] and find that
ogg123 doesn'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()
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 fine for me with the 1.0 release.
Olaf
<p>--- >8 ----
List archives:
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
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
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 =
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
2002 Apr 09
1
Replay Gain for vorbis
I had completely forgotten 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?
--
-:-:-
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, send a message to
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 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
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 debugging line by line the
> program runs into ov_read.
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
2002 Jul 25
0
ANNOUNCEMENT: New release on Vorbis
UK: 24th July 2002
10pTV today unveiled the soundtrack to the upcoming animation short,
"Shit
Happens", which is slated for release in August. A bizarre tale of
Geeks,
Girls and Guns, "Shit Happens" features comic artwork by the reclusive
Nigel Lowry, artist for the cult classic "The Jock" and a super slick
soundtrack written by ex Bennett front man Jason Applin.
2003 Jan 21
0
RES: Newbie question
> ----- Mensagem original -----
> De: xiphmont@xiph.org [SMTP:xiphmont@xiph.org]
> Enviada em: domingo, 19 de janeiro de 2003 21:24
> Para: vorbis-dev@xiph.org
> Assunto: Re: [vorbis-dev]Newbie question
>
>
>
>
> On Fri, Jan 17, 2003 at 05:53:51PM -0700, Rob D wrote:
> > The problem isnt with finding a place to store the settings. They are
> stored
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 that use float samples with values
in the range of [-32768,
2013 Jan 26
0
[PATCH] Update news section
Adds two small news items and a news item on Blackberry support
---
feeds/feed.rss | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/feeds/feed.rss b/feeds/feed.rss
index 45d8ec1..ec230aa 100644
--- a/feeds/feed.rss
+++ b/feeds/feed.rss
@@ -6,12 +6,29 @@
<description>The latest news about FLAC (Free Lossless Audio Codec)</description>
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
2018 Apr 22
1
Race condition when setting flags (\Deleted) + expunge quickly, leaving mails not deleted
On 21 March, 2018 - Aki Tuomi wrote:
> Thank you for your thorough report, we'll look into it.
Has anyone managed to reproduce this (using my transcript for example)?
With mutt, I get this problem.. If I set 'imap_pipeline_depth=0' in
.muttrc, I can't seem to reproduce it anymore.
/Tomas
--
Tomas Forsman, stric at cs.umu.se, http://people.cs.umu.se/stric/
`- SysAdmin at