Beta Porting Qsynth & Fluidsynth With Yactfeau


cooldude2k

Member
Joined
Jul 24, 2008
Messages
53
Age
36
Location
Illinois, USA
Website
repo.openpandora.org
I don't have a Pandora right now (I'm on the 2nd batch) so I can't test this.
I was able to compile QSynth & FluidSynth but it dose not show up as reported here.
http://dl.openhandhelds.org/cgi-bin/pandora.cgi?0,0,0,0,6,360
I used Yactfeau and did everything he said to do.
http://www.gp32x.de/board/index.php?/topic/58490-yactfeau/
Here is download link (The one at openhandhelds.org has not updated yet)
http://www.mediafire.com/?9eu25e3e0n1o9z1
EDIT UPDATED to Qsynth 0.3.6
 
Last edited by a moderator:
Nice work. :) It's running, with some issues. It opens with an error:

Code:
Failed to create the MIDI driver (alsa1)

No MIDI input will be available

Clicking past this, the interface is on screen and by all appearances working normally. Touchscreen control works very nicely! :) I clicked Settings, it let me browse the tabs, then when closing that it said:

Code:
Failed to create the audio driver (jack).

Cannot continue without it.
FWIW I was able to keep playing with the UI after that.
 
Thanks Gruso for testing.
I think I might have found the problem I had alsa as midi driver instead of alsa_seq.
I think it should work at least the first error should not happen not sure about the second one.
UPDATED: http://pandora.idb.s1.jcink.com/qsynth-0.3.5.pnd
 
Oh.

[edit] wait. It's not the same error as the first time, my apologies. It is now saying "Failed to create the MIDI driver (alsa_seq)"

That's with or without a USB MIDI interface connected.

[edit 2] Had the idea of running Seq24 first, because it prompts to load a module:

Code:
sudo modprobe snd-seq

After that, Qsynth started up with no MIDI errors (but still with JACK error).

Kazuki, this thread from post #26 may be helpful. :)
 
Last edited by a moderator:
not YET... should I request it? (or for that matter, pulseaudio)? Will be a pretty big brick wall in place for porting audio production programs until Jack is ported...
 
I know, but I think Jack is too heavy for us .. we have to work out a solution, pulseaudio is not it also ..
 
Are you talking compile time configuration or end user configuration? I'm playing with audio output settings but getting nada.

Custom Processing Unlimite said:
not YET... should I request it? (or for that matter, pulseaudio)? Will be a pretty big brick wall in place for porting audio production programs until Jack is ported...
Yeah, I think we need to get together and figure out what we need, then get to work on getting it included. A thread for this might be the go.
 
Last edited by a moderator:
I don't have the qsynth sources in front of me, but you need to configure it to use ALSA for sound instead of Jack .. since we don't have Jack on the Pandora yet.

IRC meet to discuss the issues?
 
Gruso said:
Oh.

[edit] wait. It's not the same error as the first time, my apologies. It is now saying "Failed to create the MIDI driver (alsa_seq)"

That's with or without a USB MIDI interface connected.

[edit 2] Had the idea of running Seq24 first, because it prompts to load a module:

Code:
sudo modprobe snd-seq

After that, Qsynth started up with no MIDI errors (but still with JACK error).

Kazuki, this thread from post #26 may be helpful. :)
I've just compiled fluidsynth with --disable-jack argument.
Try it now. http://pandora.idb.s1.jcink.com/qsynth-0.3.5.pnd
 
Last edited by a moderator:
Kazuki said:
Gruso said:
Oh.

[edit] wait. It's not the same error as the first time, my apologies. It is now saying "Failed to create the MIDI driver (alsa_seq)"

That's with or without a USB MIDI interface connected.

[edit 2] Had the idea of running Seq24 first, because it prompts to load a module:

Code:
sudo modprobe snd-seq

After that, Qsynth started up with no MIDI errors (but still with JACK error).

