Code for mapping string values

   Discuss technical issues with the community. Mixvibes staff provides no support on this board.
Forum rules
Click here to join MIxvibes on DISCORD https://discord.gg/gMdQJ2cJqa

Code for mapping string values

Postby kugmo on 15 Feb 2013, 14:12

can anyone show me a code segment for the following out params?

Out fam(Player)[0x?].TrackElapsedTime (String)
Out fam(Player)[0x?].TrackRemainingTime (String)

I'm coding out params for a denon sc2900. i got track artist and title down, but need to output other items in the VFD.

my problem is what value to place in (String). Thanks!
User avatar
kugmo
 
Posts: 92
Joined: 04 Jul 2007, 11:31
Location: Cebu City, Philippines


Re: Code for mapping string values

Postby BennyB on 15 Feb 2013, 14:26

I quoted this, from my post from the MIDI Output topic. I hope i't useful:

DzsoniB wrote:Here is a new tip that I put here for mapping MIDI text for DENON controller to display track and artist:
This will not be in the Utility in the meantime, so use it this way!

sylMV wrote:
sylMV wrote:Only for a few devices such as Denon decks.
There's unfortunately no standard way of sending text over MIDI...


meaning, there's some code in Cross to send text using the Denon format :)

However, if you can handle them using Max, here are the kind of lines needed in the mappings file:

Code: Select all
<mapping>
  <control alias="fam(Player)[0x1].TrackArtist" value="miditext"/>
  <miditext kind="DENONS3700_1" channel="0x1"/>
</mapping>


There are 4 kinds available:
- "DENONS3700_1" (1st line of the Denon S3700/S3900)
- "DENONS3700_2" (2nd line of the Denon S3700/S3900)
- "DENONHC4500_1" (1st line of the Denon HC4500)
- "DENONHC4500_2" (2nd line of the Denon HC4500)
You can find the MIDI messages sent in the Denon docs.

Hope this helps a bit ;)
Image
April 2012 Mixvibes DJ of the month

aka. Ben

"...Music Is The Answer To The Problems..."

FOUNDER OF:
:cool: c00l People MV Society :cool:
!!!Sampler Fi!!!
Helping MIXVIBES FORUM being an awsome place
since 2011!

MixVibes People!!! UNITE!!!
User avatar
BennyB
 
Posts: 836
Joined: 14 Apr 2011, 22:54
Location: Hungary


Re: Code for mapping string values

Postby kugmo on 15 Feb 2013, 22:18

yup, that part's done. my problem's the upper side of the denon vfd. mixvibes doc states sending a sting value. i have the MIDI command and trigger vales. denon docs ask for a logic. so, my problem is what string to send from the mv xml map
User avatar
kugmo
 
Posts: 92
Joined: 04 Jul 2007, 11:31
Location: Cebu City, Philippines


Re: Code for mapping string values

Postby sylMV on 18 Feb 2013, 11:23

For the Denon specific stuff, only the ones quoted are working.
The other displays that aren't logic aren't.
SylMV

Image
User avatar
sylMV
 
Posts: 3098
Joined: 04 Jan 2007, 10:38


Re: Code for mapping string values

Postby kugmo on 18 Feb 2013, 16:29

sylMV wrote:For the Denon specific stuff, only the ones quoted are working.
The other displays that aren't logic aren't.


yeah, that's my big headache now. seems like the denon docs want us to pass values dynamically. question is, how do we pass a (string), and what (string)s are passed, dynamically, through the XML

back to the drawing board :)
this probably is the hardest part of it all, sending dynamic output to the DN-SC2900 VFD :eek: thank god i used a clipper on my head the week before...no hair to pull out hahaha
User avatar
kugmo
 
Posts: 92
Joined: 04 Jul 2007, 11:31
Location: Cebu City, Philippines


Re: Code for mapping string values

Postby sylMV on 18 Feb 2013, 16:34

I meant, that's not implemented in Cross.
We only added support for basic text display.
Other display stuff could have followed but it's been drastically down-prioritized.
SylMV

Image
User avatar
sylMV
 
Posts: 3098
Joined: 04 Jan 2007, 10:38


Re: Code for mapping string values

Postby kugmo on 18 Feb 2013, 16:45

sylMV wrote:I meant, that's not implemented in Cross.
We only added support for basic text display.
Other display stuff could have followed but it's been drastically down-prioritized.


yup, fully understood. i've raised a couple of suggestions in the appropriate Cross area as well, and hopefully it'll get a few light bulbs lit up soon :)

denon's current VFD implementation, in my opinion, is just nonstandard-awful...
User avatar
kugmo
 
Posts: 92
Joined: 04 Jul 2007, 11:31
Location: Cebu City, Philippines



Return to Community Support




Who is online

Users browsing this forum: No registered users and 40 guests

Board index

 
 
   
 
© 2014 Mixvibes