General :: Play Realtime Insted Of Using Arecord And Aplay?

Jan 25, 2011

Normally i use "arecord" to capture and dump in a file (.wav). If i want to play the file then i use "aplay". But, is it possible that, insted of capturing to a file and then playing the file offline, if i want to play it realtime

View 1 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Aplay Does Not Play Some Wav Files?

Jan 28, 2010

My audio is working on my recent koala install. System wav files play without a problem.

However, when I open a terminal to play my own wav files I get an error. (I encountered this problem merely by trying to setup an incoming mail notification with CheckGmail....)

The command: aplay /home/saskms/Music/test.wav

The error: aplay: test_wavefile:807: can't play WAVE-file format 0x0002 which is not PCM or FLOAT encoded

I think I have installed all the necessary gstreamer options. I am guessing that maybe I just need to re-rip the WAV file into a different format. I also tried doing searches on the error, but yielded no results.

View 5 Replies View Related

Programming :: Using "aplay" To Play Notifications In C Program?

Oct 21, 2010

I am looking to play a simple sound effect as an event notification in a C program I am working on, but want to do it as simply and easily as possible. Portability is of no concern (this is a Linux-only application) nor is the format of the audio file (the file will be bundled with the application, so I can make the format whatever is necessary).The simplest way seems to be just calling "aplay" from within my program, but I am not sure if this is really a safe approach or not. Is this is a reasonable enough solution for a simple task like this? Other than the program not existing on the host OS (which obviously I would check for on execution), are there any other pitfalls?

View 6 Replies View Related

General :: Get HDMI Audio To Be Visible To `aplay -l`?

Jul 18, 2010

I've got a new machine with an Nvidia GeForce 210 graphics card with HDMI output. I'm trying to get sound to go out that HDMI cable, but although the device shows up on lspci, I can't get it acknowledged by aplay -l, which lists the audio devices known to the audio driver.

lspci shows (in part): 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) The first is the motherboard audio, and it works fine. The second (I assume) is the graphics card with HDMI. But aplay -l lists only the motherboard analog and S/PDIF outputs:

[Code]...

I can't see how I'm going to select a device that the drivers think isn't there. how to make that device visible to the sound drivers? I'm running Ubuntu 10.04 with a 2.6.32 stock kernel. The Nvidia driver version is 195.36.24.

View 1 Replies View Related

General :: Aplay Not Working On Ubuntu 11.04 For Root User / What To Do?

Sep 21, 2011

I have ALSA on Ubuntu 11.04 version.
When I play aplay through my normal user, I am able to get the output.
When I do this with the root user, the command hangs: below stuff happens

root@myuser:~# aplay -l
**** List of PLAYBACK Hardware Devices ****

(hangs)

Also if I export the $HOME to /home/myuser/ then it works. So whats wrong for running the aplay command with a root.

View 1 Replies View Related

Ubuntu Installation :: Wrongly Mkfs To /dev/sda1 Insted Of /dev/sdb1 Data Deleted?

Jun 6, 2011

I had a working Ubuntu 9.10 with Windows 7 installed, and i was writing an image of IPCOP [URL] to the USB drive incorrectly, i did mkfs on my primary partation i.e. /dev/sda1 now i am trapped in situation, i was trying to write and usb-hdd image of ipcop on USB Drive, while doing so, i have given following commands

1. mkfs.vfat /dev/sda1
2. e2label usb-pen
3. zcat filename > /dev/sda1

* now the stupid thing i have done, is given /sda1( My HDD ) instead of /sdb1 (USB Drive), it has successfully loaded IPCOP bootable on my primary drive, and my laptop is not working now.

Laptop Partation Info:
/dev/sda1 - NTFS (Windows 7 Prof)
/dev/sda2 - NTFS

[code].....

now i want to get my partitions & data back, if anybody have idea about how to get rid of this situation. The good thing i have done, is that, i didn't tried to install anything on the drive after this happened, with hopes that i can get my data back i guess that it can be recovered but confusion is that, which data recovery software to use, and for linux or windows, as i had my data on NTFS filesystem and currently there is Free Space and EXT4 partition.