Kazuki, this thread from post #26 may be helpful. :)
I've just compiled fluidsynth with --disable-jack argument.
Try it now. http://pandora.idb.s1.jcink.com/qsynth-0.3.5.pnd

this version does not seem to be receiving midi data from se24, the previous version did (green pulsing light on the tab on qsynth)

also how can you get it to output sound?

cheers

edit

scratch that it is receiving midi data but how to enable sound need alsa driver?
 
Last edited by a moderator:
if I can find it again sometime soon, I will drop links here about stuff I've read before about getting JACK running on lighter hardware that could possibly be incorporated into porting it... also, I would (off the top of my head) say that we should all dig around the angstrom forums to see if anyone has looked into tackling JACK on a portable device...
 
peelie said:
Kazuki said:
Gruso said:
Oh.

[edit] wait. It's not the same error as the first time, my apologies. It is now saying "Failed to create the MIDI driver (alsa_seq)"

That's with or without a USB MIDI interface connected.

[edit 2] Had the idea of running Seq24 first, because it prompts to load a module:

Code:
sudo modprobe snd-seq

After that, Qsynth started up with no MIDI errors (but still with JACK error).

Kazuki, this thread from post #26 may be helpful. :)
I've just compiled fluidsynth with --disable-jack argument.
Try it now. http://pandora.idb.s1.jcink.com/qsynth-0.3.5.pnd

this version does not seem to be receiving midi data from se24, the previous version did (green pulsing light on the tab on qsynth)

also how can you get it to output sound?

cheers

edit

scratch that it is receiving midi data but how to enable sound need alsa driver?
You need to load a SoundFont file.
Download this file:
http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.43-FluidSynth.zip
unzip and copy GeneralUser GS FluidSynth v1.43.sf2 to your sd card.
In qsynth goto setup / SoundFonts and load that file.
Updated qsynth now it will ask to load snd-seq module if its not already loaded.
 
Last edited by a moderator:
Kazuki said:
peelie said:
Kazuki said:
Gruso said:
Oh.

[edit] wait. It's not the same error as the first time, my apologies. It is now saying "Failed to create the MIDI driver (alsa_seq)"

That's with or without a USB MIDI interface connected.

[edit 2] Had the idea of running Seq24 first, because it prompts to load a module:

Code:
sudo modprobe snd-seq

After that, Qsynth started up with no MIDI errors (but still with JACK error).

Kazuki, this thread from post #26 may be helpful. :)
I've just compiled fluidsynth with --disable-jack argument.
Try it now. http://pandora.idb.s1.jcink.com/qsynth-0.3.5.pnd

this version does not seem to be receiving midi data from se24, the previous version did (green pulsing light on the tab on qsynth)

also how can you get it to output sound?

cheers

edit

scratch that it is receiving midi data but how to enable sound need alsa driver?
You need to load a SoundFont file.
Download this file:
http://www.schristiancollins.com/soundfonts/GeneralUser_GS_1.43-FluidSynth.zip
unzip and copy GeneralUser GS FluidSynth v1.43.sf2 to your sd card.
In qsynth goto setup / SoundFonts and load that file.
Updated qsynth now it will ask to load snd-seq module if its not already loaded.

thanks

but now error message is 'failed to create alsa driver' ?

cheers
 
Last edited by a moderator:
Yep, now asks to load snd-seq on startup. Still getting the Jack error. Thanks for the soundfont, got that loaded up in the settings too. As before, it's receiving MIDI from Seq24, but still no sound. I'm getting the occasional app freeze too, requiring a kill.

Turning my attention to the Audio settings... alsa is selected, I'm wondering if 'audio device' needs to be specified too? Doing some digging on this now.

Thanks for the continued updates, must be frustrating working blind.

[edit] Based on info here and here I've set audio device to hw:0,0

That doesn't produce an alsa driver error like most of the other garbage I type in there does. Still no sound though. When MIDI is playing, the Qsynth message window repeats "Warning: Failed to allocate a synthesis process" for a while, then "Warning: Ringbuffer full, try increasing polyphony!"
 
Last edited by a moderator:
Back
Top