Page 8 of 18
Re: Pattern XP mod
Posted: Tue Oct 21, 2014 7:42 am
by chahur
esp81 wrote:Loving the new features, thanks!! Mirror selection is changing all notes, not just the selected ones, is that intentional?
No, it's a bug. Corrected soon.
Re: Pattern XP mod
Posted: Tue Oct 21, 2014 3:08 pm
by chahur
Added :
- Insert row (Ctrl+P), Delete row (Ctrl+Shift+P)
Bugfix :
- mirror selection on selected notes
Re: Pattern XP mod
Posted: Tue Oct 21, 2014 5:42 pm
by rav
Many thanks
chahur wrote:- Put focus back to editor when clicking on a button
This has an impact on textbox from humanization, unfortunately.
Export pattern works via open dialog box. It is easy to overwrite existing pattern without knowing it. I have done this while using this for the first time

Import function loads values to all visible rows + 1 hidden row. Is it possible to load all values or auto resize existing pattern to importing content?
Re: Pattern XP mod
Posted: Tue Oct 21, 2014 6:51 pm
by magmavander
what a wonderful toy!
Bien joué le frenchy

Re: Pattern XP mod
Posted: Wed Oct 22, 2014 1:27 pm
by chahur
rav wrote:
- Put focus back to editor when clicking on a button
This has an impact on textbox from humanization, unfortunately.
OK, corrected in next version.
rav wrote:
Export pattern works via open dialog box. It is easy to overwrite existing pattern without knowing it. I have done this while using this for the first time
OK, corrected in next version. Added prompt on overwrite.
rav wrote:
Import function loads values to all visible rows + 1 hidden row. Is it possible to load all values or auto resize existing pattern to importing content?
I don't understand : what do you mean with 1 hidden row ?
Re: Pattern XP mod
Posted: Wed Oct 22, 2014 6:22 pm
by rav
chahur wrote:rav wrote:
Import function loads values to all visible rows + 1 hidden row. Is it possible to load all values or auto resize existing pattern to importing content?
I don't understand : what do you mean with 1 hidden row ?
First, export 8 beats pattern with values on all rows. Notes on all rows from 0 to 31, for example.
Try to import from file to new 4 beats pattern. Rows from 0 to 15 have been imported.
Then, change length to 8 beats and you can see hidden bonus on 16 row.
Re: Pattern XP mod
Posted: Wed Oct 22, 2014 8:00 pm
by chahur
rav wrote:
First, export 8 beats pattern with values on all rows. Notes on all rows from 0 to 31, for example.
Try to import from file to new 4 beats pattern. Rows from 0 to 15 have been imported.
Then, change length to 8 beats and you can see hidden bonus on 16 row.
OK, it's fixed.
Added :
- Add "Import pattern : auto resize (rows)" parameter.
Re: Pattern XP mod
Posted: Fri Oct 24, 2014 8:47 am
by mridlen
What about a feature to transpose within a key? That's something I've wanted for a while now. So that you could set the key to "C" for example, and when you enter an A minor cord, when you transpose it, everything would remain in key when transposed down to G and it would turn into a G major.
Not sure how notes outside of the key should be handled though... maybe just transposed precisely like normal?
Re: Pattern XP mod
Posted: Fri Oct 24, 2014 9:32 am
by chahur
mridlen wrote:What about a feature to transpose within a key? That's something I've wanted for a while now. So that you could set the key to "C" for example, and when you enter an A minor cord, when you transpose it, everything would remain in key when transposed down to G and it would turn into a G major.
Not sure how notes outside of the key should be handled though... maybe just transposed precisely like normal?
That's something I would like to have also.
But I need some musical advice, I can write the program, but I don't know what, musically speaking. I suspect that it's much more complicated that what I think.
Re: Pattern XP mod
Posted: Fri Oct 24, 2014 2:09 pm
by chahur
flat wrote:
In Pattern XP editor I'd like to be able to trigger the machine help display by double clicking (or by choosing it via left mouse button menu).
Main reason would be to more directly/intuitively get info of effects command parameters values while editing patterns.
I don't know how to do that.
Oskari, is it possible without you to add a function in MachineInterface.h (as pCB->ShowMachineWindow(...)).
void ShowMachineHelp(CMachine *pmac);
Re: Pattern XP mod
Posted: Tue Oct 28, 2014 1:50 am
by ohmegah7
this is just great. thank you so much

Re: Pattern XP mod
Posted: Tue Oct 28, 2014 7:55 pm
by oskari
chahur wrote:flat wrote:
In Pattern XP editor I'd like to be able to trigger the machine help display by double clicking (or by choosing it via left mouse button menu).
Main reason would be to more directly/intuitively get info of effects command parameters values while editing patterns.
I don't know how to do that.
Oskari, is it possible without you to add a function in MachineInterface.h (as pCB->ShowMachineWindow(...)).
void ShowMachineHelp(CMachine *pmac);
You can use the new GetMachineModuleHandle callback and then win32 GetModuleFileName to get the path of the DLL. Help files have extension .html, .htm or .txt.
Re: Pattern XP mod
Posted: Tue Oct 28, 2014 9:04 pm
by Klangkulisse
What a guy!
Re: Pattern XP mod
Posted: Tue Oct 28, 2014 9:16 pm
by chahur
oskari wrote:
You can use the new GetMachineModuleHandle callback and then win32 GetModuleFileName to get the path of the DLL. Help files have extension .html, .htm or .txt.
Thanks for the update.
How do I use :
virtual void *GetMachineModuleHandle(CMachine *pmac); // returns HMODULE of machine
to retrieve the handle ?
Should it be
virtual HMODULE GetMachineModuleHandle(CMachine *pmac);
instead ?
... let's try ...
It works fine, I make the change. Thank you !
Re: Pattern XP mod
Posted: Tue Oct 28, 2014 10:27 pm
by oskari
HMODULE is really a void * and I want MachineInterface.h to work without windows.h. You can simply cast it HMODULE h = (HMODULE)GetMachineModuleHandle(pmac).
Re: Pattern XP mod
Posted: Wed Oct 29, 2014 8:45 pm
by chahur
Added :
- Ctrl+DblClick on machine name opens the machine help file (if exists).
- Chord expert : analyse the pattern to display the chords names.
Notes on Chord expert :
Chord expert analyses the notes of the pattern and display the name of the chords in the left margin if possible.
The analyse uses the Chord file selected to insert chords in the pattern.
It is based on the notes used by the chords, but not the intervals.
If two chords uses the same notes, the first one is selected.
The analyse can be parametered as automatic or manual (top left button to do the analyse).
... more to come

Re: Pattern XP mod
Posted: Thu Oct 30, 2014 5:54 am
by flat
Great!!!
Thanks for that.
(editing help files, adding my machine notes)
Re: Pattern XP mod
Posted: Fri Oct 31, 2014 2:07 am
by tinga
Lovely toolbar.
Chords names are cool, but there some issues with chord's inversions(i1 i2 i3), because root isn't on bass.
Re: Pattern XP mod
Posted: Sat Nov 01, 2014 3:13 pm
by UNZ
there seems to be a bug with page up / page down, sometimes they switch around, and page up moves down, page down moves up.
also why does page up / down now move to the end and start of pattern, the old behaviour of moving only on bar was much better imho.
Moving to start and end are what HOME and END should be for.
Re: Pattern XP mod
Posted: Sat Nov 01, 2014 5:49 pm
by chahur
UNZ wrote:there seems to be a bug with page up / page down, sometimes they switch around, and page up moves down, page down moves up.
also why does page up / down now move to the end and start of pattern, the old behaviour of moving only on bar was much better imho.
Moving to start and end are what HOME and END should be for.
I can't reproduce the problem, Page up/down move on bars.
Ctrl+PageUp goes to the start and ctrl+PageDown goes to the end.