Offline
Abandoned On Fire

I keep noticing other config and mapping options when I refer to the wiki.  For instance the option to control the master volume with midi (maybe, i haven't gotten to try it yet).  If it doesn't already exist, we should put our collective experience together and make templates for config and mapping xml's that have all available options included but commented out.

EXAMPLE CONFIG TEMPLATE

Paste into a config.xml
Remove the <!-- and --> from around the option you want to activate

Piggy config.xml wrote:

<CONFIG>
    <!-- GRAPHICS OPTIONS -->
        <!-- WIN/DEB/OSX ONLY -->
            <!-- <SCREENMULT value="2"/> -->
            <!-- <FULLSCREEN value="YES"/> -->
        <!-- <BACKGROUND value="505444" /> -->
        <!-- <FOREGROUND value="FFFFFF" /> -->
        <!-- <HICOLOR1 value="F41B38" /> -->
        <!-- <HICOLOR2 value="FF0000" /> -->
   
    <!-- KEYBOARD ("f") AND BUTTON ("but:0:x") OPTIONS -->
        <!-- <KEY_A value="f" /> -->
        <!-- <KEY_B value="d" /> -->
        <!-- <KEY_LEFT value="j" /> -->
        <!-- <KEY_RIGHT value="l" /> -->
        <!-- <KEY_UP value="i" /> -->
        <!-- <KEY_DOWN value="k" /> -->
        <!-- <KEY_LSHOULDER value="a" /> -->
        <!-- <KEY_RSHOULDER value=";" /> -->
        <!-- <KEY_START value="space" /> -->
        <!-- <KEYDELAY value="185"/> -->
        <!-- <KEYREPEAT value="40"/> -->

    <!-- FOLDER OPTIONS -->
        <!-- <ROOTFOLDER value="c:/files/tracks/"/> -->
        <!-- <SAMPLELIB value="root:"/> -->

    <!-- AUDIO OPTIONS -->
        <!-- GP2X AND DINGOO ONLY -->
            <!-- <VOLUME value="60"/> -->
        <!-- WIN ONLY -->
            <!-- <AUDIODRIVER value="driver name"/> -->
            <!-- <AUDIOBUFFERSIZE value="512"/> -->
            <!-- <AUDIOAPI value="ASIO or MMSYSTEM"/> -->
            <!-- <AUDIOBUFFERCOUNT value="3"/> -->

    <!-- RENDER OPTIONS -->
        <!-- <RENDER value="FILERT"/> -->
        <!-- <RENDER value="FILESPLITRT"/> -->
        <!-- <RENDER value="FILE"/> -->
        <!-- <RENDER value="FILESPLIT"/> -->

    <!-- MIDI CONTROLLER OPTIONS (WIN/DEB/OSX) -->
        <!-- <MIDICTRLDEVICE value="device name"/>

    <!-- MIDI DELAY (MILISECONDS) -->
        <!-- <MIDIDELAY value="1"/> -->

    <!-- LOG -->
        <!-- <DUMPEVENT value="YES"/> -->

</CONFIG>

Last edited by egr (Nov 16, 2014 7:47 pm)

Offline
Unsubscribe

There is no midi mapping for vol. You can only map controller options and tap tempo. They can be found on the mapping.xml page:

http://wiki.littlegptracker.com/doku.ph … pt:mapping

Offline
Unsubscribe

This example contains possible destinations

<MAPPINGS>
<MAP src="joy:0:1-" dst="/event/up" />
<MAP src="joy:0:1+" dst="/event/down" />
<MAP src="joy:0:0-" dst="/event/left" />
<MAP src="joy:0:0+" dst="/event/right" />
<MAP src="but:0:0" dst="/event/a" />
<MAP src="but:0:3" dst="/event/b" />
<MAP src="but:0:1" dst="/event/a" />
<MAP src="but:0:2" dst="/event/b" />
<MAP src="but:0:5" dst="/event/rshoulder" />
<MAP src="but:0:7" dst="/event/rshoulder" />
<MAP src="but:0:4" dst="/event/lshoulder" />
<MAP src="but:0:6" dst="/event/lshoulder" />
<MAP src="but:0:8" dst="/event/start" />
<MAP src="but:0:9" dst="/tempo/tap" />
</MAPPINGS>
Offline
Abandoned On Fire

I admit I haven't tried it, but if this works (from the Dingoo example)

<MAP src="key:0:space" dst="/mixer/volume/increase" />
<MAP src="key:0:left shift" dst="/mixer/volume/decrease" />

then shouldn't this work?

<MAP src="midi:all:0:cc:104" dst="/mixer/volume/increase" />
<MAP src="midi:all:0:cc:105" dst="/mixer/volume/decrease" />

Last edited by egr (Nov 14, 2014 10:51 pm)

Offline
Unsubscribe

Perhaps Marc associate that function in the midi code, or it only works on Dingoo?

Does your midi commands work for the other commands?

If not, did you add the midi ctrl device:
<MIDICTRLDEVICE=NAMEOFDEVICE/>

Offline
Abandoned On Fire

I'll do some experimenting tonight.  Also hoping I can use log output to figure out how to specify midi -> button combo for queuing song rows and muting.

Offline
Unsubscribe

you can stack commands in mapping to get key combos but if IRC its picky

for example
<MAP src="midi:all:0:cc:107" dst="/event/rshoulder/>
<MAP src="midi:all:0:cc:107" dst="/event/up" />

to go to the project screen from the song screen using cc 107.

Im about to do something similar in the next week or two with my setup (having another sequencer load up a piggy song and start a row in its dying seqeunces) so please share if you run into problems.

Offline
Abandoned On Fire
herr_prof wrote:

you can stack commands in mapping to get key combos but if IRC its picky

for example
<MAP src="midi:all:0:cc:107" dst="/event/rshoulder/>
<MAP src="midi:all:0:cc:107" dst="/event/up" />

to go to the project screen from the song screen using cc 107.

Im about to do something similar in the next week or two with my setup (having another sequencer load up a piggy song and start a row in its dying seqeunces) so please share if you run into problems.

Excellent!  I'll try this out as well, thanks!

Offline
Abandoned On Fire

Added an example of a config template to the first post.  Not sure if a template mapping.xml makes sense (haven't gotten a chance to try out non-controller midi mappings yet).

Offline
Unsubscribe

I can confirm the audio stuff that is win only is actually win only. I think midi delay is also a windows only setting. The miditctrl in the betas are also win/osx/deb only.

Offline
Abandoned On Fire
herr_prof wrote:

I can confirm the audio stuff that is win only is actually win only. I think midi delay is also a windows only setting. The miditctrl in the betas are also win/osx/deb only.

Updated.