View 2 Replies View Related

Ubuntu :: Can't Get Arecord To Record Any Sound ?

Mar 13, 2011

I can't get arecord to record any sound. I've tried running firefox with some streaming stuff or even just playing a song with totem from a mp3 on my hard drive. I'm running

Code:

But the resulting test.wav has no sound in it.

I'm running maverick as installed. What gives?

View 3 Replies View Related

Ubuntu Multimedia :: No Sound When Using Arecord

Jun 5, 2011

I'm completely new to ALSA and I'm having trouble using the arecord program.

Using the following command: arecord -t wav -f cd -d 5 test.wav

Creates a .wav file 5 seconds long as expected.

However when playing this file there is no sound.

I've had a look using 'alsamixer' and the capture volume is over half way so I'm assuming it's not that.

View 1 Replies View Related

General :: Realtime Environment To Practice For RHCE (RH302) Exam?

Apr 11, 2010

is there a resource/material that can simulate a RHEL on your personal machine so that one can practice for RH302 exam accurately? I am looking to practice sample questions with some kind of simulation environment where the scenario is similar to the real-time scenario that we can expect in the exam. For instance, the system is already broken with what is mentioned in the question so that I can focus only on solving the problem rather than breaking it first. I am looking for something specific to RHCE exam preparation/practice rather than using a tool like trouble-maker.

View 4 Replies View Related

Ubuntu :: Cron-started Arecord Stops Running Too Early?

Jul 16, 2010

I have a cronjob which is supposed to run every 15 minutes and record with arecord for 900 seconds. When I run the script manually, arecord record for 900 seconds, but when cron starts the script it stops recording after about 90-110 seconds.

Code:

rndusr@0x90:~/ralog$ cat rec.sh
#!/bin/bash
YEAR=$(date +"%Y")
mkdir /home/rndusr/ralog/data/$YEAR

[code]....

View 3 Replies View Related

Ubuntu :: HDMI Device Not Recognized In Aplay -l

Aug 10, 2010

After solving the problems:

- HDMI device not recognized in aplay -l
- upgrading Alsa to 1.0.23
- multiple HDMI devices installed

I now have an ubuntu laptop where

1) aplay -l outputs

[Code]...

View 2 Replies View Related

Ubuntu :: 10.10 - Aplay: Device_list:235: No Soundcards Found

Mar 6, 2011

I'm an Ubuntu newbie here, and I recently bought an ASUS N53JF-XE1 laptop, and after a new installation of Ubuntu 10.10, I don't seem to be able to get the sound working (neither from speakers, nor from headphones). I've been searching a lot of places, and with no luck and a lot of frustration, I'm coming here for a possible solution! According to "lspci -v", this is the info for my sound card:

Code:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1113
Flags: bus master, fast devsel, latency 0, IRQ 3
Memory at d9c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>

Using "aplay -l" gives me this:

Code: aplay: device_list:235: no soundcards found... It seems to me that I'm somehow missing the drivers for my sound card. However, I don't know where to find the correct drivers or how to install them. I've been all over the alsa-project website, and I can't find anything useful.

View 2 Replies View Related

Ubuntu Multimedia :: No Audio - Aplay And Speaker-test Gets Nothing At All ?

Feb 4, 2011

I installed Xubuntu to a flashdrive using unetbootin. Since I only have a 2GB drive I installed Fluxbox instead of XFCE to save space. I install alsa-utils to try to get some audio going. aplay and speaker-test gets nothing at all. Both as sudo and a reg user. I have turn up the volume on everything in alsamixer. I believe the relevant drivers are loaded.

Code:

View 1 Replies View Related

Ubuntu Installation :: Aplay: Device_list:235: No Soundcards Found

Feb 26, 2011

I lost sound after restarting, I had sound, then on my reboot... No sound. I tried to google the problem and ran the common tasks of removing and re-installing "alsa-base" and "pulseaudio" using apt-get in terminal. But after trying all this I have now lost the volume control at the top right of my screen I have no idea what the issue is, in System > Preferences > Sound I get nothing under Hardware, nothing under Input, "Dummy Output" under Output, and nothing special under Applications. Here is the results of commands in terminal which I have commonly see people been asked to do:

