View Issue Details

IDProjectCategoryView StatusLast Update
0009428ardourbugspublic2023-11-03 23:37
Reporterpsmith Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformUbuntuOSLinuxOS Version(any)
Product Version7.5 
Summary0009428: Cue Learn Midi does not work
DescriptionI cannot get midi input to trigger clip playback from the cue.

I have tried using Virtual MIDI keyboard and Akai MPKMini. Using either of these keyboards I can play to synthesizer tracks. I can also map midi controls to faders, and then I can control faders from midi keyboard. But trying to get "midi learn" function to work from the Cue view never works.

In MIDI connection manager I have connected the keyboard to "Cue Control In". In MIDI tracer I can see the midi keyboard inputs displayed in the "Cue Control In".

The documentation https://manual.ardour.org/cue/setting-up-cues/playing-back-the-cues/ says that this should work. Have I mis-configured or missed a step? Or is it broken?

Thanks
Steps To ReproduceLaunch Ardour with new session and empty template.
Open the following Windows: MIDI Tracer, MIDI Connections, Virtual Keyboard.
Go to Cue view by clicking "Cue" at top right.
Drag Click-120bpm.flac from the clips list and drop in the cue so it is imported into cue A slot1
Check the clip plays when the Play arrow is clicked with the mouse.
In the MIDI connections window, connect the Virtual Keyboard source to the "Cue Control In" Ardour destination
In the MIDI Tracer pick the "Cue Control In" dropdown.
Check that note presses on the virtual keyboard show up in MIDI tracer.

Right click on the clip slot in A1 and pick "MIDI Learn" from the dropdown. The dropdown disappears, there is no prompt for any further action.
Press a note on the virtual keyboard, the keypress information shows up in MIDI tracer.
Press the note on the virtual keyboard again. I expect the clip to play, but nothing happens.
Additional Informationforum message refers https://discourse.ardour.org/t/learning-midi-key-to-play-a-cue-clip/109015.

Ardour version :Ardour 7.5.0~ds "Neroli"
(rev 7.5.0~ds-1~bpo22.04.1~ppa1)
Intel 64-bit

Running on Ubuntu Studio
TagsNo tags attached.

Activities

psmith

2023-08-01 07:03

reporter  

Screenshot_20230731_091614.png (174,571 bytes)   
Screenshot_20230731_091614.png (174,571 bytes)   

paul

2023-08-01 14:22

administrator   ~0027929

Working fine here. Please test with a nightly build from ardour.org

psmith

2023-08-01 15:46

reporter   ~0027930

Interesting... I installed https://nightly.ardour.org/d/A_Linux_x86_64_FREE-gcc5abi/Ardour-7.5.240-demo-x86_64.run from https://nightly.ardour.org/list.php

and that works, exactly as it should.

downloaded and ran the packaged version from Ardour website Ardour 7.5.0 from https://community.ardour.org/download-paid?platform=linux&architecture=x86_64 and it does not work
"Neroli"
(rev 7.5)

downloaded and ran full paid nightly version https://nightly.ardour.org/d/A_Linux_x86_64-gcc5abi/Ardour-7.5.240-x86_64.run and it does not work.
Ardour 7.5.240
"Neroli"
(rev 7.5-240-g1d31ace29d)
Intel 64-bit

Reinstalled and ran the nightly demo build again, and it works again.

So i cannot get any full version to learn midi in the cue view but the nightly demo works perfectly.

psmith

2023-08-02 11:26

reporter   ~0027934

This is very weird.
Tried the latest nightly demo (.243) this morning and it didn't work.
Reverted to yesterdays nightly demo (.240), which worked yesterday, it no longer works.

So it looks like there is some config variable or file that has been overwritten or deleted....

The binary that worked yesterday does not work today... so that implies it is a config issue... I think.

psmith

2023-08-02 15:29

reporter   ~0027939

Might be getting somewhere now ... I have got it working properly on last night's full build!
Ardour 7.5.243
"Neroli"
(rev 7.5-243-g9f4a0b444e)
Intel 64-bit

I think it only works if I drop a midi clip into the cue view and do a "midi learn" on that slot first. I can then import an audio clip onto the cues and "midi learn" works on that slot.

If I don't import a midi clip, or import the midi clip second then it doesn't work.

