Programming :: Synchronizing PortAudio Sound With GUI?

Apr 30, 2011

I'm writing an application that uses PortAudio to generate sound. I need to synchronize certain GUI changes with the sound stream. The callback function receives a struct PaStreamCallbackTimeInfo that seems to have the timing information I need, but there's no documentation on what the various fields mean. Through experimentation, I've found that the currentTime field is the time that the callback was called (in retrospect, that seems pretty obvious), but what do the inputBufferAdcTime and outputBufferDacTime fields mean?

(Actually, PortAudio calls the callback fast enough that I could just use the currentTime to get the synchronization close enough, but still... it's the principle of the thing.)

View 1 Replies


ADVERTISEMENT

Ubuntu One :: Synchronizing Forever But Nothing Happens?

Oct 23, 2010

Am I the only person who can't get ubuntu one working properly?1) if I right-click a folder and ask to synchronize it to ubuntu one, there is absolutely no feedback at all (nothing seems to be synchronized, no icons are added to the folder, no progress bar, nothing).2) if I open the Ubuntu one preferences, it states "synchronizing in progress", and it keeps doing that. again; no progress, no icons, no nothing.Disconnecting reconnecting doesn't seem to matter.Rebooting (I know, I was desperate..) doesn't seem to matter.How do you guys manage to use this. I mean, the interface of ubuntu one is pretty clean, so there is not much to configure, which is good, if it would work out of the box .

View 1 Replies View Related

General :: How Does Rsync Behave When Synchronizing

Nov 24, 2010

I have a file in a directory mysite/a.php on machine A and machine B. The files will not have any difference initially.On machine A if a.php is changed and then when a sync is done from machine B to A, will a.php have the change or will it be overwritten? What about directories?

View 1 Replies View Related

Ubuntu One :: Can't Stop Synchronizing Folder?

Apr 30, 2010

I installed 10.04 today and while messing around with it I decided to try syncing a folder. While it worked and the file in it was uploaded and removed when deleted I can't stop syncing the folder.

View 6 Replies View Related

Ubuntu :: Synchronizing Settings Between Computers?

Oct 11, 2010

Is it possible to syncronize certain settings in ubuntu between several computers, such that when I change them on one they change on all?If not, is it possible to at least use the settings of one computer as the initial settings of another?These are the settings I am interested in:

- Keyboard shortcuts

- Compiz settings

- Statusbar configuration

- Theme

View 3 Replies View Related

Fedora :: NTP - Synchronizing With Time Server Failed

Apr 9, 2010

I am trying to synchronize the time of a PC using NTP using a server on LAN. Both the PCs do not have internet. I have made changes to the /etc/ntp.conf file of both the server and client . But still on rebooting is shows Synchronizing with time server failed. I am attaching the ntp.conf file of both server and client.

View 13 Replies View Related

Server :: Synchronizing /etc/hosts Files Across Multiple Servers?

Jun 16, 2011

I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?

Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.

Or am I just whistling in the wind?

View 6 Replies View Related

OpenSUSE :: Application For Automatically Synchronizing Data Of Linux-PC To Windows XP-PC?

Dec 8, 2010

does anyone of you know an application for automatically synchronizing data of a Linux-PC to a Windows XP-PC?The form should be echo (changes only on the Linux-PC).Only the Linux-PC should have the application.

View 6 Replies View Related

OpenSUSE Multimedia :: XJadeo For 11.3 X86_64 - Synchronizing Video With Audio

Aug 13, 2011

I am looking for XJadeo for opensuse 11.3 x86_64 for synchronizing video with audio

View 1 Replies View Related

General :: Substitute For Nokia PC Suite Or Synchronizing Data From A Nokia Phone

Apr 1, 2011

I was looking for a way to get the same or similar functionality as the Nokia PC Suite on Ubuntu 10.04. I did find a discussion here [url].

However it is fairly old (2008). I was wondering if it is possible to get more recent information.

In the Ubuntu Software Center I find two applications that seem to fit the bill. I need to know which is better or are the complimentary.

View 3 Replies View Related

Server :: Synchronizing Server Time With Ntpdate Command In Cron?

Jul 14, 2011

we are synchronizing server time with ntpdate command in cron.how often should it run?

View 3 Replies View Related

Ubuntu Servers :: Synchronizing Users Across Servers?

Oct 1, 2010

I wonder if other people have this problem. sometimes I need to duplicate most or all of a server from one machine to another. part where I most tend to have issues is with recreating the users. Sometimes the UIDs don't match up because of differences between the two systems, which gives funky results, like files owned by the wrong user.

Or, sometimes, I just need to create the same 10 users on x number of machines, and it's tedious to do this 10x times. Plus, then, if you need to change a password or delete a user, you have to do it x times.Any recommendations on how to centralize users/auth?

View 3 Replies View Related

Programming :: Bash: Integrate The Area Of A Sound?

Jan 21, 2011

I would like to finish some work on some audio sound treatments... based on user voice.

I have an issue with how to integrate the area of a sound.

find in the jpg how to bash program would work. someone code the program in Perl or Python or Bash ?

The idea is to put always the maximum peak to 1000 or 100, so that we have an arbitrary unit (based on the max value)

Ref: [URL]

View 4 Replies View Related

Programming :: Playing Sound In Javascript And HTML5?

Jan 14, 2011

I can play a sound on my local machine using the following code, but when I upload to a server the same code it does not play. I cannot work out why, the link below gives the code. The multi channel code is here:

[URL]

Code:
<audio id="multiaudio1" src="audio/flute_c_long_01.wav" preload="auto"></audio>
<audio id="multiaudio2" src="audio/piano_chord.wav" preload="auto"></audio>
<audio id="multiaudio3" src="audio/synth_vox.wav" preload="auto"></audio>
<audio id="multiaudio4" src="audio/shimmer.wav" preload="auto"></audio>

[Code].....

View 4 Replies View Related

Programming :: Synchronize Sound Cards On Different Computers?

Dec 27, 2010

I've written a "C" program which transmits audio to a number of computers over a TCP LAN connection. I'm using ALSA, the preemptive kernel, and pthread. After running for 30 minutes or so the slight variation in sampling rates (~+-.01%) among the computers accumulates and manifests as a noticeable differential delay in the sound from the speakers. I know how to detect the variation and would like to dynamically compensate for it by individually varying the sampling rate (ever so slightly) of each playback device to oppose the variation.

Does anybody out there in Linux Land know how to dynamically vary the playback sample rate? I've tried using snd_pcm_hw_params_set_rate() and snd_pcm_hw_params_set_rate() followed by snd_pcm_hw_params() to no avail. They don't seem to work when playback is running.

View 8 Replies View Related

Ubuntu :: Sound: Mic Doesn't Work - Audio Input Level Graphically Shown In Sound Preferences Shows No Fluctuations In Sound

Aug 3, 2010

I was just using the mic and watched it stop working suddenly. I was in the middle of a skype test call when the graphical mixer level died down to zero in the middle of the call. When the test call was played back, the first part sounded fine then the sound got lower until it became inaudible. Since then I can't get any sound from my mic in skype.

Also, the audio input level graphically shown in Sound Preferences shows no fluctuations in sound as it used to before. The input device is enabled. I tried using Sound Recorder to record some sound clips and that worked fine. So the mic is working but Sound Preferences and Skype seem to have the mic level really low. I'm not sure what else to think considering it was working perfectly a few minutes ago. I've tried restarting, but that didn't fix it either.

View 4 Replies View Related

Debian Programming :: Play Beep / Alert Sound When Somebody Joins LAN

Aug 23, 2013

Code handy which could play a beep/alert sound when somebody (any user) joins your LAN. Or as second-hand choice, if this is too hard, to play a beep when X terminal windows writes some output lines.

View 2 Replies View Related

Programming :: Find Sound Device - To Work On An Embedded Board ?

Feb 1, 2010

I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with:

The hardware manufacturer assures me the device is hw:0,0 so I set device to:

This gives me:

So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.

View 2 Replies View Related

Programming :: Play Multiple Sound Streams On ALSA Dmix?

Jul 31, 2010

I'm having trouble getting ALSA to play multiple sound streams (multiple sounds at once). My code is running on an embedded ARM board using a AC97 sound. It will only play one without any mixing, I have to use pure ALSA as higher sound mixers are a nightmare to cross compile for ARM. I've tested my system with aplay for example

aplay -D plughw:0,1 bang.wav

works fine. So I tried dmix with

aplay -D plug:dmix Win.wav

That gave the following error

ALSA lib pcm_direct.c:1587snd_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
aplay: main:550: audio open error: Invalid argument

I checked asound with

/etc # cat asound.conf
pcm.EP93XX {
type hw

[code]....

Does this mean dmix will not work? Is there someway with the above setup I can play multiple sounds? I have to use the vendor ALSA build (so can't update ALSA), I can change the .confs however. Also because I'm cross compiling things like pulseaudio SDL are very difficult to get working, so I basically need to use the above ALSA. Is there anyway I can find if dmix exists on the system?

Should add aplay -L does show dmix ?
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'

[code]....

View 3 Replies View Related

Programming :: Real Time Application - Make Sound Equalization

Nov 28, 2009

An application that can make sound equalization but I couldn't find any powerful tool so I decided to do one my self I know it will be very hard task but their is no other solution my program will do some audio effects like (echo, repeat, trible, bass, filtering, fading,...)and (fft,addition,....), I will take the signal from the mic and put it on the speaker after my operation is done I think I must take into consideration that application is a real time but i don't know what to do! i don't know should I use java or C/C++! I don't know how to deal with the audio driver (take signal from mic and put it on the speaker)

View 10 Replies View Related

OpenSUSE Hardware :: Sound With New Sound Card - Web Browser Is Unable To Play Any Sound

Mar 24, 2010

After installing an external sound card, Im having some weird issues. The cards chipset is fully supported by suse, (CM8738) so I dont think thats the problem. Besides, I'm getting sound, but not in some applications. The system's sounds work just fine (login, logout themes) amarok plays without any problems, kaffeine, mplayer they all work flawlessly, in fact I can see the difference in quality between the onboard sound and my new card. However, no web browser is able to play any sound at all, firefox, opera or chrome, nothing,zip. Plus, vlc cant reproduce sound either, nor can smplayer.

I've tried switching channels on and off(muting)in kmixer and in alsamixer, on the console, with no results. I disabled the onboard audio on the bios before installing the new card, however my ati video card has integrated sound, which I cant disable.... I used to get this exact same problem randomly with the onboard sound, but I just had to go to kmixer and turn up the "pcm" channel volume, which was set to 0, and I had sound again on my browser. However this card's pcm channel is at max and turning it up or down affects the whole systems volume, not just the browser's. Is it better to just reinstall the sound system, if so how could I do that.

View 7 Replies View Related

Programming :: Getting A Open Source Sound File Format For Bitwise Editing?

Feb 19, 2011

I was wondering, what would be a good, open-source file format for a beginner in the field, like me, to start editing sound files? This file format would have to be well documented, preferibly open-source, lossless and, most of all, convertible to more popular file formats, such as mp3 or wav maybe. I would like to design my own sound effects through directly editing the binary sequence of a sound file. I imagine this editing would have the purpose of adjusting the voltage variations of the sound device's output in time. It would be perhaps something like a PC-controlled signal generator. I'm thinking I might be able to do this in linux with something like

Code:

$ dd if=mysound.raw of=/dev/audio

But then, which book or resource woule be a good and through explenation of the relationship between the bit sequence in mysound.raw and the signal function generated in the output of, say, my computer's sound card.

View 10 Replies View Related

Programming :: Tail The Message Log| Grep - Several Words - Play A Sound When It's Found

Jul 4, 2011

I'm trying to write a script that will either tail or watch /var/log/messages for the words

PHP Code:

signal Gone into alarm state

From this line below.

I would then like the script execute:

And have run at start up.

I'm stuck with grep-ping only one word

PHP Code:

View 14 Replies View Related

Software :: No Sound With Diamond Xtreme Sound 5.1 Sound Card - PCI Port?

Jul 28, 2009

I bought a Diamond Xtreme Sound 5.1 sound card because I had read online that this card was a good choice with Linux and came with universal driver software. I installed the hardware correctly (as it works with WinXP) but I'm not able to get it working with Ubuntu.

View 1 Replies View Related

OpenSUSE Install :: Eee Pc Starts Makes The Start Sound And Then The Good Bye Sound And Repeats That?

Apr 25, 2010

I've got an urgent problem! I had some viruses as my program told me and in the end I had to restart my eee pc!Problem is now after it starts and you click on the log me in icon for the netbook it makes the nice hello sound, takes some time and then does the shut down (goodbye) sound. So basically the netbook booted already right? But I cant log myself in! What can I do?

View 9 Replies View Related

Ubuntu Multimedia :: Unable To Hear Any Sound At All Using M-audio Delta 44 Sound-card

Jan 3, 2010

I am unable to hear any sound at all using my M-audio delta 44 soundcard (which works fine in Windows - Dual boot).how I can get this working?

View 4 Replies View Related

Ubuntu Multimedia :: No Sound Coming From Creative Labs XiFi Sound Card

Dec 20, 2010

I have been using Ubuntu as my main OS on my desktops for a couple of years now. Started off with a HP with a Creative Labs XiFi soundcard, but am now using a Dell with a Creative Labs Audigy. Sound worked perfectly on the Dell since a clean install (about 7 months ago). I turned it on a week or so ago, and no sound! Even the little sound indicator in the notification area has gone.

View 8 Replies View Related

Ubuntu Multimedia :: Via Vt1708s Azalia No Sound When Starting Jack Sound Server?

Jun 7, 2011

After installing I was not able to get many of the audio programmes to work. After some reading, I realised that this was probably due to jack not starting.

I was unable to get jack to start normally but have been able to get it started with the playback only option selected. Programmes that use jack now work, however there is no sound once jack has been started. The sound does work in other programs when jack is not started. Strangely, I only have to open qjackctl for the sound to stop, and jack is not even started. Initially I thought these problems were due to my sound card not being supported, but I believe that alsa support was added for the via 1708 codec at some point. I found that support had been added in a document showing the changes between alsa versions; however I cannot find the exact model listed as a supported sound card on the alsa site.

I believe that altering jack settings could fix the problem, as i have been able to get audio to work in hydrogen by selecting plughw:0 but there is still no sound in other programs. I have tried altering many other settings but to no avail, however I do not really understand the meaning of the settings that i am adjusting.

Does anyone know what settings to adjust or know something else that might fix this problem so that sound works once jack has been started?

Also, would programmes that use jack such as audacity, hydrogen, and ardour work with pulseaudio as the main sound server if I were to install normal ubuntu - it might be worth seeing if my soundcard works with the puleaudio sound server

if this helps, here is the error message received when jack does not start when the normal duplex option is selected.

21:24:04.867 Patchbay deactivated.
21:24:04.868 Statistics reset.
21:24:04.886 ALSA connection change.
Cannot connect to server socket err = Connection refused

[Code].....

also, when i open alsamixer in the terminal for some reason the headphone part is greyed out, even when the sound is working before qjackctl is opened.

View 4 Replies View Related

Debian Multimedia :: Got Slim Running - No Sound, On Gdm3 Sound Works?

Jul 5, 2011

Running Compiz as a standalone WM.Managed to get Slim working, will post how later, but have no sound. If I boot using gdm3 the sound works. Obviously gdm3 loads something Slim doesn't, but can't workout what!Tried adding /usr/bin/pulseaudio --start --log-target=syslog & to my script - no dice, still no sound

View 2 Replies View Related

OpenSUSE Hardware :: Sound Card - Couldn't Get Sound Out - Get Sliders Back?

Mar 7, 2010

I installed Mangler and one of its requirements was pulse-audio. I installed pulse-audio everything worked great except i couldn't get sound out of wow if i started mangler first and vice-versa. I then found a version of Mangler that worked with alsa. So i uninstalled mangler and pulse-audio, installed mangler-alsa. Everything works great now. The problem is when i uninstalled Pulse-audio i lost all my sliders in Yast > Hardware > Sound > other > volume. The only thing that shows up is master volume > Test. My sound works great just can't adjust anything. How do i get my sliders back. I would like some advice before i screw something up. (lol) My Sound card is according to sound configuration SBx00 Azalia(Intel HDA) - Driver snd-hda-intel.Opensuse 11.2 KDE 4.3.5

View 2 Replies View Related







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