cat a file and add quotes to each line?
- date: July 7, 2008
Suppose I have a list of filenames in a file called "include". It looks something like this:
:~$ cat include
file 3I want to use whatever GNU terminal utilities or bash commands I have at my disposal to convert the output so that it looks like this:
Basically, I want to enclose each line in the file in double quotes. Is there any way to do that?
How to cat a file without its 2 first lines ?
location: ubuntuforums.com - date: September 25, 2010
Tail and head are cool but I am looking to "cat" a file without its 2 first lines
Any commmand exists for that in our Ubuntu?
?Possible to choose "Update" during Install (Reinstall)? to fix sound file
location: linuxquestions.com - date: December 24, 2007
Hi, Back after a year since last post; still using Linspire!(5.0) (two machines, a Dell 2.8 and a recent model GQ preinstalled with Linspire) so lots of success (and luck)so far--credit and appreciation should be acknowledged I think (to Linspire AND help forums...)...
...so a speedbump along the way now, isn't something I necessarily want to make a mountain of, and researching things has turned up a possible answer in the form of a suggestion (a Linspire article and forum readings)to turn to the install CD...
okay great, because I'm chronically inept at things like trying to go somewhere (online)and get separate drivers to try to install; or similar creative solutions.
But the one time I installed Linspire 5 (another machine) from what I recall it took over most of the whole process, powerfully for sure since it even recognized a brand new but balky hard drive--so I'm feeling a little leery of committing to an "Install" or "Reinstall" or, in a way, even p
Post a sound file how to say DEBIAN in your language / country ;)
location: linuxquestions.com - date: May 22, 2010
Fans of Debian?
But is the word Debian pronounced the same in your country ?
Play sound file in Ubuntu
location: ubuntuforums.com - date: October 3, 2010
Hi everybody.I am writing a program by C in Ubuntu .It plays sound file .Example ,I have a sound file audio.wav and saves in ~Desktop/Sound/audio.wav .I used a function play() but I don't find library of this function.Can you write a function to play this sound file???Thanks you
Sound file sometimes plays at wrong speed through Scarlett 2i2
location: ubuntuforums.com - date: August 30, 2013
Sometimes, but not always, for no evident reason, sound files play too slowly out of my Focusrite Scarlett 2i2. They always play at the right speed through my internal Intel audio. For instance if I play a 44.1kHz mp3 of a 440Hz test tone from Clementine or Audacious through PulseAudio and out of the 2i2 it will sometimes come out at something a bit less than 440Hz (about a tone and a half lower, but the big isn't active at the moment so I can't measure it exactly).
If I play the file from Audacious via Jack instead of Pulse, it plays at the right speed.
I haven't got a 48kHz audio recording to hand, but I never have trouble with video playback so I assume that is OK.
Is there anything I can do to make sure that the 2i2 always plays sound at the correct speed?
how to play PCM sound file in Ubuntu?
location: linuxexchange.com - date: December 1, 2013
I have a PCM sound file with sample rate 16000, sample bit 16 and channel 1. I want to play it , but there's no software can do. I also tried ffplay like :
ffplay -ar 16000 -ac 1 snake.raw
But still failed. How to play the PCM sound file in Ubuntu?
In a bash script/command how can I make a PC beep noise, or play a sound file?
location: linuxexchange.com - date: August 1, 2012
I have some long running scripts with breaks requiring input/interaction to continue but when I switch to another window I'd like to be notified (by sound) that a task is complete and now awaiting input.
I would prefer to be able to play an audio clip (*.mp3, *.ogg, etc.) but wouldn't care if the only solution is to make the PC Speaker beep noise.
Any ideas? I'm open to any CLI utilities I can install that play sounds that in turn I can execute when needed.
FYI: My System is running WinXP Pro.
UPDATE: Doh! My Windows > Control Panel > Sounds > Default Beep: was set to (none). Grrr...
How to sequence MIDI with sfz/gig soundfonts and export a sound file?
location: ubuntuforums.com - date: October 11, 2011
I recently discovered Matthias Westlund's "Sonatina Symphony Orchestra" set of samples, which are available as a sfz sound font.
I figured out how to use the sfz sound font with Linuxsampler and the Fantasia frontend for linuxsampler (using Autostatic's builds for Lucid, thanks Autostatic, if you're reading this!)
The piano sound wouldn't load in Fantasia but I found a perfectly respectable gig-format piano soundfont that works fine. I then got Rosegarden working as the sequencer and all was beautiful.
The only wrinkle is trying to export a sound file from Rosegarden. There's no easy way to do it. The two popular suggestions seem to be "use JACK to record the output of playing a file in Rosegarden" and "use Timidity instead of Rosegarden".
Timidity is out because it can't use sfz files.
JACK would be a nice solution, but sadly, when my computer is loaded up with Fantasia running in Java, a 16-track orchestra open on the sampler, and Rosegarden
how to upload sound file in asterisk?
location: linuxexchange.com - date: June 19, 2013
I have created a Asterisk server. I am able to place a call from one dialer to other dialer and its working properly. When connection established between both dialers, I need a voice script to be played, provided by asterisk.
I need to upload my own voice script(sound file) in asterisk server. I want to use java as my back end. So is there any java api(or any web service URL that can be accessed from outside application) that I can upload my sound file to /var/lib/asterisk/sounds/en directly.
I am trying to play that file using fastagi api of asterisk-java. can anyone help me for how to achieve that?
Page: 1 2 3 4 5 6 7 8 9 10