HELP: Analog Joystick + GlovePIE - Page 2
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Tech Student
    Join Date
    Jun 2010
    Posts
    1

    Default

    have you tried setting the range as an odd number?
    i.e. min = 0, max = 126 (127 units total)
    this way you can use 64 as a middle point.

  2. #12
    Tech Mentor kaleaf's Avatar
    Join Date
    Jan 2009
    Location
    Santa Cruz, CA
    Posts
    172

    Default

    sup g

    this is what im using on my x-fade

    midi2.channel1.ByteControl20 = MapRange(Joystick1.x, -1,1, 0,1)


    check these settings

    -if your midi is not the default system device your going to have to try midi2.channel then midi3.channel unless you know your midi out device

    -check calibration in windows for your device

    -are you useing a midi cable out and back in to your pc or are you useing software loopback if software I use loobe1 free edition http://nerds.de/en/download.html


    try and get your buttons going first if you have not also im not 100 percent sure that my code is the right way to do it but it works for me.
    Last edited by kaleaf; 06-10-2010 at 09:55 AM.

  3. #13
    Tech Mentor kaleaf's Avatar
    Join Date
    Jan 2009
    Location
    Santa Cruz, CA
    Posts
    172

    Default

    bump,

    did you try that code cheft?

    did not want this to go to page 2 incase he did not get the msg

  4. #14
    Tech Convert
    Join Date
    Jun 2010
    Posts
    6

    Default

    hi guys, do any of you have cheft's ZIP archive with the .PIE config for the joystick, i made a JOYSTICK2MIDI controller and i'm having issues in Windows 7 ... wanted to confrunt the GP codes ... thanks

  5. #15
    Tech Convert
    Join Date
    Jun 2010
    Posts
    6

    Default

    here a pic of the "device" ... everything's fine but the codes ...

    Attachment 2790




    this is what i comed up with in GP:

    "
    //BUTTONS
    midi.Channel.C1=joystick1.Button1
    midi.Channel.D1=joystick1.Button2
    midi.Channel.E1=joystick1.Button3
    midi.Channel.F1=joystick1.Button4
    //TOP BUTTONS
    midi.Channel.G1=joystick1.Button5
    midi.Channel.A1=joystick1.Button6
    midi.Channel.B1=joystick1.Button7
    midi.Channel.C2=joystick1.Button8
    //SELECT/START BUTTONS
    midi.Channel.D2=joystick1.Button9
    midi.Channel.E2=joystick1.Button10
    //STICK BUTTONS
    midi.Channel.F2=joystick1.Button11
    midi.Channel.G2=joystick1.Button12
    //POV
    midi.Channel.A2=joystick1.Pov1Up
    midi.Channel.B2=joystick1.Pov1Down
    midi.Channel.C3=joystick1.Pov1Left
    midi.Channel.D3=joystick1.Pov1Right
    //ANALOG STICKS
    midi.channel1.Slider1Fine=MapRange(Joystick1.x, -1,1, 0,1)
    midi.channel1.Slider2Fine=MapRange(Joystick1.z, -1,1, 0,1)
    midi.channel1.Slider3Fine=MapRange(Joystick1.y, -1,1, 0,1)
    midi.channel1.Slider4Fine=MapRange(Joystick1.roll, -1,1, 0,1)
    "



    what this does in WIN7 x64 is ... plays a piano sound when pressing diferent buttons on the "controller" ... also .. trktor for example does not detect as midi input wher learn function is on ... ableton also ... in XP worked OK ... any advices ? pointers ?
    Last edited by alequ; 06-19-2010 at 11:36 AM.

  6. #16
    Tech Mentor extraclassic's Avatar
    Join Date
    May 2010
    Location
    Sheffield - UK
    Posts
    255

    Default

    Quote Originally Posted by alequ View Post
    hi guys, do any of you have cheft's ZIP archive with the .PIE config for the joystick, i made a JOYSTICK2MIDI controller and i'm having issues in Windows 7 ... wanted to confrunt the GP codes ... thanks
    I couldn't get Chefts zip archive to extract?

    Anyway found this script by Cheft over at the glove pie forum.

    //DUEL ACTION GAMEPAD TO MIDI
    //WRITTEN FOR MIDI CHAN 1 ON JOYSTICK #1
    midi.DefaultChannel=1
    //BUTTONS
    midi.C1=joystick1.Button1
    midi.D1=joystick1.Button2
    midi.E1=joystick1.Button3
    midi.F1=joystick1.Button4
    //TOP BUTTONS
    midi.G1=joystick1.Button5
    midi.A1=joystick1.Button6
    midi.B1=joystick1.Button7
    midi.C2=joystick1.Button8
    //SELECT/START BUTTONS
    midi.D2=joystick1.Button9
    midi.E2=joystick1.Button10
    //STICK BUTTONS
    midi.F2=joystick1.Button11
    midi.G2=joystick1.Button12
    //POV
    midi.A2=joystick1.Pov1Up
    midi.B2=joystick1.Pov1Down
    midi.C3=joystick1.Pov1Left
    midi.D3=joystick1.Pov1Right
    //midi.E3=joystick1.Pov1Center
    //ANALOG STICKS
    midi.Control1=(joystick1.x/261)+64
    midi.Control2=(joystick1.y/261)+64
    midi.Control3=(joystick1.z/261)+64
    midi.Control4=(joystick1.roll/261)+64

    Not sure if its what your after but it helped me figure things out

    Thanks to Cheft

  7. #17
    Tech Mentor kaleaf's Avatar
    Join Date
    Jan 2009
    Location
    Santa Cruz, CA
    Posts
    172

    Default

    try changing the midi.channel1 to midi2.channel1, midi3.channel1, ... ect

    I have win7 64 also and it seems in the gui tab i select midi device but code is always just midi. If in the pull down tab your midi device is 3rd down then try midi3.channel1. Problem is I can not find how to set default midi device in windows.

  8. #18
    Tech Convert
    Join Date
    Jun 2010
    Posts
    6

    Default

    Quote Originally Posted by kaleaf View Post
    try changing the midi.channel1 to midi2.channel1, midi3.channel1, ... ect

    I have win7 64 also and it seems in the gui tab i select midi device but code is always just midi. If in the pull down tab your midi device is 3rd down then try midi3.channel1. Problem is I can not find how to set default midi device in windows.
    search with Google for - "Vista Default Midi" - the option to chose default midi was removed when Vista appeared - someone created a lil' app to let you chose default midi .


    actually here it it - http://www.benryves.com/products/vistamidi

    and

    http://www.softpedia.com/get/Multime...I-Picker.shtml


    ... thanks for tha tip - i'll try that asap and come back with details.

  9. #19
    Tech Convert
    Join Date
    Jun 2010
    Posts
    6

    Default

    Quote Originally Posted by extraclassic View Post
    I couldn't get Chefts zip archive to extract?

    Anyway found this script by Cheft over at the glove pie forum.

    //DUEL ACTION GAMEPAD TO MIDI
    //WRITTEN FOR MIDI CHAN 1 ON JOYSTICK #1
    midi.DefaultChannel=1
    ......
    midi.Control2=(joystick1.y/261)+64
    midi.Control3=(joystick1.z/261)+64
    midi.Control4=(joystick1.roll/261)+64

    Not sure if its what your after but it helped me figure things out

    Thanks to Cheft
    ... thanks fot tha tip, will try it ASAP

  10. #20
    Tech Convert
    Join Date
    Jun 2010
    Posts
    6

    Default

    Quote Originally Posted by extraclassic View Post
    I couldn't get Chefts zip archive to extract?

    Anyway found this script by Cheft over at the glove pie forum.

    //DUEL ACTION GAMEPAD TO MIDI
    //WRITTEN FOR MIDI CHAN 1 ON JOYSTICK #1
    midi.DefaultChannel=1
    //BUTTONS
    midi.C1=joystick1.Button1
    ....
    midi.Control4=(joystick1.roll/261)+64

    Not sure if its what your after but it helped me figure things out

    Thanks to Cheft

    SAME thing extraclassic ... ... so this only means that the code does the same thing but writen in another way ... and implicitly i think overal the code works ... picks-up de signal sent by the joystick and converts it to MIDI signal ... the weird thing is that in Windows XP when pressing the joystick/"controller" - there was NO sound in a desktop environment and while in Traktor OR Ableton midi "lights" were signaling MIDI input ... also when assigning a button to a MIDI signal everything went perfect ...


    NOW in Windows 7 ... i hear the classic piano sound - on notes even - everyjoystick/"controller" button is a piano note ... the thing is thow that no MIDI software can pick-up MIDI signal ... nothing ... absolutelly nothing ... piano sound everytime - BUT NO MIDI signal in midi apps.

    hope i gave a better description this time and hopefully at least one person encountered the same issue with Windows 7 -> and has a solution .

    thanks.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •