Re: ubuntu studio 10.04 and novation x-station - trying to record audio 1 and 2

2010-07-21 Thread jay gallivan
-> Manage MIDI Devices, bottom left window, rename
> (if you wish) the capture device to "88es" or whatever,  and  connect
> the keyboard that you will see as an available midi input on the bottom
> right window. Arm the midi track to record (yellow button) and record.
> To hear what you are recording, you need to apply the above explained
> (either a synth plugin or an external soft synth). Once you have made
> the corrections to the midi track, you can record it to ardour. If you
> have used a external soft synth, disconnect (audio tab) rosegarden
> master outputs to ardour, you only want the synth connected to ardour.
> If you have used a synth plugin, then connect rosegarden master outputs
> to ardour audio track inputs.
>
>
> Computer music is not a piece of cake and, in Linux it is a bit more
> involved because of its modular approach (there are exceptions but it is
> a bit like: one program, one task.  As opposed to integrated musical
> environments alà Windows/Mac). However, once you understand the basics
> (and learn some tricks and workarounds) you can make up your own
> workflow with the several and good tools you have. I mentioned ardour
> because I use it and it is "the" linux multitrack recorder, but for home
> recording it can be overkilling. You have audio tracks in Rosegarden  /
> qtractor / Muse as well.
>
>
> I recommend these URL's:
>
> http://wiki.linuxmusicians.com/doku.php
> (linuxmusicians wiki, newbies section)
>
> http://www.linuxmusicians.com/
> (the forum, where linuxmusicians of all countries and distros meet)
>
> http://lievenmoors.github.com/
> (a series of lectures on Linux & Audio)
>
> Also, www.ardour.org, www.rosegardenmusic.org, www.rncbc.org, and in
> general, official sites of the programs, in which you can find direct
> support form the devs and some advanced users.
>
>
> >
> > On Sun, 2010-07-18 at 23:47 -0500, jay gallivan wrote:
> >
> >> On Sat, Jul 17, 2010 at 6:34 PM, Pablo  wrote:
> >> jay gallivan escribió:
> >> > Thanks for your reply. I'm a total newbie to all of this.
> >>
> >> Hi Jay,
> >>
> >>
> >> Greetings. Long couple of days growing my understanding of audio on
> >> Linux. I've worked with micros since 1981, UNIX since 1988 and Linux
> >> since 1996. I've never had to pay attention to audio before now. Is
> >> this what happens when computer people find themselves in a band?
> >> That's how I came to this. I play bass. It's tough to get the the
> >> three of us together. So, the plan was to record the leader - who does
> >> the singing and plays acoustic guitar - so i could practice. The
> >> X-Station was lying around (bought for one of the kids years ago) and
> >> I have 'extra' Linux boxes. So, the adventure began
> >>
> >> Pulseaudio is a linux sound system (audio server) desktop
> >> oriented and
> >> Jack (Jack Audio Connection Kit) is another one, oriented
> >> towards music
> >> production (low latency, anything to anywhere connections...).
> >> Both use
> >> the alsa drivers (jack can also use the ffado drivers for
> >> firewire audio
> >> devices but this is not your case) but apart from that, they
> >> are very
> >> different beasts.
> >>
> >> ALSA had been just another four letter word to me. No more.
> >>
> Alsa is a lot of things at the same time and depending on the context,
> "alsa" refers to completely different concepts. See
> http://lievenmoors.github.com/
>
> >>
> >>
> >>
> >> Timidity is a default midi server. It can do jack, but it
> >> doesn't by
> >> default. In a musical environment timidity is not as used as
> >> qsynth for
> >> example, which is "jackified" by default. But you must load a
> >> soundfont
> >> in qsynth.
> >>
> >> I'm beginning to get the idea of MIDI. Another protocol. In Rosegarden
> >> I can seen MIDI message flow. That's helpful in the same way that
> >> looking at network packet traces are helpful. "Oh. So that's what's
> >> going on."
> >>
> >>
> >> In order to use Rosegarden (the audio part) you need the jack
> >> audio
> >> server and forget about pulseaudio interfaces (once jack takes
> >> 

Re: ubuntu studio 10.04 and novation x-station - trying to record audio 1 and 2

2010-07-18 Thread jay gallivan
On Sat, Jul 17, 2010 at 6:34 PM, Pablo  wrote:

> jay gallivan escribió:
> > Thanks for your reply. I'm a total newbie to all of this.
> Hi Jay,
>
>
Greetings. Long couple of days growing my understanding of audio on Linux.
I've worked with micros since 1981, UNIX since 1988 and Linux since 1996.
I've never had to pay attention to audio before now. Is this what happens
when computer people find themselves in a band? That's how I came to this. I
play bass. It's tough to get the the three of us together. So, the plan was
to record the leader - who does the singing and plays acoustic guitar - so i
could practice. The X-Station was lying around (bought for one of the kids
years ago) and I have 'extra' Linux boxes. So, the adventure began


> Pulseaudio is a linux sound system (audio server) desktop oriented and
> Jack (Jack Audio Connection Kit) is another one, oriented towards music
> production (low latency, anything to anywhere connections...). Both use
> the alsa drivers (jack can also use the ffado drivers for firewire audio
> devices but this is not your case) but apart from that, they are very
> different beasts.
>

ALSA had been just another four letter word to me. No more.


>
> Timidity is a default midi server. It can do jack, but it doesn't by
> default. In a musical environment timidity is not as used as qsynth for
> example, which is "jackified" by default. But you must load a soundfont
> in qsynth.
>

I'm beginning to get the idea of MIDI. Another protocol. In Rosegarden I can
seen MIDI message flow. That's helpful in the same way that looking at
network packet traces are helpful. "Oh. So that's what's going on."


>
> In order to use Rosegarden (the audio part) you need the jack audio
> server and forget about pulseaudio interfaces (once jack takes hold of
> your soundcard, pulseaudio is useless, and, hopefully, harmless). You
> launch the server by means of a graphical front-end called qjackctl
> (Jack Control in the sound and video menu). First, you press "setup" to
> configure the jack audio server. In the interface field you select your
> usb audio card (you will see a generic usb-audio or similar, I guess).
> Then press start to activate jack.
>

Pulseaudio drops out of the picture but the motherboard audio i/o still
seems to be there. This appears to be the path to my external speakers for
monitoring. So that would be something like Ardour/Rosegarden -> Jack ->
ALSA -> chips -> speakers?


>
> If jack does not start, this is the first problem you should solve (more
> below).
>

I had quite a bit of trouble with Jack. First, a very slow box - eight years
old. I moved to a newer box - maybe three years old - and found i had way to
little ram. 1GB. Went to 2GB today and things are much better - with Jack
grabbing 1.5GB. Ouch! Do i need to get more?


>
> If it starts, then the jack audio clients, like rosegarden, and many
> more (most music oriented programs are jack-aware by default) will show
> their ports in the connect window, audio tab, when you launch them.
> The MIDI tab stands for jack MIDI which is not used by Rosegarden
> nowadays. The alsa tab refers to alsa  sequencer or alsa MIDI. It has
> nothing to do with jack but it is there for convenience because several
> synths and sequencers use the alsa sequencer for MIDI and jack for
> audio. Some newer ones use jack MIDI and jack audio but not Rosegarden.
>
This explains that you could capture midi in Rosegarden despite the jack
> server was not active.
>
>
So both ALSA and Jack do MIDI? Can you point me to some data flow diagrams?


> Also, take into account that Rosegarden does not make sounds by itself
> and it has not any default synth that makes it work out of the box.. It
> needs either a software synth plugin or an external synth, either
> software (say, qsynth, zynaddsubfx...) or hardware.  But this is a
> second step. The first step is jack setup.
>
>
I'm do have Jack running in RT mode. The Ubuntu Studio installation
installed a preemptive kernel. First time I've ever needed that! I did come
across some documentation describing what you outlined. That certainly
caused me concern re memory.


> In order to have jack working in realtime mode (recommended) you need,
> as a user, some priorities that you can check in a terminal with:
>
> ulimit -r (this is realtime priority for the user)
> ulimit -l (this is memlock limit for the user)
>
> You need the first one at ninety-something and the second one, unlimited
> or a reasonable amount of your RAM, in kB. In turn, to gain these
> privileges, there must be a file called:
>
> /etc/security/limits.d/audio.conf
>
> with the relevant lines. So please, do a:
>
> ca

Re: ubuntu studio 10.04 and novation x-station - trying to record audio 1 and 2

2010-07-17 Thread jay gallivan
Thanks for your reply. I'm a total newbie to all of this.

I don't see anything in Patchbay. In PulseAudio Manager I see X-Station
analong stero as a sink and the same as sources for stereo and stereo
monitor.

When I connect (via Connect) X-Station to Timidity I am able to play the
keyboard and hear the results via my computer's speakers. And I can record
and playback via Rosegarden when I connect X-Station to Rosegarden.

I've tried Audacity on my Windows XP box and I've been able to pickup/record
from the X-Station audio ports - though merged into a single track for some
reason.

So it seems that the X-Station is doing what it's supposed to do. But that
(some component of ) Ubuntu Studio is dropping the X-Station audio. Any
thoughts on that?

On Sat, Jul 17, 2010 at 1:22 AM, Robert Klaar  wrote:

> If it should show up automaticly in the Patchbay(alt connections) on the
> "jack control" window, under system. If so you just have to link from;
> system -|(at the input where you have put your mic) --> rosegarden -|(on one
> of the inputs there). Also, due to some old bugs, I had to remove pulseaudio
> to get my soundcard working but as said, this was some time ago and doesn't
> aply to all cards iether.
> //Robert
>
> On Sat, Jul 17, 2010 at 5:20 AM, jay gallivan wrote:
>
>> Greetings:
>>
>> I'm trying to record guitar and mic from a Novation X-Station 49 using
>> Rosegarden Thorn on Ubuntu 10.04. I can connect to Rosegarden via MIDI,
>> striking keys and recording the selected 'instrument', piano for example, by
>> Jacking them together.
>>
>> I can plug in a mic and set gain on Input 1. But I do not seem to be able
>> (understand?) how to Jack between X-Staion audio and Rosegarden. And with
>> Jack down I can bring up PulseAudio volume controller, scratch the mic and
>> see its level register.
>>
>> Help!
>>
>> Regards,
>> Jay.
>>
>> --
>> Ubuntu-Studio-users mailing list
>> Ubuntu-Studio-users@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>>
>>
>
> --
> Ubuntu-Studio-users mailing list
> Ubuntu-Studio-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
>
>
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


ubuntu studio 10.04 and novation x-station - trying to record audio 1 and 2

2010-07-16 Thread jay gallivan
Greetings:

I'm trying to record guitar and mic from a Novation X-Station 49 using
Rosegarden Thorn on Ubuntu 10.04. I can connect to Rosegarden via MIDI,
striking keys and recording the selected 'instrument', piano for example, by
Jacking them together.

I can plug in a mic and set gain on Input 1. But I do not seem to be able
(understand?) how to Jack between X-Staion audio and Rosegarden. And with
Jack down I can bring up PulseAudio volume controller, scratch the mic and
see its level register.

Help!

Regards,
Jay.
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users