Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pro-Audio ebuild and source fixes
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Thu Apr 07, 2011 3:05 pm    Post subject: Reply with quote

Added a special entry for Bristol:

"This isn't an ebuild, but it's convenient to put it here until such a time as I have other miscellaneous files that need their own page or category. This is a basic Fluxbox menu for Bristol, using JACK. After having to re-create this menu so many times while setting up and configuring Gentoo audio machines using Fluxbox as a WM, I thought it might be useful to others to simply download and modify an existing Fluxbox submenu, as there are 36 useful entries."

Also changed my entry for RTSynth:

"Rescued from downed kokkinizita.net. There is a version 1.9.5, and I considered writing an ebuild for it, but personally, I think this soft-synth needs some re-writing and serious support for JACK. If you come up with an ebuild for 1.9.5, though, I'll host it."
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1085

PostPosted: Sat Apr 09, 2011 12:47 am    Post subject: Reply with quote

darkbasic wrote:
sandybridge ~ # eix-update
.. * ERROR: media-sound/kguitar-0.6_pre1 failed (depend phase):
* EAPI=2 is not supported
Ebuild failed with status 1

Should be fixed now. But for me it does not compile now, I guess due to qt4 changes.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
darkbasic
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2006
Posts: 123

PostPosted: Mon Apr 18, 2011 7:20 pm    Post subject: Reply with quote

audiodef wrote:
That's WAY beyond the scope of this thread. :wink:


EAPI <=2 will be banned on 2011-06-01 :wink:
_________________
Computers are like air conditioners:
they stop working properly when you open Windows...

Coltiva Linux, Windows si pianta da solo.


http://www.linuxsystems.it/
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Mon Apr 18, 2011 10:31 pm    Post subject: Reply with quote

Zita Convolver seems to be the wrong url. Tried to install and it didn't download.
And i get this emerging guitarix 0.11.1:

Code:
root /home/aks | emerge guitarix
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/guitarix-0.11.1 from proaudio
 * guitarix-0.11.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                  [ ok ]
 * Package:    media-sound/guitarix-0.11.1
 * Repository: proaudio
 * Maintainer: proaudio@tuxfamily.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking guitarix-0.11.1.tar.bz2 to /var/tmp/portage/media-sound/guitarix-0.11.1/work
>>> Source unpacked in /var/tmp/portage/media-sound/guitarix-0.11.1/work
>>> Preparing source in /var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1 ...
/var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1/wscript: error: Traceback (most recent call last):
  File "/var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1/.waf3-1.5.18-402a8e0721eb718ff717906f130db0f4/wafadmin/Utils.py", line 199, in load_module
    exec(compile(code,file_path,'exec'),module.__dict__)
  File "/var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1/wscript", line 440
    bld.install_files(bld.env['DESKAPPS_DIR'], 'guitarix.desktop', chmod=0644)
                                                                            ^
SyntaxError: invalid token

 * ERROR: media-sound/guitarix-0.11.1 failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_configure
 *   environment, line 2173:  Called die
 * The specific snippet of code:
 *       ./waf configure --prefix=/usr/ || die
 *
 * If you need support, post the output of 'emerge --info =media-sound/guitarix-0.11.1',
 * the complete build log and the output of 'emerge -pqv =media-sound/guitarix-0.11.1'.
 * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
 * The complete build log is located at '/var/tmp/portage/media-sound/guitarix-0.11.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/guitarix-0.11.1/temp/environment'.
 * S: '/var/tmp/portage/media-sound/guitarix-0.11.1/work/guitarix-0.11.1'


Also Rakarrack doesn't find FLTK 1 even if it's installed:
Code:
checking for strstr... yes
checking for XOpenDisplay in -lX11... yes
checking for main in -lXft... yes
checking for main in -lXrender... yes
checking for main in -ldl... yes
checking for main in -lfltk... no
configure: error: FLTK library not found.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-sound/rakarrack-9999/work/rakarrack-9999 ...
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/rakarrack-9999

