Questions tagged [gervill]

12 questions
13
votes
2 answers

Java MIDI audio is delayed after laptop comes out of hibernation

I'm developing a music programming language, and using the JVM (via Clojure) to play musical scores written in this language. So far, we are just using the javax.sound.midi MidiSynthesizer to play the scores. Because Clojure has a slow startup time…
Dave Yarwood
  • 2,866
  • 1
  • 17
  • 29
5
votes
0 answers

Use ASIO with Gervill Synthesizer in Java

I am using Gervill's software synthesizer to load an SF2 soundbank, and play music from a Midi keyboard, and I was wondering if it's possible to play the output through ASIO, probably through JAsioHost. I've been trying to look through the Gervill…
Josh Wood
  • 1,598
  • 3
  • 16
  • 21
3
votes
0 answers

Gervill and SF2 sound incorrectly on some midi files

I would appreciate your ideas on the attached source code / problem. The code below works fine for most midi files. However, some sound incorrectly. They produce a sort of Wha-Wha sound. I was able to circumvent the problem for pure Piano pieces…
1813222
  • 302
  • 3
  • 12
2
votes
1 answer

Where is sound output on openjdk gervill software mixer

I was looking at the gervill code as used in the openJDK, because I wanted a mixer that is not directly dependent on any external libraries. I guessed that the mixer outputs raw audio data somewhere that can be send to actual sound hardware or…
zu1b
  • 422
  • 5
  • 11
2
votes
0 answers

Can we create our own composition using Soundfont and JFugue?

Can we create our own composition using Soundfont? I am using Tabla Soundfont along with JFugue to create the new composition and play it. But after loading the instruments from the Soundbank the program still plays the default sound of Piano.How to…
SubodhD
  • 306
  • 5
  • 16
2
votes
1 answer

Add multiple samples to one instrument in Gervill SF2Soundbank

I am using Gervill to create a soundbank with instruments. I've recorded a sample for each tone pitch and now I'd like to put these samples into one instrument. The documentation that I used so far are tests from the openjdk6 source code. Apart from…
Amelse Etomer
  • 1,253
  • 10
  • 28
1
vote
2 answers

Simple help on Gervill with SF2 soundbank

I have download Grevill gervill.jar and with my existing code follow from: http://www.jsresources.org/examples/MidiPlayer.html Could anyone spare a little effort to write a tutorial on loading SF2 soundbank? I would cry without a tutorial on the…
Proyb2
  • 995
  • 6
  • 13
  • 35
1
vote
1 answer

Where does the java 7 gervill soundbank live on Windows

The java 7 gervill soundbank lives in directory .gervill on MacOSx. What is the corresponding location on Windows? Also, does anyone know why the default sounds are different on these two platforms
Bob Keller
  • 61
  • 4
0
votes
1 answer

Java Gervill Software Synth not working

In JDK8, I can't seem to get any useful data out of the AudioInputStream created by a SoftSynthesizer. AudioSynthesizer s = new SoftSynthesizer(); AudioFormat format = new AudioFormat(44100, 16, 2, true, false); AudioInputStream stream…
Bloc97
  • 274
  • 1
  • 13
0
votes
1 answer

Gervill for Oracle Java?

Gervill is said to be created for the opensource JDK but is it compatible for Oracle Java?
Proyb2
  • 995
  • 6
  • 13
  • 35
0
votes
1 answer

jFugue + Gervill: using different soundbanks the sounds doesn't change

I'm trying to use jFugue + gervill to create music with Java 7. I've the following code Soundbank soundbank = MidiSystem.getSoundbank(new File("/home/morelli/tmp/SoundBanks/JR_elepiano.sf2")); Synthesizer synt = MidiSystem.getSynthesizer(); …
Enrico Morelli
  • 185
  • 3
  • 16
-1
votes
1 answer

MIDI output on more than 16 channels in Java soft synthesizer

A MIDI channel administers parameters such as sound, panning, volume etc.; thus for ensemble music, each of its real instrument should be represented by a channel of its own. If more than 15 non-percussion instruments are involved, a single MIDI…
aws
  • 1
  • 1