My hypothesis is that importing the MIDI clip to a cue slot is "fixing" the config option that I have missed, or is setting up some pre-requisite that I cannot get at from the GUI.

Needs more testing as I am a bit baffled and have made many config changes at this point....

zettberlin

2023-08-18 08:24

reporter   ~0027981

I have the same issue with a build from git I made about 1h ago.
Ardour 7.5.321
"Neroli"
(rev 7.5-321-gb354f41fc2)

My Behringer UMX shows up in the midi tracer window and delivers control messages as expected there.
But neither Midi learn for cue slots nor via middleclick does anything.

psmith

2023-08-27 08:18

reporter   ~0027997

Windows nightly build does not learn midi cue inputs either. control inputs eg fader mappings work fine.

psmith

2023-08-29 06:32

reporter   ~0028000

Update: I just renamed the User Appdata\Ardour7\config file and restarted Ardour on Windows and started a New empty session...
then dragged a midi clip onto the cue view
checked that I could hear the cue and also hear notes played on the virtual MIDI keyboard
opened MIDI connections and clicked the box to connect virtual keyboard to cue control in

 and this time cue learn with the virtual midi keyboard worked.

So it looks to me that it is the same behaviour on Windows and Linux. It works if the cue learn on the midi track is the first thing you do with a default config file... but if you do something different first then the config gets messed up and cue learn never works again.

FelixHeppner

2023-10-18 16:45

reporter   ~0028226

I face the exact same problem with Ardour 8.0 on Linux.
Midi learn for cues works on a fresh session when a midi cue is added first. But it is easy to somehow break it and I did not manage to learn midi triggers for cues in a variety of existing sessions.

ocyssau

2023-11-03 23:37

reporter   ~0028298