>>> Install rakarrack-9999 into /var/tmp/portage/media-sound/rakarrack-9999/image/ category media-sound
make -j3 DESTDIR=/var/tmp/portage/media-sound/rakarrack-9999/image/ install
make: *** No rule to make target `install'.  Stop.
emake failed
 * ERROR: media-sound/rakarrack-9999 failed (install phase):
 *   died running make install, base_src_install
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 3350:  Called base_src_install
 *   environment, line  548:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =media-sound/rakarrack-9999',
 * the complete build log and the output of 'emerge -pqv =media-sound/rakarrack-9999'.
 * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
 * The complete build log is located at '/var/tmp/portage/media-sound/rakarrack-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/rakarrack-9999/temp/environment'.
 * S: '/var/tmp/portage/media-sound/rakarrack-9999/work/rakarrack-9999'
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 1:54 am    Post subject: Reply with quote

Catanduva wrote:
Zita Convolver seems to be the wrong url. Tried to install and it didn't download.


Please check the link in my sig.

I've edited the OP to update the link as well. As a reminder for new folks, please check my ebuild fix list before posting here. :wink:

Welcome, Catanduva. :)
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 1:59 am    Post subject: Reply with quote

Catanduva wrote:

And i get this emerging guitarix 0.11.1:



I had no trouble emerging guitarix, so let's try to see what might be stopping it for you.

Please post the following:

output of emerge --info
output of emerge -pv guitarix
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 2:06 am    Post subject: Reply with quote

Catanduva wrote:

Also Rakarrack doesn't find FLTK 1 even if it's installed:


I ran into this, too. Since this is from git, we should try to track down anyone who might be maintaining the code and bring this to their attention.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 2:34 am    Post subject: Reply with quote

Rakarrack seems to be a real problem for some users on Gentoo (including me), so I'm going to see if I can drop the programmers a line about it.

I could get 0.3.0 to install, but it buffer overflowed on me.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 2:48 am    Post subject: Reply with quote

OK... I joined the Rakarrack mail list and sent it a message. If it's active at all, hopefully I'll hear something back.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Tue Apr 19, 2011 3:26 pm    Post subject: Reply with quote

audiodef wrote:
Catanduva wrote:

And i get this emerging guitarix 0.11.1:



I had no trouble emerging guitarix, so let's try to see what might be stopping it for you.

Please post the following:

output of emerge --info
output of emerge -pv guitarix


Here it goes
Code:
Portage 2.1.9.42 (default/linux/amd64/10.0/no-multilib, gcc-4.4.5, glibc-2.11.3-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.14
Timestamp of tree: Tue, 19 Apr 2011 01:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.7.1-r1, 3.1.3-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse -msse2 -msse2 -mmmx -m3dnow"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse -msse2 -msse2 -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="rsync://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ http://www.las.ic.unicamp.br/pub/gentoo/ http://gentoo.lcc.ufmg.br rsync://gentoo.lcc.ufmg.br/gentoo-sources"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pro-audio"
SYNC="rsync://rsync2.br.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 minimal mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code:
[ebuild  N    ] media-libs/libogg-1.2.0  USE="-static-libs" 0 kB [0]
[ebuild  N    ] media-libs/libsndfile-1.0.23  USE="alsa minimal -sqlite" 0 kB [0]
[ebuild  N    ] media-libs/ladspa-sdk-1.13-r1  0 kB [0]
[ebuild  N    ] media-sound/lame-3.98.4  USE="-debug (-mmx) -mp3rtp -sndfile -static-libs" 0 kB [0]
[ebuild  N    ] media-libs/libvorbis-1.3.1  USE="-static-libs" 0 kB [0]
[ebuild  N    ] media-libs/libao-1.0.0-r1  USE="alsa -mmap -nas -pulseaudio -static-libs" 0 kB [0]
[ebuild  N    ] app-admin/eselect-boost-0.3  0 kB [0]
[ebuild  N    ] dev-util/boost-build-1.42.0  USE="python -examples" 0 kB [0]
[ebuild  N    ] dev-libs/boost-1.42.0-r2  USE="eselect python -debug -doc -icu -mpi -static-libs -test -tools" 0 kB [0]
[ebuild  N    ] media-sound/vorbis-tools-1.4.0  USE="nls ogg123 -flac -kate -speex" 0 kB [0]
[ebuild  N    ] media-sound/jack-audio-connection-kit-0.109.2-r1  USE="alsa mmx sse (-altivec) -caps (-coreaudio) -cpudetection -debug -doc -netjack -oss" 0 kB [0]
[ebuild  N    ] media-sound/guitarix-0.11.1  USE="-capture -convolver -faust -meterbridge" 0 kB [1]
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 5:12 pm    Post subject: Reply with quote

I'm going to tell you what I have and you can try to emulate that for getting guitarix installed. The solution could be none of this, all of this, or any combination of this. I'm hoping it's just a matter of having the right versions of the right dependencies installed.

For some of these, you may need to add entries to package.keywords and package.unmask. My Gentoo for audio box uses ~amd64. You don't have to set that, but it does mean you will make heavy use of package.* to make certain things work from the pro-audio overlay.

If I don't list it below, what guitarix on your system wants matches what guitarix on my system wants.

The first thing you want to do is emerge --sync && layman -s pro-audio, to make sure you have the latest stuff.

This may be a matter of some things being pulled from portage (like your jack-audio-connection-kit) when they should be from pro-audio.

Yours: libogg-1.2.0
Mine: libogg-1.2.2

Yours: libsndfile-1.0.23
Mine: libsndfile-1.0.24

Yours: libvorbis-1.3.1
Mine: libvorbis-1.3.2

Yours: libao-1.0.0-r1
Mine: libao-1.1.0

Yours: jack-audio-connection-kit-0.109.2-r1 (from portage)
Mine: jack-audio-connection-kit-1.9.6 (from pro-audio)

I also have portage-2.2.0_alpha29, which, if you want to try that, you can unmask without needing ~amd64, and gcc-4.5.2. If you update either or both of these (and for gcc, be sure to switch it with gcc-config), you might want to do emerge -e --keep-going world and let it run overnight.

I'd be interested in hearing how things go for you.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Tue Apr 19, 2011 7:39 pm    Post subject: Reply with quote

It worked.
I set ~amd64 keyword to jack-connection and emerged the one in pro-audio overlay. But when i emerged guitarix, it asked at the config, not the portage dependencies system, for gtkmm. I emerged it by myself and tried again, now it asked for fftw3f. Again i emerged by myself and now the guitarix emerged ok.
I'll try to see if it works now, let's see. If it's good enough i'll not need windows anymore :D
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 7:50 pm    Post subject: Reply with quote

I used Windows for mixing and mastering for a long time, using Sonar. I tried Linux with Ardour and Rosegarden (and other things, as I'm sure you're learning) off and on for quite a while before I made the switch permanently. The trick is to let go of familiar ways of thinking in favour of new ways of thinking. If you can do that, you might find a very creative and reliable way of doing things (by reliable, I mean none of the upgrade this, security that, driver beat me with a whiffle ball bat nonsense you get from Windows). What kept pushing me away from Windows were drivers not working, basically. I have two mixers with firewire cards that are supposed to be able to show up at the same time in whatever DAW software I use, according to Mackie. It just wouldn't do that. Finally, I learned that my mixers are supported by FFADO, and they both work together flawlessly under Linux.

I no longer use Windows for anything serious. Just games. I don't even let Windows connect to the internet.

The key is patience and perseverance. It doesn't have to be Gentoo - I just find that Gentoo gives me the most flexibility from the kernel upward.

Feel free to hit me up for advice on doing audio with Gentoo. I may not know everything, but I'm happy to share what I do know.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Tue Apr 19, 2011 8:21 pm    Post subject: Reply with quote

I always used linux/gentoo, but stick with windows to play guitar. But not anymore.
Anyway, i recompiled the kernel with the low latency support, but jack says i don't have permission for real time scheduling.
I started guitarix and it recognizes the guitar, i tuned with the digital tuner, but the effects seems to don't change anything.
I need convolver for it to work or it's just optional? I'll keep trying here.

[edit]
It's weird, it says i don't have permission for real time scheduling but even with the program with the latency at 1024 the sound goes straight away. I don't have latency at all. My mixer has something to do with it? I own a Behringer Xenyx802.
Anyway, it's working now. It was a matter of configuring the inputs.
If rakarrack works will be awesome. Now i can ditch windows forever.
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Tue Apr 19, 2011 8:49 pm    Post subject: Reply with quote

To be sincere, i didn't like the sounds of this software. The distortion blows up everything, sounds like a mixture of flanger, phaser and a brutal amount of distortion even with the knob down.
I'll keep trying to become more familiar with it. I checked now and guitar rig works with wine, so if everything fails i can install it on wine.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Tue Apr 19, 2011 9:01 pm    Post subject: Reply with quote

Follow the this guide to get rid of warnings about permissions. :wink:

There are many, many programs you can use. Check out, for starters, Japa (in the pro-audio overlay), Linux DSP (not in the overlay, you have to download their software but the JACK versions are free and fully functional), and Voxengo, which offers a lot of free signal processors that work well with vsthost and JACK. Also, spend some time just browsing the list of programs in the pro-audio overlay. They have a list on the tuxfamily site. One way or another, it's got anything any Windows user can expect and then some!

vsthost will be your friend. Some will not work, but so far, most VST's I've tried have worked. I've had some work in 32-bit Gentoo but fail under 64-bit Gentoo, but I'm not worried about it.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Wed Apr 20, 2011 1:04 am    Post subject: Reply with quote

I'm using right now fluidsynth with tuxguitar. When i start fluidsynth, it keeps alsa busy and i can't play any other audio, just the fluidsynth.
I want to play guitar through my pc with tux guitar playing the song at the same time.
Do you know how to solve this?

My fluidsynth is built without jack support. It should work better with jack?
It won't conflict with me using jack for the guitar AND for the fluidsynth?
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Wed Apr 20, 2011 1:18 pm    Post subject: Reply with quote

I can't bluid wineasio:
Quote:
asio.c: In function ‘__wrapped_IWineASIOImpl_start’:
asio.c:768: warning: assignment discards qualifiers from pointer target type
asio.c:800: warning: assignment discards qualifiers from pointer target type
asio.c: In function ‘__wrapped_IWineASIOImpl_controlPanel’:
asio.c:1194: warning: initialization discards qualifiers from pointer target type
winegcc -m32 -shared wineasio.dll.spec -mnocygwin -o wineasio.dll.so asio.o main.o regsvr.o -ljack -lodbc32 -lole32 -loleaut32 -lwinspool -lwinmm -lpsapi -lpthread -luuid
/usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/wine/libuuid.a(uuid.o)' is incompatible with i386 output
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libwinecrt0.a(dll_entry.o)) to format elf32-i386 (wineasio.QJELQf.o) is not supported
winebuild: /usr/bin/ld -m elf_i386 -r failed with status 256
winegcc: winebuild failed
make: *** [wineasio.dll.so] Error 2
emake failed


Neither the ~amd64 and ** keywords.
And jackd is also keeping alsa from playing other things =/
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Wed Apr 20, 2011 1:46 pm    Post subject: Reply with quote

Catanduva wrote:
I'm using right now fluidsynth with tuxguitar. When i start fluidsynth, it keeps alsa busy and i can't play any other audio, just the fluidsynth.
I want to play guitar through my pc with tux guitar playing the song at the same time.
Do you know how to solve this?

My fluidsynth is built without jack support. It should work better with jack?
It won't conflict with me using jack for the guitar AND for the fluidsynth?


There is a way to get your sound card to accept multiple sources, but I don't remember offhand how to do that. I'm pretty sure it has something to do with tweaking some ALSA conf files. Maybe start by running alsaconf as root. I'm sure you'll find the answer if you search around.

For serious audio work, I much prefer JACK over ALSA. ALSA, in my mind, is just for playback, such as when listening to radio or watching a video. So yes, I highly recommend you get comfortable with JACK. I think it'll be well worth your time.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Wed Apr 20, 2011 1:48 pm    Post subject: Reply with quote

Catanduva wrote:

And jackd is also keeping alsa from playing other things =/


That shouldn't be happening. JACK and ALSA should be working together, but you'll need qjackctl to route things so you can hear them.

Have you set up qjackctl? If not, check out this guide.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Wed Apr 20, 2011 1:58 pm    Post subject: Reply with quote

Figured out some things.
I can compile wineasio, only have to recompile wine with the -64bit use flag.
I can play multiple things if all of them uses jack instead of alsa. I can play mp3 using mpg123 using jack. No problem.
But how i make fluidsynth connect with jack? I recompiled it with jack and -alsa but says this when i start:
I'll try to figure out some things without emerging qjackctl because of the qt. I avoid them. If it doesn't work i'll have to install it.

Fluidsynth error:
Quote:
JackSocketClientChannel read fail
Cannot open fluidsynth client
fluidsynth: error: Failed to connect to Jack server.


Then jack returns:
Quote:
JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Driver is not running
Cannot create new client
Unknown request 4294967295
jackd: ../common/JackGraphManager.cpp:45: void Jack::JackGraphManager::AssertPort(jack_port_id_t): Assertion `port_index < fPortMax' failed.
Aborted
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Wed Apr 20, 2011 3:09 pm    Post subject: Reply with quote