Code:

sudo aplay -l
aplay: device_list:235: no soundcards found...

Code:

sudo find /lib/modules/`uname -r` | grep snd
/lib/modules/2.6.35-22-generic/updates/dkms/snd-hda-codec-idt.ko
/lib/modules/2.6.35-22-generic/updates/dkms/snd-hda-codec.ko

[code]....

The only thing I think that could of triggered everything to mess up is some mods I made to to the alsa-base.conf file - What I did to it I can't remember, But I have tried to remove these two lines of code at the end of it, saved it, restarted my computer and still no audio. I am using Ubuntu 10.10 (Maverick) 64Bit Kernel Linux 2.6.35-22-Generic GNOME 2.32.0

View 1 Replies View Related

Fedora Hardware :: ALSA Aplay, Speaker-test, Sox All Just Hang?

Oct 25, 2010

I'm running Fedora 12 and at some point about a year ago my ALSA just stopped working. After posts, trials, etc, no joy. Now, after a few more months, and further F12 updates, I'm trying to get back to it.I have:

Code:
[root@DadPC ~]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.

[code]....

View 2 Replies View Related

Fedora Hardware :: No Soundcard Detected (aplay -l Returns No Sounddevices)?

Dec 15, 2010

My sound was working quite fine with Fedora 13 (Internal Audio) until I decided that I want to install the appropriate driver from the vendor's website.

[Code]...

View 2 Replies View Related

Ubuntu Multimedia :: No Sound - Aplay Gives Nothing - Lspci Shows Soundcard

Apr 4, 2011

I have had on and off problems with my sound for quite some time now. Each time it would stop working, I would find a fix which would work for a month or so, then I would go back to having no sound. I have had consistent sound on my Windows partition, so I don't think something is wrong with the hardware. The first fix I used was using "sudo alsa force-reload" to get ALSA working again. The latest fix I used was to add the line "options snd-hda-intel model=toshiba" to alsa-base.conf, which worked up until now. My built-in computer speakers won't make any sound, nor will my external monitors when they are plugged into the headphone jack. I do get sound when I plug in a pair of USB headphones.

I have tried using the Comprehensive Sound Problem Solution Guide [url], but I run into a predicament...

aplay -l (with or without being root) gives...

Code:

Code:

Alsamixer isn't much help either. It shows the name of my card in the top left, but there are no sliders to adjust.

I've tried compiling the modules from source, reinstalling through Synaptic, and plenty of other things, to no avail. Ubuntu 10.04 on a Toshiba Satellite U305-S5107

View 9 Replies View Related

Fedora :: 12 Mounting Realtime XFS ?

Feb 17, 2010

I am attempting to mount my Direct TV DVR (HR22) SATA Drive using Fedora 12 x86_64 using the following command:

The output of BLKID is:

I am able to mount this using MSFLive.org LIVECD/USB: [url] and knoppix

View 1 Replies View Related

Debian Configuration :: Show MAC And IP In Realtime From Shell?

Dec 28, 2015

What command to show MAC and IP of any computer conected in realtime?

View 9 Replies View Related

OpenSUSE Install :: Cannot Boot 11.3 With Realtime Kernel

Oct 3, 2010

i need to use the realtime kernel because i use jack audio connection kit so i tried to install the realtime kernel from the install/remove software program. I've found 2 kernels : Kernel-trace and kernel-rt i tried both of 'em but i cannot boot up suse. The first one gets to 3/4 of the loading bar , i hear the welcome sound and then it won't do anything else. The second won't do anything, black screen.

View 9 Replies View Related

OpenSUSE Multimedia :: Realtime Or Low-Latency Kernels For 11.4?

Jun 28, 2011

is there a realtime or low-latency kernel in a repository somewhere for OpenSUSE 11.4? I know I can just compile a rt kernel, but that's a bit tedious and I'd like to avoid it if possible.

View 9 Replies View Related

Ubuntu Multimedia :: Any Advantage To Realtime Kernel

