search for: outputfile

Displaying 20 results from an estimated 104 matches for "outputfile".

Did you mean: output_file
2007 Apr 18
2
FLAC: sending output to file
...LAC-files in a command prompt: > > > > for %1 in (*.wav) do flac -V --best "%1" > > > > This command is fully working > > > > Now I want to write the flac output to a file, so I can open this > > file > > later. > > I tried to add > outputfile.txt to the command like this: > > > > for %1 in (*.wav) do flac -V --best "%1" > outputfile.txt > > > > But this doesn't work. > > using > only captures stdout, but flac messages go to stderr, so > you need to do > > for %1 in (*.wav) do fl...
2007 Apr 18
5
FLAC: sending output to file
...broken. That's why I use this command to encode a whole directory of WAV-files to FLAC-files in a command prompt: for %1 in (*.wav) do flac -V --best "%1" This command is fully working Now I want to write the flac output to a file, so I can open this file later. I tried to add > outputfile.txt to the command like this: for %1 in (*.wav) do flac -V --best "%1" > outputfile.txt But this doesn't work. Does somebody knows what I have to add the my command line to write the flac output to a file? I don't want to use the Cygwin program, but only the windows command p...
2016 Jul 15
3
[PATCH 1/4] Create a simple project to create version.h to run before any other
...</PreBuildEvent> <CustomBuildStep> <Command> diff --git a/win32/VS2015/silk_common.vcxproj b/win32/VS2015/silk_common.vcxproj index 2df939b..4748738 100644 --- a/win32/VS2015/silk_common.vcxproj +++ b/win32/VS2015/silk_common.vcxproj @@ -190,8 +190,10 @@ <OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile> </Lib> <PreBuildEvent> - <Command>"$(ProjectDir)..\..\win32\genversion.bat" "$(ProjectDir)..\..\win32\version.h" PACKAGE_VERSION</Command> - <Message>Generating version.h&l...
2013 Oct 22
1
[PATCH 2/2] Discard unwritten ranges
...> #include <error.h> #include <errno.h> #include <getopt.h> #include <pthread.h> +#include <linux/falloc.h> #include <lzma.h> #define DEBUG 0 @@ -145,10 +146,11 @@ usage (int exitcode) static void xzfile_uncompress (const char *filename, const char *outputfile, unsigned nr_threads) { int fd, ofd; + off_t hole_start, data_start; uint64_t size; lzma_index *idx; /* Open the file. */ fd = open (filename, O_RDONLY); @@ -176,10 +178,29 @@ xzfile_uncompress (const char *filename, const char *outputfile, posix_fadvise (fd...
2013 Oct 22
2
[PATCH 1/2] Preallocate output file
...T * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#define _GNU_SOURCE #include <config.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -166,12 +167,12 @@ xzfile_uncompress (const char *filename, const char *outputfile, debug ("uncompressed size = %" PRIu64 " bytes", size); ofd = open (outputfile, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY, 0644); if (ofd == -1) error (EXIT_FAILURE, errno, "open: %s", outputfile); - if (ftruncate (ofd, size) == -1) - error (EXIT_FAILURE, er...
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...entral working state for the packet->PCM decoder */ vorbis_block vb; /* local working space for packet->PCM decode */ char *buffer; int bytes; /* Read from file : GK */ FILE * myFile = fopen("h:/Project/Downloads/Ogg/keoki_passiton.ogg","rb"); FILE * outputFile = fopen("h:/Project/Visual C++/output.txt", "w"); fprintf(outputFile, "File read OK.\n"); /* end modification : GK */ #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ /* Beware the evil ifdef. We avoid these where we can, but thi...
2012 Aug 10
3
Batch Mode for Windows
Hi, I have researched batch mode for windows and could not find anything that worked. I know the code should be $ R CMD BATCH inputfile.R outputfile.Rout or R <inputfile.R > outputfile.Rout I tried these without success. I need detailed, step by step instructions on how to do this. I have tried typing C:\R\bin\x64\Rgui.exe before it, but this just opens R. When I tried to do this, it said that $, R, etc. are not recognizable commands....
2013 Oct 23
0
Re: [PATCH 1/2] Preallocate output file
...VISED OF THE POSSIBILITY OF > * SUCH DAMAGE. > */ > +#define _GNU_SOURCE > #include <config.h> > #include <stdio.h> > #include <stdlib.h> > #include <string.h> > @@ -166,12 +167,12 @@ xzfile_uncompress (const char *filename, const > char *outputfile, > debug ("uncompressed size = %" PRIu64 " bytes", size); > ofd = open (outputfile, O_WRONLY|O_CREAT|O_TRUNC|O_NOCTTY, 0644); > if (ofd == -1) > error (EXIT_FAILURE, errno, "open: %s", outputfile); > - if (ftruncate (ofd, size) == -1) &gt...
2004 Sep 10
2
Storing FLAC in Matroska
First, Thank you for your answers. I using the following code to try simply decode a flac file and write the decoded data raw PCM file. The resulting file is just noise and pops, so is the decoded data in a different format than PCM? struct flacData { FILE *inputFile; FILE *outputFile; char *filename; }; FLAC__StreamDecoderReadStatus flac_DecoderReadCallback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { flacData *ourData = (flacData *)client_data; *bytes = fread((void *)buffer, 1, *bytes, ourData->inputFile); return FLAC...
2015 Oct 31
1
Example input data with example output using relative pathway in vignette of R package?
...data in Hadley Wickham's post ( http://r-pkgs.had.co.nz/data.html), and believe I should keep my example data as raw data, as it must be parsed to generate the output. So, I created a directory in my package structure /Users/userName/myPackage/inst/extdata/ with subdirectories InputFiles and OutputFiles. And I put the example file (exampleData.csv) inside of the InputFiles subdirectory (/Users/userName/myPackage/inst/extdata/InputFiles). My vignette is located in: /Users/userName/myPackage/vignettes/myPackage.Rnw It contains the following syntax: <<eval=FALSE>>= fileString = &quo...
2010 Mar 03
2
uint decode error on visual studio...
...string.h> #include <libcelt/celt.h> int gBitRate=128000; int gFrameSize=256; int gSampleRate=44100; int gNrChannels=1; int main(int argc, char* argv[]) { const char* inputfilename="..\\input_mono.snd"; const char* encodedfilename="..\\encoded_mono.celt"; const char* outputfilename="..\\output_mono.snd"; FILE* encodedfile=0; FILE* inputfile=fopen(inputfilename,"rb"); if(!inputfile) { printf("ERROR opening %s for reading\n",inputfilename); return -1; } encodedfile=fopen(encodedfilename,"wb"); if(!encodedfile) { printf("ERR...
2007 Nov 17
1
odf and unzip: unzip not found
hi list members I am trying to use odfWeave with R 2.5.1 on Windows XP. however when running e.g. odfWeave(demoFile, outputFile) I get: Error in odfWeave(demoFile, outputFile) : Error unzipping file In addition: Warning message: unzip not found in: system(zipCmd[2], invisible = TRUE) presumably my zip and unzip are not set up correctly but I dont know how to do that. I installed zip and unzip from info-zip.org as sugg...
2013 Aug 14
3
[LLVMdev] raw_ostream behavior
Hi Dan, lld takes a -emit-yaml option, which emits the intermediate representation(atoms) in YAML form. By default output goes to stdout, the user can control it by using the -o option too. The way its handled is, similiar to this piece of pseudo-code if (dash_o_option) outputFile = dash_o_option->value() else outputFile = "-" When lld tries to mix things that go to stdout using llvm::outs() and -emit-yaml, it starts to get this error. If there is a restriction like this, possibly it has to be mentioned somewhere for usecases (or) raw_fd_ostream should n...
2013 Aug 16
3
PATCH for MSVC++ 2005 Express
...es were created in a wrong folder --- a\src\plugin_common\plugin_common_static.vcproj 2013-08-13 13:30:24.000000000 +0400 +++ b\src\plugin_common\plugin_common_static.vcproj 2013-08-16 20:09:42.782635000 +0400 @@ -129,7 +129,7 @@ /> <Tool Name="VCLibrarianTool" - OutputFile="..\..\..\objs\release\lib\$(ProjectName).lib" + OutputFile="..\..\objs\release\lib\$(ProjectName).lib" /> <Tool Name="VCALinkTool" --- a\src\test_libs_common\test_libs_common_static.vcproj 2013-08-13 13:30:24.000000000 +0400 +++ b\src\test_li...
2011 Dec 17
1
odfWeave error
...nnR_1.0.3????? R2HTML_2.2?????? Hmisc_3.8-3????? survival_2.36-10 loaded via a namespace (and not attached): [1] cluster_1.14.1 grid_2.14.0??? svMisc_0.9-63? tools_2.14.0 Second Example: demoFile <- system.file("examples", "simple.odt", package = "odfWeave") outputFile <- gsub("simple.odt", "output.odt", demoFile) odfWeave(demoFile, outputFile) Same error; same session info Respectfully, Frank Lawrence
2011 Dec 16
1
odfWeave
...TinnR_1.0.3 R2HTML_2.2 Hmisc_3.8-3 survival_2.36-10 loaded via a namespace (and not attached): [1] cluster_1.14.1 grid_2.14.0 svMisc_0.9-63 tools_2.14.0 Second Example: demoFile <- system.file("examples", "simple.odt", package = "odfWeave") outputFile <- gsub("simple.odt", "output.odt", demoFile) odfWeave(demoFile, outputFile) Same error; same session info Respectfully, Frank Lawrence [[alternative HTML version deleted]]
2003 Sep 30
0
VB Code to convert BMP to LSS for splash screens
...As Byte Dim nCount As Integer Dim run As Integer Dim erun As Byte Dim current As Byte Dim prev As Byte Dim rowBuffer() As Byte Dim dBitmapRow As String Dim dBuffer As String Dim dLSSRow As String sourcefile = "I:\PXE Server\splash.bmp" outputfile = "I:\PXE Server\splash.lss" Set fileSystem = CreateObject("Scripting.FileSystemObject") If fileSystem.FileExists(sourcefile) Then Open sourcefile For Binary As #1 If fileSystem.FileExists(outputfile) Then fileSystem.DeleteFile (outputfile), True...
2002 Jan 08
3
write.table - format
Hello there I ` m a newbie in R and have a question about the output of write.table My command looks like this: write.table(datatr$V1[data.chull],file="outr.txt", quote = FALSE, sep = "\t") In the outputfile (outr.txt) I have an "x" in the left corner and a new row with numbers for each column(1,2,3...). I just want the values in my file. What should I change in write.table-command? output now: x 1 179.18143 2 169.73087 3 169.73087 4 140.48254 5 111.9501 6 59.180557 .... it should look lik...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...t; Detect64BitPortabilityProblems="TRUE" > DebugInformationFormat="4" > DisableSpecificWarnings="4800;4244;4267"/> > <Tool > Name="VCCustomBuildTool"/> > <Tool > Name="VCLibrarianTool" > OutputFile="$(OutDir)/x86.lib"/> > <Tool > Name="VCMIDLTool"/> > <Tool > Name="VCPostBuildEventTool"/> > <Tool > Name="VCPreBuildEventTool" > CommandLine="mkdir ..\..\tablegen_includes > ..\tools\Ta...
2012 Jun 15
0
Pass parameter to odfWeave
OdfWeave is a great way of creating reports and other quality output from R. But is there a simple way to pass a parameter to the report? What I mean is: odfWeave(templatefile,outputfile) creates the report. If would be much more flexible if it would be possible to do something like odfWeave(templatefile,outputfile, versionnumber) to pass versionnumber to the templatefile, or even odfWeave(templatefile,outputfile,parameterfile) to pass the name of a file where other variables are s...