Catanduva wrote:

I'll try to figure out some things without emerging qjackctl because of the qt. I avoid them. If it doesn't work i'll have to install it.


Don't worry about the qt. Trust me, if you're going to use JACK, you'll want qjackctl. It makes life so much easier.

Actually, if you go here, you'll find a nice JACK patch bay, so if you really want, you can start jack in a terminal and use this acid-trip looking program to patch things together. I still really, really recommend qjackctl, though.

I have a similar issue with Rosegarden because it depends on kdelibs, but I just bite the bullet because I want what Rosegarden offers. If you have mad skills, you could re-code qjackctl for gtk or some other graphics lib. :wink:

Psst... go here. I think you'll like this. This company makes top-notch stuff and you can check out the demo before buying. It's not too expensive, either.

The fluidsynth error is actually a JACK error. Solve the JACK problem and you've solved the fs problem.

You need to tweak your JACK config. What hardware are you using for audio?
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Wed Apr 20, 2011 4:17 pm    Post subject: Reply with quote

The soundcard is a simple Audigy LS (ca0106). Externally i use a behringer Xenyx 802 and behringer Ultra-G 100 Direct Box.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5186

PostPosted: Wed Apr 20, 2011 4:55 pm    Post subject: Reply with quote

I looked up the Behringer stuff. I hear mixed things about Behringer. How do you like the mixer? The only Behringer item I have is a patch bay I just bought. I have no problems with it and I like the per-channel normal-half normal-thru switches, which my dbx doesn't do (it's wired half-normal).

Am I correct to deduce that you're sending audio out from the mixer to audio in on the SB? I used to do that. It's not great quality. I don't know what kind of budget you have, but I highly recommend an audio interface. It looks like with your setup, you would do fine with a small and not-too-expensive one. If you want to consider that, check out this list to make sure that whatever you're interested in getting will work with FFADO (and therefore JACK).

Either a firewire or USB audio interface will be very much worth it in terms of recorded sound quality and overall ease of use in recording. Again, just make sure it's known to work with FFADO.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
Catanduva
n00b
n00b


Joined: 25 Dec 2008
Posts: 57

PostPosted: Thu Apr 21, 2011 4:26 pm    Post subject: Reply with quote

The sound is ok, i don't have the experience to say if it's superb, but for that cost it's really good.
The funny thing is, i'm selling it to purchase a usb audio interface already :lol:
I'll keep an eye on that FFADO compatibility.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum