Displaying 20 results from an estimated 900 matches similar to: "encoding from 22050Hz source"
2004 Feb 13
10
Encoding into MONO (delphi)
Hi!
I have a problem. I hope, you can help me.
I use a Delphi conversion (from Aleksandr Shamray),
but it doesn't work when I'd like to convert a *.RAW into a
mono *.ogg file.
vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono
the program stops at line:
//* uninterleave samples */
.
.
buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or
2003 Nov 08
2
Encoding in Delphi - Help
Hi!
I've made a vorbis encoder in delphi, but it's very verey slow!
It takes 5 minutes to encode a pcm file.
And i don't know why. Could anyone help me???
----------------------------------------------------------------------------------
result := ogg_stream_flush(os, og);
while result <> 0 do
begin
OutFile.Write(Pointer(og.header)^, og.header_len);
2004 May 18
2
encode example
Hi,
I am testing the encoder example and I have a question about it... How can I encode a mono file in 22050 and 44100?
I've changed the init values to:
ret=vorbis_encode_init_vbr(&vi,1,22050,.5) ;
and in the loop:
// uninterleave samples
for(i=0;i<bytes/2;i++)
{
buffer[0][i]=((readbuffer[i*2+1]<<8)|(0x00ff&(int)readbuffer[i*2]))/32768.f;
}
..
2011 Mar 10
4
Wav to Ogg Vorbis conversion
Dear experts,
I am trying to use an example I found here:
http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c
Could you please tell me what float** buffer is needed for (I don't see
it used anywhere).
Also, could you please tell me what this code is doing:
for(i=0;i<bytes/4;i++){
buffer[0][i]=((readbuffer[i*4+1]<<8)|
2005 Sep 26
2
encoder_example.c Questions
I've been trying to piece my way through the encoder_example.c program
to better understand how to encode files as ogg/vorbis. I'm stuck on
two sections of the code.
This is the first
/* uninterleave samples */
for(i=0;i<bytes/4;i++){
buffer[0][i]=((readbuffer[i*4+1]<<8)|
(0x00ff&(int)readbuffer[i*4]))/32768.f;
2002 Dec 16
1
encoding question
Hi there,
I've a little question abound programming an ogg-vorbis encoder.
The encode_example.c works ok for files with 44100/2/16 - but not for other
formats.
I don"t really understand what this piece of code is really doing:
/* uninterleave samples */
for(i=0;i<bytes/4;i++){
buffer[0][i]=((readbuffer[i*4+1]<<8)|
2010 Jul 16
2
[LLVMdev] Strange behavior when converting arrays to strings
Hello,
I found saw some strange behavior (to me) when converting constant arrays to strings. Consider the following example:
std::string Text = "HelloWorld";
unsigned TextLengthBefore = Text.length();
ConstantArray *pArray = dyn_cast<ConstantArray>(llvm::ConstantArray::get(pModule->getContext(), Text, true));
unsigned NumElements = pArray->getNumOperands();
Text =
2012 Aug 20
3
[LLVMdev] How to Identify if an Argument is a pointer?
Hello,
I was wondering how you can identify whether or not an Argument is a
pointer. The "isDereferenceablePointer" function for Values doesn't
seem to be what I want (I don't care whether or not the pointer points
to allocated memory or is suitably aligned). I want to be able to
discern between:
i32* %pArray
and
i32 %pArray
Thanks in advance.
- John
2010 Jul 28
0
[LLVMdev] Strange behavior when converting arrays to strings
Hi,
I haven't seen a response and I'm curious if I should submit a patch for this.
Thanks,
Javier
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Martinez, Javier E
Sent: Friday, July 16, 2010 3:20 PM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Strange behavior when converting arrays to strings
Hello,
I found saw some strange behavior (to
2004 May 10
3
sqlSave with underscores in table fieldname
Hi group,
I try to write a frame to a table (RODBC). I use
colnames(temp6) <- c("ind_id","ser_id","period_id","year","calc","mean")
sqlSave(channel, temp6, tablename = "series_indices_test",append= TRUE, rownames=FALSE, verbose = FALSE, test = FALSE, nastring = -999999, fast = FALSE)
This is giving me an error:
Error in
2010 Jul 28
1
[LLVMdev] Strange behavior when converting arrays to strings
Hi Javier,
> I found saw some strange behavior (to me) when converting constant
> arrays to strings. Consider the following example:
>
> std::string Text = "HelloWorld";
>
> unsigned TextLengthBefore = Text.length();
>
> ConstantArray *pArray =
> dyn_cast<ConstantArray>(llvm::ConstantArray::get(pModule->getContext(),
> Text, true));
from
2012 Aug 20
0
[LLVMdev] How to Identify if an Argument is a pointer?
You can use isPointerTy() in Type class.
George
On Mon, Aug 20, 2012 at 12:39 PM, John Backes <back0145 at umn.edu> wrote:
> Hello,
>
> I was wondering how you can identify whether or not an Argument is a
> pointer. The "isDereferenceablePointer" function for Values doesn't
> seem to be what I want (I don't care whether or not the pointer points
> to
2007 May 01
1
contstant bittrate mode - block size - packet size
Hello,
I am trying to implement a realtime encoding then streaming solution using
the vorbis codec (would be wrapped in a "7F" type for minimal framing
overhead) for sending audio over a low bit rate wireless link.
since we need a constant bittrate (i.e. constant packet size) for this
solution we want to run the alg in constant bitrate mode;
for evaluation of the codec I followed the
2005 Oct 03
3
Boolean quoting, postgresql
http://dev.rubyonrails.org/ticket/1117
I''ve attached a patch to ticket 1117 which fixes it so that booleans
are escaped as booleans, not integers. Specifically, this situation
will now work
find_all(["send_date=? and sent=?", Date.today, false])
Which matches peoples expectations, but it causes some problems with
the postgresql unit tests. Specifically, the use of
2006 Jun 01
2
Hiding an attribute
I am using a smallint database column to store several boolean flags.
The flags are accessible thru facade column accessors. I''d like to
hide the database column so all access is thru the facade accessors.
How do I do it?
TIA,
Jeffrey
2005 Mar 14
2
Icecast on OS X
Long, long ago, in a galaxy far away, I compiled and installed Icecast
on OS X. However, after building from the latest source, I'm seeing an
error on launch. The error relates to the poll() function (which
apparently isn't functional in OS X):
poll.c:282: failed assertion `pArray != (struct pollfd *) NULL'
Did I compile wrong? Is this a known issue? Anyone successfully build
the
2004 May 05
1
vorbis_encode_init_vbr() probleme
Hi!
In the SDK documentation it is written:
"base_quality
Desired quality level from 0.0 to 1.0"
But, i can give less than 0 parameter too. Why?
Although, if i give greater than 0.9, encoding is halt
with "floating point division by zero" message. Why?
Thank you for your reply,
crc
---------------------------------
Do you Yahoo!?
Win a $20,000
2006 Jan 05
8
Repost - Do dynamic finders work with legacy schemas?
Hello everyone,
I have another question related to a legacy schema I am working with.
Do dynamic finders work with legacy schemas in general? The schema I am
working with uses hungarian prefixes for column names. For example fOpen is
0 if a bug is closed and 1 if it is open (type smallint). When I try @bugs
= Bug.find_all_by_fOpen(1), I get the following exception:
undefined method
2004 Apr 12
3
Decoding with 8 bit-samples
Hi!
I'd like to make a stereo 8-bit wav file
from a stereo (16 bit) ogg vorbis file
(in delphi, with the vorbisfile).
I use:
ret := ov_open_callbacks(filein,vf,nil,0,ops_callbacks);
if ret = 0 Then
begin
fileOut := TFileStream.Create(savedlg.FileName,fmCreate);
repeat
ret := ov_read(VF, pcmout, BufferSize, 0, 1, 1, nil); //'cause of the 8-bit
2006 Jun 08
2
Errata in the "Four Days with Rails"
Hi, I spent more than 4 days getting done with the "Four Days
with Rails" tutorial, mostly because I ran into a few issues that
seemed to stop me in my tracks. But, after looking around, I was able
to find the problems and solve them (in whatever way I thought best) :-)
I''m posting the whole list of problems that I ran into with "Four Days
with Rails" to the list so