I wanna know how can I create sounds in LINUX with different frequencies using C++ libraries ? Is there any library for audio programming ( specially creating sounds with different freqs ) in C++ ?
How can I simulate piano and other musical instruments(MIDI) sounds using C++.
[EDIT] for example I want to create A Major with different ...
I have this email >>
Hi foks, I have compiled Mesa Cell driver, and it is great!
can I use this, rather than ps3fb for video driver?
thanks so much
and sorry my bad english.
answer
>
No. The ps3fb driver and Mesa Cell driver are totally different things.
-Brian
another question.
Hi, thanks for yo...
I know that / is illegal in Linux, and the following are illegal in Windows (I think): * . " / \ [ ] : ; | = ,
What else am I missing?
I need a comprehensive guide, however, and one that takes into account double-byte characters. Linking to outside resources is fine with me.
I need to first create a directory on the filesystem usin...
My goal is to hop on to C++ programming language by doing a homework project on linux mint and learn some linux & c++ at the same time.
I intend to write a small desktop application to show current network traffic ( like DU meter in windows). I have following questions:
I noticed in mint there is an application called 'System Monitor'...
which GUI based C++ IDE is commonly used for developing gnome applications?
I am asking specifically for the gnome-system-monitor because I would like to fiddle around with it. And I would like to do it with a nice GUI based C++ IDE.
I thought that Anjuta is the default IDE for gnome applications. But when I fetch the sources there are...
I created a new project and a new class in eclipse in my ubuntu machine to write the simple Hello World program. It works fine as long as i write the main method and use System.out.println to print my "Hello World". but i want to use the acm.jar package so I imported it to my project and tried to extend the ConsoleProgram class in acm.j...
How can I chop out the text, returned by find, after the last "/" ?
$ find home/a/misc/ -type f
home/a/misc/6
home/a/misc/5
home/a/misc/2
I can do it by piping cut -d"/" f4 to the find command but problem is that the folder misc
folder is not always there in folder a. It can be in like /home/a/b/c/d/e/. In that case it will return the...
I am going to apologize in advance for being extremely vague, but my knowledge in this area is somewhat limited so I don't know the neccessary "keywords" to make my point/question clear. Sorry.
What I want to do is to find a way to obtain access to raw audio data as it is being output, say, when some external application is playing back...
Hi everyone!
I have a wxPython application that needs to know when a certain file gets deleted, but I'd like to do it without having to use a "polling" technique.. Since this is a Linux-only app, I thought I could use GIO, but it looks like it needs a call to gtk.main() and I can't do that because that'd stop the execution flow on the wx...
Is there a Linux library that will enable me to tell what IP sockets are owned by what processes? I guess I'm looking for the programmatic equivalent of lsof -i. Ultimately, I want to correlate packets seen through libpcap to processes.
UPDATE: A couple of people have suggested using /proc/<pid>/net/tcp and udp, but on my system, the sa...
I'm using long double in a C program to compute 2D images of the Mandelbrot Set but wish to have further precision to zoom deeper.
Are there any performance gains to be had from an arbitrary precision maths library that can restrict the amount of precision as required, rather than leaping from long double precision straight into arbitra...
Hi I'm used shared hosting. I want to turn off php safe_mode off for my site. My provider gave me a php.ini file and asked me to put it with my settings in my public_html folder to override the settings, but it didn't work.
...
Consider a sparse file with 1s written to a portion of the file.
I want to reclaim the actual space on disk for these 1s as I no longer need that portion of the sparse file. The portion of the file containing these 1s should become a "hole" as it was before the 1s were themselves written.
To do this, I cleared the region to 0s. This d...
Is there any way of writing pexpect like small program which can launch a process and pass the password to that process?
I don't want to install and use pexpect python library but want to know the logic behind it so that using linux system apis I can build something similar.
...
Greetings,
I'm trying to make use of the Pulseaudio APIs under Fedora Core 12. To do a simple recording client, you're supposed to include these headers:
#include <pulse/simple.h>
#include <pulse/error.h>
#include <pulse/gccmacro.h>
However, I don't know where these files are under a stock FC12 installation. Any help would be appre...
Whenever I close my Gtk# application, I get this:
(/home/matthew/opensbs/OpenSBS/bin/Debug/OpenSBS.exe:5050): GLib-WARNING **: g_set_prgname() called multiple times
(/home/matthew/opensbs/OpenSBS/bin/Debug/OpenSBS.exe:5050): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
(/home/matthew/opensbs/OpenSBS/bin/Debug/Op...
Hi
Is there a way to prevent users from locking up a linux machine with code something along the lines of:
#import <stdio.h>
int main (int argc, char** argv)
{
while (1)
fork();
}
The computers in question are in a computer lab, so I can't exactly disallow compiling... but is there some way of ensuring such processes only...
I installed jdk1.6.0_16 on enterprise linux 4 and I also set teh JAVA_HOME in my ~/.bash_profile
echo $JAVA_HOME correctly shows the new path of the java file
export JAVA_HOME=/jdk16/jdk1.6.0_16/bin/java
The bin directory is also int he path
However when I do java -version I still see java version "1.4.2"
How do I see newly install...
can i use linux os for my mobile.I want to buld a small linux us for my mobile or any other hardware .
...
Hi.
For a project I'm working on I have to talk to a multi-function chip via I2C. I can do this from linux user-space via the I2C /dev/i2c-1 interface.
However, It seems that a driver is talking to the same chip at the same time. This results in my I2C_SLAVE accesses to fail with An errno-value of EBUSY. Well - I can override this via ...