Re: [pulseaudio-discuss] Start recording after threshold on mic reached
On Mon, 2009-11-30 at 14:31 -0800, david wrote: > Hi > > I'm new to pulseaudio, I'm trying to find out if its possible to write a > pulseaudio application which can trigger recording to start when a > certain volume threshold its reached on the microphone. I'm writing a > music note recognition program and I need to accurately know when a > sound started and ended. > > Thanks > David Please stop spamming the list with the same message repeatedly, it won't help you get a reply faster. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Start recording after threshold on mic reached
Hi I'm new to pulseaudio, I'm trying to find out if its possible to write a pulseaudio application which can trigger recording to start when a certain volume threshold its reached on the microphone. I'm writing a music note recognition program and I need to accurately know when a sound started and ended. Thanks David ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Start recording after threshold on mic reached
Hi I'm new to pulseaudio, I'm trying to find out if its possible to write a pulseaudio application which can trigger recording to start when a certain volume threshold its reached on the microphone. I'm writing a music note recognition program and I need to accurately know when a sound started and ended. Thanks David ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] record sound with pulse audio
Dear sir, I use: Computer-- Processor 4x AMD Phenom(tm) II X4 955 Processor Memory 4058MB (675MB used) Operating SystemFedora release 12 (Constantine) -- And when i try to capture my voice with gnome-sound-recorder, mumble sound is crap but if i use the commande line: ___ $ arecord -vv -fdat foo.wav ___ Sound is very good, how i can fix this problem Note: i use use a chipset audio from my mother card Asus M4A79T Deluxe thanks Kind regards ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 0.9.21
On 30 Nov 2009, Colin Guthrie told this: > 'Twas brillig, and Nix at 29/11/09 21:12 did gyre and gimble: >> A full clone shows me the tag, but a 'git pull' or 'git remote update >> origin' refuses to download it. > > The tag is made form the stable-queue branch so chances are you don't see it > because it's from a branch you are not tracking? Aha! ,[ git-pull(1) ] |-t, --tags |Most of the tags are fetched automatically as branch heads |are downloaded, but tags that do not point at objects |reachable from the branch heads that are being tracked will |not be fetched by this mechanism. This flag lets all tags and |their associated objects be downloaded. ` Three years of fairly heavy git use and I never once stumbled across that. Thanks for the clue! ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Start recording after threshold on mic reached
Hi I'm new to pulseaudio, I'm trying to find out if its possible to write a pulseaudio application which can trigger recording to start when a certain volume threshold its reached on the microphone. I'm writing a music note recognition program and I need to accurately know when a sound started and ended. Thanks David ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy
2009/11/30 Tanu Kaskinen : > Are you sure your files had the same sample format as what your sound > card uses? If pulseaudio doesn't need to do mixing or resampling or > sample format conversion, I'm surprised if the bytes are touched. No they definitely aren't. That's part of the question I suppose. When does the format get changed? What's the best format to start off in if you're going out via SPDIF to digital speakers. Is it best to start off in the sample spec of your sink, or do you have to take the mixer into account? And what is the source of the Monitor's output tap. Is it before it gets to the sink native driver, or does it actually go to the sound card hardware before coming back? Certainly it looks like the float32le was converted to s16le before being converted back in the Monitor output. However nothing in the pulseaudio log suggested what the conversion would be or when. > So, you had float32le tones. Is your sink also configured with that > format (see "pacmd list-sinks")? Do the sample rates match between the > files and the sink? The sample rates match, so there is no resampling, and the channel maps were adjusted so there was no mono to stereo conversion going on. -- Neil Wilson ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy
ma, 2009-11-30 kello 10:33 +, Neil Wilson kirjoitti: > Hi all, > > I have pulseaudio running on Ubuntu and send the sound digitally to a > set of High end digital speakers. Since it is Hi-Fi, the work I'm > doing involves ensuring wherever possible that the digital bits are > not disturbed by the software systems the value is passing through - > unless it has to be when the softphone rings. > > I did a simple test using pacat and parecord on the sink Monitor with > a set of float32le tones representing a simple log sweep through the > frequency range. Volumes were set to 100% across the entire chain. Yet > when I checked the float values, they had been perturbed by a small > amount. > > That got me thinking. Can pulseaudio maintain a 'clean path' > throughout the entire software chain? Are you sure your files had the same sample format as what your sound card uses? If pulseaudio doesn't need to do mixing or resampling or sample format conversion, I'm surprised if the bytes are touched. So, you had float32le tones. Is your sink also configured with that format (see "pacmd list-sinks")? Do the sample rates match between the files and the sink? -- Tanu Kaskinen ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy
'Twas brillig, and Neil Wilson at 30/11/09 11:50 did gyre and gimble: 2009/11/30 Colin Guthrie : Additionally when I was doing a parec on the Monitor and used the 'float32ne' format it seemed to come out Big Endian on an Intel machine, which surprised me a little. Is that a bug or did I miss something? ne = network endian IIUC which is always big endian... http://en.wikipedia.org/wiki/Endianness#Endianness_in_networking That's not what it says in the pacat/parec manual. "Depending on the endianess of the CPU the formats s16ne, s16re, float32ne, float32re (for native, resp. reverse endian) are available as aliases. " Essentially pacat and parec appear to choose different Endians when you specify float32ne, so one of them is wrong :) I stand corrected :) I guess there may be a bug there somewhere then! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy
2009/11/30 Colin Guthrie : >> Additionally when I was doing a parec on the Monitor and used the >> 'float32ne' format it seemed to come out Big Endian on an Intel >> machine, which surprised me a little. Is that a bug or did I miss >> something? > > ne = network endian IIUC which is always big endian... > > http://en.wikipedia.org/wiki/Endianness#Endianness_in_networking That's not what it says in the pacat/parec manual. "Depending on the endianess of the CPU the formats s16ne, s16re, float32ne, float32re (for native, resp. reverse endian) are available as aliases. " Essentially pacat and parec appear to choose different Endians when you specify float32ne, so one of them is wrong :) -- Neil Wilson ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Monitoring and Pulseaudio accuracy
'Twas brillig, and Neil Wilson at 30/11/09 10:33 did gyre and gimble: That got me thinking. Can pulseaudio maintain a 'clean path' throughout the entire software chain? Not yet. The intention is to add passthrough support to ensure that we do not decode+reencode unless needed. This will allow e.g. AC3 audio to be passed through to the hardware that supports it. The problem here is that this will only work when not doing mixing and (probably more problematic) extracting timing information from encoded streams. I'm presuming that some sort of rounding or conversion internally has altered the float32le. Is there a representation that would be more likely to come through 'clean'? I'm not 100% sure here. Other people may have better knowledge of this area then me. Additionally when I was doing a parec on the Monitor and used the 'float32ne' format it seemed to come out Big Endian on an Intel machine, which surprised me a little. Is that a bug or did I miss something? ne = network endian IIUC which is always big endian... http://en.wikipedia.org/wiki/Endianness#Endianness_in_networking -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Monitoring and Pulseaudio accuracy
Hi all, I have pulseaudio running on Ubuntu and send the sound digitally to a set of High end digital speakers. Since it is Hi-Fi, the work I'm doing involves ensuring wherever possible that the digital bits are not disturbed by the software systems the value is passing through - unless it has to be when the softphone rings. I did a simple test using pacat and parecord on the sink Monitor with a set of float32le tones representing a simple log sweep through the frequency range. Volumes were set to 100% across the entire chain. Yet when I checked the float values, they had been perturbed by a small amount. That got me thinking. Can pulseaudio maintain a 'clean path' throughout the entire software chain? I'm presuming that some sort of rounding or conversion internally has altered the float32le. Is there a representation that would be more likely to come through 'clean'? Additionally when I was doing a parec on the Monitor and used the 'float32ne' format it seemed to come out Big Endian on an Intel machine, which surprised me a little. Is that a bug or did I miss something? Thanks -- Neil Wilson ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 0.9.21
'Twas brillig, and Nix at 29/11/09 21:12 did gyre and gimble: A full clone shows me the tag, but a 'git pull' or 'git remote update origin' refuses to download it. The tag is made form the stable-queue branch so chances are you don't see it because it's from a branch you are not tracking? Try git clone -t origin/stable-queue and see if that brings it in. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss