Hi!
Sorry for the english .. :-)
SoundFontCombi takes the advantages of ALSA sequencer and the wavetable
devices for emulate a synthetizer.
I'm not programmer, this program dont have project page, CVS, or mailing list,
is in proof of concept rigth now. And only the binaries are available. Is my
first program in C++, my first graphic program for *nix, and belive me the
source code needs a "making up" rigth now. Maybe next month when i learned
how to do a Makefile :-)
SoundFontCombi was tested in Debian sid and Gentoo.
Requires FLTK v1.x.x (tested on v1.1.1) and ALSA with sequencer.
The binaries are available in :
http://personal.telefonica.terra.es/web/soudfontcombi/sfc-v0.005.tar.gz
Any commets will be apreciated.
Josep
Hello,
How can I make Jackd always run? Right now I have to set it up in a
console window. I'd like to learn how to run it always at startup and
not have to start/stop it when I need it.
Also how do you use Jack in real-time mode? In order to run it I have to
be root, but if I run it as root, nobody else can see Jack unless they
are also root.
I wish somebody would write a Jack-HOWTO so dummies like me can figure
out how to run this thing.
Thanks
More like a golden buddha child but hey...
I got them all working, it was problemos in my plugin manager code. The
plugins were fine.
Are you itching to know what the problem was? I'll tell you.
There is the mysterious number called NAN.
I found out where NAN was coming from.
I was calculating the log(number) to put in the control value The
culprit number=>0. Put 0 into log, and it makes NAN. Put NAN into plugin
dry/wet mix control, and plugin makes zillions of NANs. And all those
NANs will make your computer run slower than an Atari 800. What's even
worse is trying to convert NAN to an integer and play it on a sound
card.. I guess between the massive buffer underruns and trying to
synthesize all NANs was why I was hearing the most horrible noises I
ever heard in my life. I have no idea what NAN becomes when you cast it
to an int. Some demon posessed number I suppose. It doesn't sound like
white noise either.
If you want to hear the most hideous noise try it. Put log(0) into a
control volume and watch what happens. Try it with about 15 plugins at
once. It is super loud too.
I am sure it will destroy your speakers too. Don't try it with expensive
speakers.
Now which controls do it? A good many of them. It's not really a design
defect of the plugin programmer. I am sure, they don't expect anyone but
an idiot to put NAN into the control value. I didn't do it on purpose!
It was a mistake! A simple error on my part.
I hope somebody else has done this by accident too.. it'll make me feel
better...
I got my app to host plugins, but I am having problems figuring out how
to filter plugins out that won't work in my app. I only need F/X
processors. If a plugin does not process an audio stream, or is used
only for synthesis, or has peculiar controls that are not defined in the
hints, than I want to ignore them.
Is it possible? How can I find out how a plugin is used? I am reading
the API header but it's not entirely clear what properties determine how
a plugin is used or how I can tell if a plugin won't work for my app.
Thanks
>>On Tue, Apr 15, 2003 at 10:22:40AM -0400, Dave Phillips wrote:
>>> Nick's advice to upgrade my compiler is timely (I'm using GCC 2.96 from
>>> RH 7.2) but unfortunately I can't make the switch right now. If there's
>>> an obvious (or non-obvious) solution to my dilemma I'd be happy to hear
>>> of it.
The redhat rpms work fine side by side. gcc3 is the default (/usr/bin/gcc). To
use 2.96, you have to change your Makefiles to CC=gcc296, or set the env var
and then just make. I've had no problem with executables from either compiler
finding the correct runtime libs.
The rpms are:
compat-gcc-7.3-2.96.110
gcc-3.2-7
They are from the redhat 8.0 distribution but my system is a mismash, 7.0
with many upgrades.
HTH
Hi all,
I am doing a modest partial MWPP implementation for a networking class
and I want to demo it for the professor and class, but am not keen on
carting my midi keyboard around campus if I can help it. Realtime would
of course be nice, but a pre-recorded sound file would be ok too. I
thought timidity++ would be a reasonable way to do this, but
unfortunately timidity sounds _awful_ when used as an ALSA sequencer
client, even when I'm feeding it with pmidi (i.e. I've ruled out network
jitter). It's very jittery. pmidi or my own program going to the
hardware midi port has no such jitter.
Is there a setting to make timidity behave better? I've tried a few
things (like -B 0) but to no avail. What's more, I can't get timidity to
output to a file with the -iA switch even if I do get the jitter down.
Alternatively, and probably more cool, I could create an SMF and play it
with timidity or playmidi or make a sound file with csound or something.
I like the csound option. :) Is there something out there that will take
midi from the ALSA sequencer and create an SMF?
Thanks,
Hans
--
Hans Fugal | De gustibus non disputandum est.
http://hans.fugal.net/ | Debian, vim, mutt, ruby, text, gpg
http://gdmxml.fugal.net/ | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460
> Hans Fugal <hans(a)fugal.net>
>
> I am doing a modest partial MWPP implementation for a networking class
> and I want to demo it for the professor and class, but am not keen on
> carting my midi keyboard around campus if I can help it. [...]
Sfront has a pre-IETF-era version of MWPP, and a bunch of demos
that ship to show it off (including a 2-person interactive session
demo). These are all under sfront/examples/rtime ... mirror, nmp_audio,
nmp_null, and nmp_stream. The demos use -cin ascii for real-time input
via the ASCII keyboard, and nmp_stream streams an SMF out.
The trick here will be that, as written,
the MWPP network drivers look to a SIP server at Berkeley to do the
session setup, which has random non-standard hacks in it to do NAT
breaking and MD5-based authentication -- the code is a few years old,
and pre-dates the IETF standards to do those things. So, you'll either
need to hack sfront networking to match your implementation, or hack
your implementation to work with the Berkeley SIP server (the former
is probably much easier ...). Let me know if you want to go this route
and I can offer advice ...
--jl
-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------
Has anybody investigated the Gibson MaGIC protocol for use on Linux? It looks like a perfect match: lots of audio channels and control data over CAT5. Just buy a separate network card, port their protocol to Linux, and then you could use their 16-in 16-out box, or get input directly from one of their new guitars with the RJ45 port on it. The The only scary bit is that the license is free "for the next10 years" only.
-Ben
Greetings:
I'm trying to compile the Teknocomposer software but have run into a
problem that Nick doesn't know what to do about (beyond suggesting I
update my compiler). Here's the failure point:
make[2]: Entering directory `/home/dlphilp/teknocomposer/teknocomposer'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fno-exceptions -fno-check-new
-fexceptions -c MainWindow.cxx
MainWindow.cxx:405: parse error before `{'
MainWindow.cxx:410: destructors must be member functions
MainWindow.cxx:410: virtual outside class declaration
MainWindow.cxx:418: parse error before `}'
MainWindow.cxx:420: syntax error before `*'
MainWindow.cxx:424: invalid use of undefined type `class
AppSoundDriver'
MainWindow.cxx:404: forward declaration of `class AppSoundDriver'
MainWindow.cxx:435: invalid use of undefined type `class
AppSoundDriver'
MainWindow.cxx:404: forward declaration of `class AppSoundDriver'
MainWindow.cxx: In method `AppSoundDriver::~AppSoundDriver ()':
MainWindow.cxx:443: `sizeof' applied to incomplete type
`AppSoundDriver'
MainWindow.cxx: At top level:
MainWindow.cxx:446: invalid use of undefined type `class
AppSoundDriver'
MainWindow.cxx:404: forward declaration of `class AppSoundDriver'
MainWindow.cxx:464: invalid use of undefined type `class
AppSoundDriver'
MainWindow.cxx:404: forward declaration of `class AppSoundDriver'
MainWindow.cxx:471: invalid use of undefined type `class
AppSoundDriver'
MainWindow.cxx:404: forward declaration of `class AppSoundDriver'
MainWindow.cxx: In function `int main (int, char *)':
MainWindow.cxx:2508: `theSoundDriver' undeclared (first use this
function)
MainWindow.cxx:2508: (Each undeclared identifier is reported only once
for each function it appears in.)
MainWindow.cxx:2508: parse error before `('
make[2]: *** [MainWindow.o] Error 1
make[2]: Leaving directory `/home/dlphilp/teknocomposer/teknocomposer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dlphilp/teknocomposer'
make: *** [all-recursive-am] Error 2
The specific code block looks like this:
/////////////////////////////////////////////////////////////////////////////
class AppSoundDriver : public SoundDriver
{
public:
AppSoundDriver(REAL sample_rate, int num_channels);
virtual ~AppSoundDriver();
// this is called to fill buffer with len samples
void Run(REAL * buffer, uint32 len);
void Start();
void Stop();
};
AppSoundDriver * theSoundDriver;
AppSoundDriver::AppSoundDriver(REAL sample_rate, int num_channels)
{
printf("Starting Sound Driver...\n");
#ifdef PORT_AUDIO_DRIVER
openPortAudio(this, sample_rate, num_channels);
#endif
#ifdef ALSA_DRIVER
openALSADriver(this, sample_rate, num_channels);
#endif
}
AppSoundDriver::~AppSoundDriver()
{
printf("Closing sound driver...\n");
#ifdef PORT_AUDIO_DRIVER
closePortAudio();
#endif
#ifdef ALSA_DRIVER
closeALSADriver();
#endif
}
//////////////////////////////////////////////////////////////////////
Nick's advice to upgrade my compiler is timely (I'm using GCC 2.96 from
RH 7.2) but unfortunately I can't make the switch right now. If there's
an obvious (or non-obvious) solution to my dilemma I'd be happy to hear
of it.
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
The Linux Soundapps Site at http://linux-sound.org
Currently listening to: Ravi Shankar, "Raga Bilashkani Todi"