Gentoo Archives: gentoo-user

From: Michael Schreckenbauer <grimlog@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack?
Date: Thu, 11 Aug 2011 21:12:26
Message-Id: 3001898.a5beUN4rBM@pc
In Reply to: Re: [gentoo-user] Zynaddsubfx connected to Rosegarden WITHOUT Jack? by meino.cramer@gmx.de
1 Hi Meino,
2
3 Am Donnerstag, 11. August 2011, 14:15:32 schrieb meino.cramer@×××.de:
4 > Hi Michael,
5 >
6 > I will try (again) to be a friend of Jack (NOT "Daniels" ;) )...
7 > What I dont understand: Why all this hassle with Jack if Rosegarden
8 > has the ability to connect directly to Zynaddsubfx without any
9 > other gadget (see Studio->Manage Midi Devices, start Zynaddsubfx
10 > first)??? And if instructed so, why does this dialog still pops
11 > up and reminds me of a non existing Jack connection?
12
13 afaict rosegarden relies on jack for it's audio processing. If no jackd is
14 running this window pops up.
15
16 > I tried the masked version 11.06 of rosegarden: The same effect.
17 > I removed the "jack" USE-Flag from make.conf temporarily and
18 > rebuild rosegarden: No change.
19
20 I sort of expected this. See above.
21
22 > Ok, I will try jack...again...sigh.
23
24 There are some other sequencers in the pro-audio overlay.
25 http://svnweb.tuxfamily.org/filedetails.php?repname=proaudio/proaudio&path=%2Ftrunk%2Foverlays%2Fproaudio%2F00-
26 DETAILED-PACKAGES-LIST
27 has a list of all packages. You could search this page for midi sequencers and
28 try to find one that does not depend on jack.
29 And as suggested before there's media-sound/seq24 in portage, that only needs
30 alsa to talk to synths.
31 jackd is really cool, if you are doing audio work. For MIDI stuff only, it adds
32 nothing to pure alsa afaik.
33
34 > Best regards,
35 > mcc
36
37 Hth,
38 Michael
39
40 > Michael Schreckenbauer <grimlog@×××.de> [11-08-11 14:00]:
41 > > Hi Meino,
42 > >
43 > > Am Donnerstag, 11. August 2011, 13:04:13 schrieb meino.cramer@×××.de:
44 > > > Hi Michael,
45 > > >
46 > > > Thank you for your help ! :)
47 > > >
48 > > > Here are the versions:
49 > > > media-sound/rosegarden 11.02
50 > > > media-sound/zynaddsubfx 2.4.1
51 > > > media-sound/jack-audio-connection-kit 0.118.0
52 > >
53 > > looks ok to me. No idea, why it doesn't work for you.
54 > >
55 > > > I did a aconnect -lio, which says:
56 > > >
57 > > > client 0: 'System' [type=kernel]
58 > > >
59 > > > 0 'Timer '
60 > > > 1 'Announce '
61 > > >
62 > > > Connecting To: 15:0, 128:0
63 > > >
64 > > > client 14: 'Midi Through' [type=kernel]
65 > > >
66 > > > 0 'Midi Through Port-0'
67 > > >
68 > > > client 28: 'Virtual Raw MIDI 3-0' [type=kernel]
69 > > >
70 > > > 0 'VirMIDI 3-0 '
71 > > >
72 > > > Connecting To: 128:0
73 > > > Connected From: 128:3
74 > > >
75 > > > client 29: 'Virtual Raw MIDI 3-1' [type=kernel]
76 > > >
77 > > > 0 'VirMIDI 3-1 '
78 > > >
79 > > > client 30: 'Virtual Raw MIDI 3-2' [type=kernel]
80 > > >
81 > > > 0 'VirMIDI 3-2 '
82 > > >
83 > > > client 31: 'Virtual Raw MIDI 3-3' [type=kernel]
84 > > >
85 > > > 0 'VirMIDI 3-3 '
86 > > >
87 > > > client 128: 'rosegarden' [type=user]
88 > > >
89 > > > 0 'record in '
90 > > >
91 > > > Connected From: 0:1, 28:0
92 > > >
93 > > > 1 'sync out '
94 > > > 2 'external controller'
95 > > > 3 'out 1 - General MIDI Device'
96 > > >
97 > > > Connecting To: 28:0
98 > > >
99 > > > Then I started rosegarden, which - as expereinced before - pops up
100 > > >
101 > > > a dialog, saying:
102 > > > The JACK Audio subsystem has stopped Rosegarden from
103 > > > processing audio, probably because of a processing
104 > > > overload. An attempt to restart the audio service has been
105 > > > made, but some problems may remain. Quitting other running
106 > > > applications may improve Rosegarden's performance.> >
107 > > > (no jackd was running)
108 > > >
109 > > > When clicking [OK] the dialog disappears only to take a very very
110 > > > short
111 > > > rest an return again and again and again....
112 > > >
113 > > > In one of these short tiemes of peace and slumber I open the
114 > > > preference dialog and switched off jackd transport, quit rosegarden
115 > > > and start it again only to play another fresh match between me and
116 > > > this damned dialog... ;-/
117 > >
118 > > Looks like rosegarden cannot work with pure alsa. I did not know this.
119 > > There's seq24 in portage, which seems to be a step sequencer that works
120 > > without jack. You could try this one instead of rosegarden. I don't know
121 > > anything about it though.
122 > >
123 > > > How can I prevent to scratch my skin by the roses of this garden
124 > > > over
125 > > > and over again.....?
126 > >
127 > > We could try to solve your problems with jack :)
128 > > I recommend qjackctl for jack-server handling.
129 > > How do you start it? What use-flags are set for it?
130 > > Another option is to try the versions from the pro-audio overlay (that's
131 > > what I use for rosegarden, jack, ardour and some other audio related
132 > > stuff). Did you try other synths with jack and rosegarden? Maybe
133 > > there's a bug in zynaddsubfx. You could try eg hydrogen to test this.
134 > >
135 > > > Best regards,
136 > > > mcc
137 > >
138 > > Regards,
139 > > Michael
140 > >
141 > > > Michael Schreckenbauer <grimlog@×××.de> [11-08-11 12:12]:
142 > > > > Hi,
143 > > > >
144 > > > > Am Donnerstag, 11. August 2011, 11:13:21 schrieb meino.cramer@×××.de:
145 > > > > > Hi Michael,
146 > > > > > I had * experiments with jack and nothing works...
147 > > > > > Sometimes there was no connection at all, sometimes after a
148 > > > > > short time rosegarden crashes and/or reports taht the
149 > > > > > connection
150 > > > > > has gone, and so on....
151 > > > >
152 > > > > this is strange. It simply works for me (tm).
153 > > > >
154 > > > > > May be I has simply combined the wrong things...
155 > > > >
156 > > > > What versions did you try? (jackd, rosegarden...)
157 > > > >
158 > > > > > I have no midi hardware in the sense of keyboards, external
159 > > > > > synths and such.
160 > > > >
161 > > > > I see.
162 > > > >
163 > > > > > What I want is to set up a melody in rosegarden and to play
164 > > > > > it via Zynaddsubfx.
165 > > > >
166 > > > > That's what I was thinking :)
167 > > > >
168 > > > > > A midi step sequencer (not sure if this this correct
169 > > > > > terminus
170 > > > > > technicus, though) were also fine...
171 > > > > > Any ideas?
172 > > > >
173 > > > > I think, aconnect (part of media-sound/alsa-utils) is the tool
174 > > > > you want to try.
175 > > > > Start both rosegarden and zynaddsubfx, then use aconnect -lio to
176 > > > > see,
177 > > > > what in- and out-ports were created on your system. After that
178 > > > > use
179 > > > > aconnect to connect the rosegarden out-port with the zynaddsubfx
180 > > > > in-port.
181 > > > > http://alsa.opensrc.org/Aconnect has some details.
182 > > > > I never tried this for myself, so I have no practical experience
183 > > > > with
184 > > > > it.
185 > > > >
186 > > > > > best regards,
187 > > > > > mcc
188 > > > >
189 > > > > Hth,
190 > > > > Michael
191 > > > >
192 > > > > > If this will become too OT simply use my PM :)
193 > > > > >
194 > > > > > Michael Schreckenbauer <grimlog@×××.de> [11-08-11 10:52]:
195 > > > > > > Hi Meino,
196 > > > > > >
197 > > > > > > Am Donnerstag, 11. August 2011, 03:02:33 schrieb
198 meino.cramer@×××.de:
199 > > > > > > > Hi Michael,
200 > > > > > > > thank you for your info ! :)
201 > > > > > > > What do I need for a midi connection (sorry, I am
202 > > > > > > > at the very beginning of exploring these kind of
203 > > > > > > > tools and jack is everywhere... ;) )
204 > > > > > >
205 > > > > > > do you have midi-ports in your soundcard? In some cases
206 > > > > > > they are
207 > > > > > > implemented as 5-pol Din plugs (MIDI-standard plugs), in
208 > > > > > > other
209 > > > > > > cases
210 > > > > > > they are implemented via the gameport. Most built-in
211 > > > > > > soundhardware has none.
212 > > > > > > If you have those ports, the most simple (but not best)
213 > > > > > > solution
214 > > > > > > is to connect midi in with midi out, have rosegarden
215 > > > > > > play
216 > > > > > > through midi out and the synth listen to midi in.
217 > > > > > > Afaik(!) alsa has virtual midi-ports, you can use, if
218 > > > > > > you have
219 > > > > > > no hw
220 > > > > > > ports (and which would be more elegant to use), but I
221 > > > > > > have no
222 > > > > > > experience with them. May I ask, why you don't want to
223 > > > > > > use jack?
224 > > > > > > I use it for everything in my studio and I am very happy
225 > > > > > > with
226 > > > > > > it. There's a reason jack is everywhere in this area :)
227 > > > > > >
228 > > > > > > > Best regards,
229 > > > > > > > mcc
230 > > > > > >
231 > > > > > > Hth,
232 > > > > > > Michael
233 > > > > > >
234 > > > > > > > Michael Schreckenbauer <grimlog@×××.de> [11-08-11 02:45]:
235 > > > > > > > > Hi Meino,
236 > > > > > > > >
237 > > > > > > > > Am Dienstag, 9. August 2011, 21:13:42 schrieb
238 meino.cramer@×××.de:
239 > > > > > > > > > Hi,
240 > > > > > > > > >
241 > > > > > > > > > may be this is a RDQ(tm) (real dumb
242 > > > > > > > > > question),
243 > > > > > > > > > but....
244 > > > > > > > > > Is it possible to connect rosegarden and
245 > > > > > > > > > ZynAddSubFX
246 > > > > > > > > > without using jack ???
247 > > > > > > > >
248 > > > > > > > > you could use a MIDI connection. But imho jack
249 > > > > > > > > is the
250 > > > > > > > > way to go
251 > > > > > > > >
252 > > > > > > > > :)
253 > > > > > > > > :
254 > > > > > > > > > Thank you very much for any help in
255 > > > > > > > > > advance!
256 > > > > > > > > > Best regards,
257 > > > > > > > > > mcc
258 > > > > > > > >
259 > > > > > > > > Hth,
260 > > > > > > > > Michael