Jan 10, 2010

Just got Studio 9.10 running and the RT kernel installed. I have a Prescott P4 3.2ghz (hyperthreading) and i encountered what looks like a common freeze problem. I am guessing my cpu will not be supported in the RT kernel since it is pretty old now.I added nosmp acpi=off during boot at the Grub2 menu and it booted fine and I was able to capture some video great.

My questions is, if I remove the smp support by using the nosmp option, do I still benefit from the RT kernel or would I do just as well with the generic kernel I have installed?Eventually I will upgrade do a new system board and processor but for now I just got some life back in this one by switching to Linux

View 3 Replies View Related

Ubuntu Multimedia :: Realtime Streaming Of Mic Input Over LAN?

Jul 21, 2010

I have investigated loads and loads of options and haven't really yet come across what I need.

I wish to stream the microphone input from a PC using Lucid to another PC also using Lucid on the same network. I don't care about the quality, however, latency is really important. I hope to use it to monitor the cries of my baby daughter, so the lower the latency the better.

I have tired various options:

- FFserver and FFmpeg - latency of over 30 seconds

- VLC - couldn't get it to work with my mic and maxes out the CPU

- ssh server 'cat /dev/dsp > /dev/dsp' - latency of around 5 seconds by audio keeps breaking up with huge delays

- icecast2 and darkice - latency of around 7 seconds but no audio breakups

I've been reading on maybe using PulseAudio to stream the input, but I am not sure if it will work or not...

how to get near real-time streaming audio? As I said, it is the realtime, not the quality that is important...

View 2 Replies View Related

Ubuntu Multimedia :: Jack Will Not Start In Realtime?

Nov 1, 2010

I am not able to start JACK in realtime mode. This is a bummer. here is the error message I get:

p, li { white-space: pre-wrap; } 11:58:20.745 Patchbay deactivated.
11:58:20.746 Statistics reset.
11:58:20.812 ALSA connection graph change.

[code]...

View 1 Replies View Related

Security :: Realtime Anti Virus Program?

Jan 5, 2010

This might be a very stupid questions, but I'm wondering if anyone can tell me if there are any antivirus software for Linux?I know that it normally is not something that is needed, but in the company where I work they have a policy saying that every OS must have a realtime anti virus program installed on the pc's with automatic updates.

View 14 Replies View Related

Software :: View Other Users Console Realtime - Log ?

Nov 29, 2010

I need to let a second user configure a part of my server and I wish to both log what the user is doing with terminal and view it in realtime so that I can react if something goes wrong.

View 1 Replies View Related

Slackware :: 64 13.0 And Realtime Kernel Works, But Cannot Set Priorities?

Jan 25, 2010

I succeeded with the 2.6.31.12-rt20 on the Slackware 64 13.0.Kernel config seems fine, i use PAM.I can launch jackd as user with the realtime flag, BUT...Using top and htop, i can see that /etc/security/limits.conf or /etc/security/limits.d/limits.conf or wherever i put this file, priorities and nice are not set.Of course i added this to this file :

@audio - rtprio 99
@audio - nice -10
@audio - memlock 500000

[code]....

View 2 Replies View Related

Debian Multimedia :: Jackd: Cannot Start With Realtime In X Session

Apr 30, 2011

I cannot start jackd in X with realtime scheduling:

[Code]...

View 1 Replies View Related

Fedora :: Realtime Sound Effects When Playing Music?

Jul 23, 2009

I was listening to some Chopin today and I thought how cool it would be if there would be a way to put the sound output of Amarok (or anything else, maybe line-in or microphone) through some effects that would make it sound like being read from a vintage vinyl disk. Or when listening atmospheric folk songs about forests, it would be really cool to add some echo or reverberation, so it would sound like a large forest, ooor... But you get the idea. Is there any nice way of putting Amarok's sound through JACK, and from then on through a sound effector?

View 1 Replies View Related

Slackware :: Enable Realtime Scheduling For Users Without Having To Install PAM?

Dec 6, 2010

Does anyone know how to enable realtime scheduling for users without having to install PAM?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved