[Audio-engine-dev] Suggestions to completely Free the JavaSound implementation
Peter Salomonsen
contact at petersalomonsen.com
Thu Oct 11 03:51:05 PDT 2007
Hi,
As for hickups - this again relies of the audio driver - where Frinika
provides a realtime priority driver on Linux - making Gervill run entirely
without hickups on my 2 year old amd64 single core computer (800 MHz in
powersave mode). Latency about 11 ms.
My experience with softsynths in java is very good in fact - first versions
of Frinika, used to run on 700 MHz Pentium III - and no glitches or problems
whatsoever. Could be used for live performance. Benchmarks also show that
number crunching in Java is very fast.
For the future - Just In Time (JIT) compiled code will be better since there
are a variety of configurations. Precompiled C code for i.e. i386 will not
run optimal on todays dual core processors, while code in Java or .Net will
(since optimization is done on the fly).
And the fact that it is the Java language - we're talking about a soft synth
for java - why shouldn't it be written in Java..
See Gervill in action using the latest version of Frinika:
http://sourceforge.net/project/downloading.php?group_id=131823&use_mirror=osdn&filename=frinika-gervill.ogg&89944680
This is a live recording ...
cheers,
Peter
On 10/6/07, King InuYasha <ngompa13 at gmail.com> wrote:
>
> As far as I can tell, PulseAudio mixing for JavaSound has not been ever
> implemented. I don't think that Gervill would be the right choice for the
> required JavaSound MIDI server, but I do think it is a good project. I think
> Timidity is better because most distros already integrate it, it is
> lightweight, supports a variety of outputs, and is very fast, and Java
> unfortunately has a rather bad reputation of being really slow... I am not
> saying that Gervill is bad, on the contrary, it is a nice MIDI sound
> synthesizer. I just think TiMidity++ would be a better choice... Though if
> Gervill can run as MIDI sound synth on standard MIDI port efficiently
> without hiccups, then I think it would work. It should be able to work on
> computers 5 years old without any hiccups. And my test of Gervill on my 4
> year old laptop proved otherwise. It was worse than FluidSynth and
> TiMidity++. TiMidity was the fastest and most fluid, while FluidSynth was
> rather hiccupy, but it didnt eat up too much CPU power.
>
> On 10/5/07, Peter Salomonsen <contact at petersalomonsen.com> wrote:
> >
> > Hi,
> >
> > I consider audio output mixing more like a job for the Javasound Mixer
> > implementation than a software synthesizer impl. There are many
> > implementations for javasound mixers. For example - I've been working on a
> > Javasound mixer implementation supporting jack ( jjack.berlios.de). A
> > similar implementation supporting the Audio interfaces you suggest should be
> > possible (maybe they even exist already)
> >
> > regards,
> >
> > Peter
> >
> > On 10/5/07, King InuYasha <ngompa13 at gmail.com> wrote:
> > >
> > > Yes, but does Gervill support mixing the audio output? Gervill seems
> > > like a great choice, but being able to mix into PulseAudio would be
> > > important, and afaik, the site does not say anything about its ability to
> > > work through PulseAudio. Noting that I did not mention ESD, ESD has been out
> > > of development for a few years now, and PulseAudio being a better
> > > replacement for it, Fedora is switching and GNOME is considering getting rid
> > > of the ESD requirement for GNOME, and perhaps they will put PulseAudio as
> > > the requirement instead...
> > >
> > > On 10/4/07, Peter Salomonsen < contact at petersalomonsen.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > >
> > > > On 10/4/07, King InuYasha < ngompa13 at gmail.com> wrote:
> > > > >
> > > > > As for a software synthesizer, I think that TiMidity++ (
> > > > > http://timidity.sourceforge.net/) would be the best choice for the
> > > > > job.
> > > > >
> > > > >
> > > >
> > > > Gervill does the job perfect. It's also more interesting I think,
> > > > since it's pure java. The performance of Gervill is great - I'm already
> > > > using it for music production. Low latency, great soundbank support - great
> > > > sound.
> > > >
> > > > It's available in Frinika which is a pure java
> > > > sequencer/studio/synth software. I vote for Gervill to replace the current
> > > > javasound synthesizer.
> > > >
> > > > regards,
> > > >
> > > > Peter Salomonsen
> > > >
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/audio-engine-dev/attachments/20071011/44f38739/attachment.html
More information about the audio-engine-dev
mailing list