Displaying 20 results from an estimated 3000 matches similar to: "Encoding into MONO (delphi)"
2004 Apr 19
3
encoding from 22050Hz source
Hi!
I'd like to encode from a 22050 Hz source wav file (only in that case),
but i get the following error message: "Invalid floating point operation"
I use delphi:
vorbis_encode_init_vbr(vi,2,22050,0.5)
.
.
.
While (i < readCount div 4) Do
Begin
buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
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;
}
..
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)|
2003 Apr 07
2
Header files
Hello.
Does someone have or seen header files to the newest ogg sdk (1.0) for delphi?
Or can someone translate me them to delphi?
Thanks
______________________________________________________________________________
UNICEF bittet um Spenden für die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
--- >8 ----
List archives:
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)|
2010 Apr 27
2
Passing values to a function when using apply
Hi All
Slightly lost on how should I pass values to a function I am calling
using apply.
apply( veh_drg_animal1[ , c("readCount","gene_length")] ,1, stats() )
here stats is a custom function where I want to pass two parameters
from data frame as shown and a third argument which is constant per
instance of apply.
stats <- function ( arg1,agr2,agr3) {
## computation
2012 Jul 09
1
boxplot with "cut"
Dear UseRs,
I'm making box plots from a data set that looks like this:
Chr Start End GeneDensity ReadCount_Explant ReadCount_Callus ReadCount_Regen
1 1 1 10000 107.82 1.243 1.047 1.496
2 1 10001 20000 202.50 0.835 0.869 0.456
3 1 20001 30000 158.80 1.813 1.529 1.131
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 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 =
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
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
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
2006 Sep 11
4
encode, decode and encode again
(I've already posted this message month ago, but nobody answered, may be
it was not delivered to newsgroup?)
Hello, All.
I wrote an encoder-decoder based on example from OGG-Vorbis SDK.
This encoder can encode a large amount of small WAV-files with equal
parameters into one sound archive.
Then I decode this sound archive back into large amount of small
WAV-files.
Theese files are
2009 Feb 05
3
maptools: Test if point is in polygon
In R's maptools package, is there a built-in function to test if a
given point is "inside" a given polygon on the map? The map was
loaded from an ESRI Shapefile. The point's latitude and longitude are
known.
Thank you!
Aleks
--
------------------------
Aleksandr Andreev
Fulbright Fellow
Graduate School of Management
St Petersburg State University
2002 Feb 20
4
Questions about libvorbisenc
Hi all,
I am just coming in the mailing list.... ;-)
I'm working on an Ripper/Encoder for GNUstep.
At first sight, libvorbisogg seems to be the library that I needed.
The problem for me is documentation.
So I have a few question about this library :
- in order to init an encoding process, we need to provide channels. Well,
what does is mean ?
- in order to init an encoding process, we need
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
2010 Nov 10
2
maptools package
A few years back, I wrote some code to plot maps with the maptools
package. Now I am trying to reproduce my results, only to find out
that maptools has been updated and my code no longer works.
I've been able to fix the first part of it by forcing
spb <- maptools:::read.shape("/home/sasha/Documents/maps/spb.shp")
(as read.shape has been deprecated)
but now when I do
plot(spb,
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