Pattern XP mod

Post Reply
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Pattern XP mod

Post by chahur »

- Updated 2017/03/30 -

I've done some modifications to PatternXP to suit my needs.
It may be useful to someone else.
It's here to download.

Tutorials :
How to use the chord dialog
How to create new arpeggios
How to use the chords progressions

What's new :

"Bar" combobox to select the number of beats between row highlighting.
Pg-up and Pg-down move 1 "bar".
"Help" checkbox to show/hide the content of the text file "Jeskola Pattern XP.txt".
"Merge" button to paste the content of the clipboard without clearing the existing data.
"Clear off" button to clear all "note off" in the selection.
"Add off" button to add "note off" after each note in the selection.
Shift "note off" up or down in the selection.
"HOME" moves as in built-in editor.
"Export" : export pattern in CSV format.
"Import" : import pattern from a CSV file.
Keep the selection persistent when changing patterns.
Show (or hide) parameter name at the top of the columns.
Shrink / Expand pattern.
Track toolbar (C-copy, X-cut, P-paste, M-merge).
Display params values in hexa and decimal in the status bar.
Button toolbar (optional).
"Humanize" button to randomize parameters in the selection (scalable 0..100), empty rows humanized or not.
"Insert Chord" button to insert on the current row the notes of the chord with current note as root of the chord. Chords description file are located in the directory Buzz\Gear\Generators\PatternXP and are named *.chords. You can select the file to use. The chord can be generated once or octave after octave up to the last track.
Interpolate can be modulated by a param
"Reverse" button to reverse the order of the values in the selection.
"Mirror" button to mirror the values in the selection.
Insert row, Delete row
Chord expert : analyse the pattern to display the chords names.
Chord expert : select the chord to insert with a dialog. Chords are displayed depending on the distance from the current chord.
Chord expert dialog: Insert multiple chords in the pattern. Move the pattern cursor within the dialog.
Tonality selection : Display notes out of tonality in red. Chord selection dialog shows only chords in the tonality. Shift notes and mirror notes according to tonality.
Dialog to determine the tonality of the pattern.
Selection of arpeggio used for chord generation.
Creation of arpeggio according to the notes selected in the pattern.
"Transpose" Button to transpose the selected notes into a min/max subset.
"Save progression" Button to save a chords progression. Use the progressions in the Chord Expert dialog.

Shortcuts

ctrl + shift + SUBTRACT : shift selection 1 octave down
ctrl + shift + ADD : shift selection 1 octave up
ctrl + shift + V: Edit paste and merge
ctrl + F: Clear NoteOff
ctrl + shift + F: Add NoteOff
ctrl + J: Shift down NoteOff
ctrl + shift + J: Shift up NoteOff
ctrl + A: Select All
ctrl + shift + T: Select track
ctrl + shift + R: Humanize selection
ctrl + PrevPage : First row
ctrl + NextPage : Last row
ctrl + HOME : First col, first row
ctrl + END : Last col, last row
ctrl + alt + X : Export pattern
ctrl + alt + P : Import pattern
ctrl + alt + SUBTRACT: shrink pattern
ctrl + alt + ADD: expand pattern
ctrl + H: Insert chord
ctrl + D: Reverse Selection
ctrl + shift + D: Mirror Selection
ctrl + P: Insert row
ctrl + shift + P: Delete row
ctrl + dblClick on machine name opens the machine help file (if exists).
dblclick on the row number : Select row.
shift + dblclick on the row number : Select beat.
ctrl + dblclick on the row number : Select measure.

-------------------
Chord expert dialog :
Up, Down, Left, Right : move cursor in chords grid
ENTER : insert chord in pattern
ESC : close dialog
ctrl+Up : Prev row in pattern
ctrl+Down : Next row in pattern
ctrl+PrevPage: Prev measure in pattern
ctrl+NextPage : Next measure in pattern
ctrl+Delete : Clear current row in pattern
Last edited by chahur on Thu Mar 30, 2017 12:23 pm, edited 43 times in total.
User avatar
szaszhareen
Posts: 527
Joined: Wed Nov 23, 2011 1:15 am
Location: deep beneath the earths crust

Re: Pattern XP mod

Post by szaszhareen »

wicked, thanks! i'll be testing this out, very useful stuff. :)
boombaxx
Posts: 279
Joined: Tue Dec 06, 2011 6:54 pm

Re: Pattern XP mod

Post by boombaxx »

Any chance of an x64 version :D
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

I don't know how to compile x64 version with VS C++2010 express.
I read some stuff about that, but it doesn't work fine for me.
If someone can tell me how to do it, I can try.
boombaxx
Posts: 279
Joined: Tue Dec 06, 2011 6:54 pm

Re: Pattern XP mod

Post by boombaxx »