Same problem with Ardour 8.1 on Linux.
Midi learn for cues works on a fresh session when a midi cue is added first.
Get around by adding direclty in the xml of session the section to define bindings.
Example for a launchpad S 8x8 matrix pads :
  <TriggerBindings>
    <Binding col="0" row="0" msg="0x90 0x0 "/>
    <Binding col="1" row="0" msg="0x90 0x1 "/>
    <Binding col="2" row="0" msg="0x90 0x2 "/>
    <Binding col="3" row="0" msg="0x90 0x3 "/>
    <Binding col="4" row="0" msg="0x90 0x4 "/>
    <Binding col="5" row="0" msg="0x90 0x5 "/>
    <Binding col="6" row="0" msg="0x90 0x6 "/>
    <Binding col="7" row="0" msg="0x90 0x7 "/>
    <Binding col="8" row="0" msg="0x90 0x8 "/>
    <Binding col="0" row="1" msg="0x90 0x10 "/>
    <Binding col="1" row="1" msg="0x90 0x11 "/>
    <Binding col="2" row="1" msg="0x90 0x12 "/>
    <Binding col="3" row="1" msg="0x90 0x13 "/>
    <Binding col="4" row="1" msg="0x90 0x14 "/>
    <Binding col="5" row="1" msg="0x90 0x15 "/>
    <Binding col="6" row="1" msg="0x90 0x16 "/>
    <Binding col="7" row="1" msg="0x90 0x17 "/>
    <Binding col="8" row="1" msg="0x90 0x18 "/>
    <Binding col="0" row="2" msg="0x90 0x20 "/>
    <Binding col="1" row="2" msg="0x90 0x21 "/>
    <Binding col="2" row="2" msg="0x90 0x22 "/>
    <Binding col="3" row="2" msg="0x90 0x23 "/>
    <Binding col="4" row="2" msg="0x90 0x24 "/>
    <Binding col="5" row="2" msg="0x90 0x25 "/>
    <Binding col="6" row="2" msg="0x90 0x26 "/>
    <Binding col="7" row="2" msg="0x90 0x27 "/>
    <Binding col="8" row="2" msg="0x90 0x28 "/>
    <Binding col="0" row="3" msg="0x90 0x30 "/>
    <Binding col="1" row="3" msg="0x90 0x31 "/>
    <Binding col="2" row="3" msg="0x90 0x32 "/>
    <Binding col="3" row="3" msg="0x90 0x33 "/>
    <Binding col="4" row="3" msg="0x90 0x34 "/>
    <Binding col="5" row="3" msg="0x90 0x35 "/>
    <Binding col="6" row="3" msg="0x90 0x36 "/>
    <Binding col="7" row="3" msg="0x90 0x37 "/>
    <Binding col="8" row="3" msg="0x90 0x38 "/>
    <Binding col="0" row="4" msg="0x90 0x40 "/>
    <Binding col="1" row="4" msg="0x90 0x41 "/>
    <Binding col="2" row="4" msg="0x90 0x42 "/>
    <Binding col="3" row="4" msg="0x90 0x43 "/>
    <Binding col="4" row="4" msg="0x90 0x44 "/>
    <Binding col="5" row="4" msg="0x90 0x45 "/>
    <Binding col="6" row="4" msg="0x90 0x46 "/>
    <Binding col="7" row="4" msg="0x90 0x47 "/>
    <Binding col="8" row="4" msg="0x90 0x48 "/>
    <Binding col="0" row="5" msg="0x90 0x50 "/>
    <Binding col="1" row="5" msg="0x90 0x51 "/>
    <Binding col="2" row="5" msg="0x90 0x52 "/>
    <Binding col="3" row="5" msg="0x90 0x53 "/>
    <Binding col="4" row="5" msg="0x90 0x54 "/>
    <Binding col="5" row="5" msg="0x90 0x55 "/>
    <Binding col="6" row="5" msg="0x90 0x56 "/>
    <Binding col="7" row="5" msg="0x90 0x57 "/>
    <Binding col="8" row="5" msg="0x90 0x58 "/>
    <Binding col="0" row="6" msg="0x90 0x60 "/>
    <Binding col="1" row="6" msg="0x90 0x61 "/>
    <Binding col="2" row="6" msg="0x90 0x62 "/>
    <Binding col="3" row="6" msg="0x90 0x63 "/>
    <Binding col="4" row="6" msg="0x90 0x64 "/>
    <Binding col="5" row="6" msg="0x90 0x65 "/>
    <Binding col="6" row="6" msg="0x90 0x66 "/>
    <Binding col="7" row="6" msg="0x90 0x67 "/>
    <Binding col="8" row="6" msg="0x90 0x68 "/>
    <Binding col="0" row="7" msg="0x90 0x70 "/>
    <Binding col="1" row="7" msg="0x90 0x71 "/>
    <Binding col="2" row="7" msg="0x90 0x72 "/>
    <Binding col="3" row="7" msg="0x90 0x73 "/>
    <Binding col="4" row="7" msg="0x90 0x74 "/>
    <Binding col="5" row="7" msg="0x90 0x75 "/>
    <Binding col="6" row="7" msg="0x90 0x76 "/>
    <Binding col="7" row="7" msg="0x90 0x77 "/>
    <Binding col="8" row="7" msg="0x90 0x78 "/>
    <Binding col="0" row="8" msg="0x90 0x80 "/>
    <Binding col="1" row="8" msg="0x90 0x81 "/>
    <Binding col="2" row="8" msg="0x90 0x82 "/>
    <Binding col="3" row="8" msg="0x90 0x83 "/>
    <Binding col="4" row="8" msg="0x90 0x84 "/>
    <Binding col="5" row="8" msg="0x90 0x85 "/>
    <Binding col="6" row="8" msg="0x90 0x86 "/>
    <Binding col="7" row="8" msg="0x90 0x87 "/>
    <Binding col="8" row="8" msg="0x90 0x88 "/>
  </TriggerBindings>

Issue History

Date Modified Username Field Change
2023-08-01 07:03 psmith New Issue
2023-08-01 07:03 psmith File Added: Screenshot_20230731_091614.png
2023-08-01 14:22 paul Note Added: 0027929
2023-08-01 15:46 psmith Note Added: 0027930
2023-08-02 11:26 psmith Note Added: 0027934
2023-08-02 15:29 psmith Note Added: 0027939
2023-08-18 08:24 zettberlin Note Added: 0027981
2023-08-27 08:18 psmith Note Added: 0027997
2023-08-29 06:32 psmith Note Added: 0028000
2023-10-18 16:45 FelixHeppner Note Added: 0028226
2023-11-03 23:37 ocyssau Note Added: 0028298