Re: [R] Limitations of audio processing in R

2011-09-22 Thread Spencer Graves
Hi, Michael & Ulisses: ULISSES: If you haven't already, I suggest you look at the hexView package including the R News article cited below and the readRaw function in particular. I just used readRaw(filename, offset=4, nbytes=8) to read bytes 5:12 in filename; in this case, filename was *

Re: [R] Limitations of audio processing in R

2011-09-22 Thread Jeff Newmiller
1) I don't know about automated clipping using Audacity. 2) en.wiktionary.org/wiki/for_the_win --- Jeff Newmiller The . . Go Live... DCN: Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer

Re: [R] Limitations of audio processing in R

2011-09-22 Thread Spencer Graves
Hi, Carl: 1. I've used Audacity and it seemed fine -- though I haven't used it much. 2. What's FTW? (None of the Wikipedia disambiguation entries seemed to fit.) Thanks, Spencer On 9/22/2011 2:41 PM, Carl Witthoft wrote: With all due respect to those of us (i

Re: [R] Limitations of audio processing in R

2011-09-22 Thread Carl Witthoft
With all due respect to those of us (including me) who love R, when it comes to audio processing w/ freeware, Audacity FTW. 'nuff said Carl -- - Sent from my Cray XK6 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Limitations of audio processing in R

2011-09-22 Thread Uwe Ligges
Or if people want to do it the R way: Use the tuneR package and its readWave function that supports reading parts of Wave files if the whole file is not relevant. You can specify it in many units, see its help page. tuneR has also the tools to cut, merge etc. Wave files and analyse it with bas

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Michael Sumner
On Thu, Sep 22, 2011 at 8:08 AM, Spencer Graves wrote: > A more general question:  What tools are available in R for reading parts of > binary files?  'scan' allows you to 'skip' a certain number of records and > read the next 'nlines'.  Unfortunately, scan only seems to work for text > files not

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ulisses Camargo
Dear Ted, Thank you very much about your answer, it really helped. Now I am working on the function that will do all the job with sox help. All the best, Ulisses 2011/9/21 Ted Harding > Hi Ulisses! > Yes, "get more creative" -- or "get more memory"! > > On the "creative" side, it may be worth th

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ted Harding
Once again, I would myself be inclined to farm this out (in Linux) to the tools which come with the system. In this case the command "dd" is useful (though one may need to be careful about setting the options. For instance, dd -bs=1 skip=54321 count=31415 if=infile of=outfile would (having set

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Spencer Graves
A more general question: What tools are available in R for reading parts of binary files? 'scan' allows you to 'skip' a certain number of records and read the next 'nlines'. Unfortunately, scan only seems to work for text files not binary, and I cannot find a comparable function that would w

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ken
Also with Linux you can add more swap memory(which I'm pretty sure R spills into if it hasn't reached it's internal limits on 32 bit installations). Windows pagefile is kind of obnoxious. Ken Hutchison On Sep 21, 2554 BE, at 5:05 PM, (Ted Harding) wrote: > Hi Ulisses! > Yes, "get more cre

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ted Harding
Hi Ulisses! Yes, "get more creative" -- or "get more memory"! On the "creative" side, it may be worth thinking about using an independent (non-R) audio file editor. I'm writing from the standpoint of a Linux/Unixoid user here -- I wouldn;t know how to set ebout this in WIndows. You could use R to

Re: [R] Limitations of audio processing in R

2011-09-21 Thread R. Michael Weylandt
If you are running Windows it may be as simple as using memory.limit() to allow R more memory -- if you are on another OS, it may be possible to get the needed memory by deleting various things in your workspace and running gc() Of course, if your computer's memory is <3GB, you are probably going