I have no idea about programming Oskari made the original X64 version. He would know :D
mute
Posts: 417
Joined: Mon Nov 21, 2011 8:30 pm

Re: Pattern XP mod

Post by mute »

very cool chahur, thank you for sharing. i'll get to using it tonight ;)

btw.. could you look @ fixing some of the navigation? check out how the home and tab keys work on the original built-in pattern editor...it is way more intuitive than pxp. for example, home once to go back to note column in current track and to the top, home a second time to goto first track. tab, shift tab, etc.

ctrl-b/e works way better in the original editor too, i've been missing it. pressing it twice consecutively in a track will select the entire row, pressing it a third time would select an entire track, pressing it a 4th time would select the entire pattern (no need to mess with ctrl e for selecting everything, etc). pxp doesnt do this at all. ctrl+b/e are really gimped in pxp and i hate the mouse, particularly if im editing patterns.

maybe even some stuff like shift/arrow keys, ctrl-shift-end/home, etc... more traditional 'windows' mouse-free highlighting, etc.

the paste/merge sounds excellent ;)

whatever happened to pattern import/export? i would love to be able to import pattern templates
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

I could have a look at the navigation.
But the way home and tab work in pxp is OK for me, I really use a quick way to go to the 1st row. Also tab - shift tab to navigate between cols is fine for me.
I never use ctrl+b ctrl+e, I had a short look at it just now, but I don't see difference with the built-in editor.
Pressing it a third time would select an entire track, pressing it a 4th time would select the entire pattern ... I suppose that adding new shortcuts to do that would be easier than messing with the ctrl+b behaviour. I can do that.
I agree to add some other shortcuts, that was also my initial idea when I started to look at the pxp sources.

I've change PrevPage - NextPage to use the Bar combo value.
mute
Posts: 417
Joined: Mon Nov 21, 2011 8:30 pm

Re: Pattern XP mod

Post by mute »

cheers. what was bugging me about select wasn't the b/e behavior.. memory fail. it's that if you change patterns (+/-) the selection isn't persistent. home in pxp is worthless because of page up. i might make a video if i can wrestle the energy tomorrow after work.
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

OK, I understand.
No need for a video.
I'll have a look.
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

Some changes in the 05/21 built (see first post):
HOME moves as in built-in editor.
Added some new shortcuts.
esp81
Posts: 139
Joined: Mon Jun 17, 2013 2:44 am

Re: Pattern XP mod

Post by esp81 »

The download link seems to be dead, anyone else having trouble?
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

No, it's working fine. Maybe a problem at that moment.
I'm using this provider for 15 years and my sites have never been down.
esp81
Posts: 139
Joined: Mon Jun 17, 2013 2:44 am

Re: Pattern XP mod

Post by esp81 »

Okay well that's strange, the link is still down for me.

"The connection has timed out

The server at ronan.daniel.free.fr is taking too long to respond" is what it keeps saying.
User avatar
szaszhareen
Posts: 527
Joined: Wed Nov 23, 2011 1:15 am
Location: deep beneath the earths crust

Re: Pattern XP mod

Post by szaszhareen »

i've had wierd download problems like that with my isp, i feel your pain. i uploaded the latest version here:

https://app.box.com/s/dm2p9y53knv6ugkc4nr2

hopefully you can get it from there until the link on chahur's site works for you again. :)
esp81
Posts: 139
Joined: Mon Jun 17, 2013 2:44 am

Re: Pattern XP mod

Post by esp81 »

Thanks for the link Szaszhareen, much appreciated! Are you guys renaming the file or just replacing the existing .dll?
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

You 'd better rename the original one, just in case something is going wrong with my version :-)
mridlen
Posts: 432
Joined: Sun Apr 15, 2012 8:55 am
Contact:

Re: Pattern XP mod

Post by mridlen »

Before I start using this, are patterns still saved in the same format? Meaning, will I be able to open it in the stock Pattern XP if I created it with the modded version?
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

Yes, I modify the user interface only.
User avatar
chahur
Posts: 215
Joined: Sun Nov 27, 2011 5:19 pm

Re: Pattern XP mod

Post by chahur »

New version "mute special" :
- persistent selection when changing pattern.
- export pattern in CSV format (can be easily edited in a spreadsheet).
- import pattern from CSV format.

Import/Export have not been heavily tested ... Please, report bugs :-)
User avatar
szaszhareen
Posts: 527
Joined: Wed Nov 23, 2011 1:15 am
Location: deep beneath the earths crust

Re: Pattern XP mod

Post by szaszhareen »

this is really nice, the help box is probably my favorite feature XD i tend to forget so many of the keyboard commands and it's nice to have a reminder right there. one question:

what's the VK_ mean? which key do you hit to use this?

for example: VK_PRIOR: First row

i'm stumped on this one. :)
Post Reply