Re: [LAU] BCF2000 & PulseAudio

From: John Anderson <ardour@email-addr-hidden>
Date: Sat May 21 2011 - 17:12:21 EEST

On 17/05/2011 08:14, Kevin Cosgrove wrote:
>
> On 16 May 2011 at 8:11, Thomas Vecchione <seablaede@email-addr-hidden> wrote:
>
>> On Mon, May 16, 2011 at 2:27 AM, Clemens Ladisch <clemens@email-addr-hidden> wrote:
>>
>>> Ardour uses Jack, so your problem is probably related to Jack's MIDI
>>> configuration.
>>
>> Close. Ardour3 will use JackMIDI for this, when I can update the code
>> to fix some bugs. Ardour2 however uses ALSA, not JackMIDI.
>>
>> If you are trying to get the BCF working with the Logic control
>> protocol in Ardour, see here...
>>
>> http://ardour.org/files/reference/dsy244-ARDOUR.html#dsy244-ARDOUR
>
>
> My BCF2000 is getting detected by ALSA:
>
> [kevinc@email-addr-hidden-kevinc #34] more /proc/asound/cards
> 0 [Intel ]: HDA-Intel - HDA Intel
> HDA Intel at 0xfbff8000 irq 30
> 1 [M1010 ]: ICE1712 - M Audio Delta 1010
> M Audio Delta 1010 at 0xec00, irq 16
> 2 [M1010_1 ]: ICE1712 - M Audio Delta 1010
> M Audio Delta 1010 at 0xe400, irq 17
> 3 [BCF2000 ]: USB-Audio - BCF2000
> BEHRINGER BCF2000 at usb-0000:00:1d.2-1, full speed
>
> That makes my unit /dev/snd/midiC3D0 at this time.
>
> I changed my /etc/ardour2/ardour_system.rc and ~/.ardour2/ardour.rc
> files to specify:
>
> <MIDI-port tag="mcu" device="/dev/snd/midiC3D0" type="alsa/raw" mode="duplex"/>
>
> and in the <Config> block
>
> <Option name="mackie-emulation" value="bcf"/>
>
>
>
> When I start ardour2 now I get this on STDOUT:
>
> WARNING: Your system has a limit for maximum amount of locked memory!
> This might cause Ardour to run out of memory before your system runs
> out of memory. You can view the memory limit with 'ulimit -l', and it
> is normally controlled by /etc/security/limits.conf

I have

#john - memlock unlimited

in my /etc/security/limits.conf. That makes the error message go away.
I'm not sure if that's the right way to do it.

> Ardour 2.8.11
> (built using 7387 and GCC version 4.4.3)
> Copyright (C) 1999-2008 Paul Davis
> Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker
>
> Ardour comes with ABSOLUTELY NO WARRANTY
> not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the source for copying conditions.
> loading default ui configuration file /etc/ardour2/ardour2_ui_default.conf
> loading user ui configuration file /home/kevinc/.ardour2/ardour2_ui.conf
> Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc
> theme_init() called from internal clearlooks engine
> ardour: [INFO]: Ardour will be limited to 1024 open files
> loading system configuration file /etc/ardour2/ardour_system.rc
> loading user configuration file /home/kevinc/.ardour2/ardour.rc
> ardour: [ERROR]: MIDI: port device in use
> ardour: [INFO]: Using SSE optimized routines
> ardour: [INFO]: looking for control protocols in /home/kevinc/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
> powermate: Opening of powermate failed - No such file or directory
> ardour: [INFO]: Control protocol powermate not usable
> ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
> ardour: [INFO]: Control protocol Tranzport not usable
> ardour: [INFO]: Mackie: No MIDI port called mcu
                          ^^^^^^^^^^^^^^^^^^^^^^^

This could be because the port is being used by something else. Try
this: go to Window/Preferences/MIDI and make sure mcu shows up in the
port list (along with control and seq on my system anyway), that it's
online, and that none of MTC, MMC and MIDI Parameter Control are
connected to it.

If that's all correct, try changing your /etc/ardour2/ardour_system.rc
and ~/.ardour2/ardour.rc only after ardour is shut down - sometimes it
overwrites the changed values during shut down.

bye
John
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat May 21 20:15:01 2011

This archive was generated by hypermail 2.1.8 : Sat May 21 2011 - 20:15:02 EEST