Please ensure Javascript is enabled for purposes of website accessibility Jump to content

jandrio

Members
  • Posts

    1,203
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by jandrio

  1. That's strange. I just downloaded and inspected the preset. The inputs are:

    Input 1: Guit+Aux+Varx

    Input 2: Same

     

    I don't see the need to change the inputs. This ensures that the patch will work for Variax users as well as those who might use something like a bass guitar in the Aux input. If a user is knowledgeable enough to be using different inputs they can surely edit the input settings appropriately for their situation.

     

    try loading the patch with input setup="Preset" NOT GLOBAL.

     

    ie:

    Step one: load "hd500 edit"

    Set two: Change  input setup="Preset"

    Step three load the patch.

     

    The {Input 1: Guit+Aux+Varx - Input 2: Same } is the default if input setup="Global" :)

    • Upvote 1
  2. well, nico, as a matter of fact is is a little more complicated :mellow:

    when i have time, i'll post specific user-instructions (or a compiled version of this code)...

    but, yes, with this procedure, we can easily produce printouts of ANY bundle (ie 8 setlists).

  3. well, here is a simple java class that "reads" the hd bundle file 'n creates a csv file which u can open with exel.

    the hd bundle filename is hardcoded, so u must change it (note the double backslashes).

    attached is the csv produced by an "old"  HD500preset.h5b

     

    package javaapplication1;

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintStream;
    import java.net.MalformedURLException;


    public class HD500Lister
    {
        public static class Bundle
        {
            char[] header = new char [0x50];
            SetList[] setlists = new SetList[8];
            Bundle() {};
            void print(PrintStream printStream)
            {
                for (int i=0; i < setlists.length; i++)
                {
                    setlists.print(printStream);
                }
            }
            
            void read(InputStream in) throws IOException
            {
                for (int i=0; i < header.length; i++)
                {
                    byte inbyte = (byte)in.read();
                }
                for (int i=0; i < setlists.length; i++)
                {
                    System.out.print(".");
                    setlists = new SetList();
                    setlists.read(in);
                }
                System.out.println();
            }
        }
        
        public static class SetList
        {
            byte[] name = new byte[16];
            byte[] unknown = new byte[0x38 - 16];
            Patch[] patches = new Patch[64];

            void print(PrintStream printStream)
            {
                String listName = new String(name);
                for (int i=0; i < patches.length; i++)
                {
                    printStream.print(listName);
                    printStream.print(",");
                    printStream.print(i);
                    printStream.print(",");
                    
                    printStream.print((i/4)+1);
                    char[] preset = new char[] {'A', 'B', 'C', 'D'};
                    printStream.print(preset[i%4]);
                    printStream.print(",");
                    
                    patches.print(printStream);
                }
            }

            void read(InputStream in) throws IOException
            {
                for (int i=0; i < name.length; i++)
                {
                    name = (byte)in.read();
                }
                for (int i=0; i < unknown.length; i++)
                {
                    byte inbyte = (byte)in.read();
                }
                for (int i=0; i < patches.length; i++)
                {
                    patches = new Patch();
                    patches.read(in);
                }
            }
        }
        
        public static class Patch
        {
            byte[] name = new byte[32];
            byte[] unknown = new byte[0x1028-32];

            void print(PrintStream printStream)
            {
                printStream.println(""+new String(name));
            }

            void read(InputStream in) throws IOException
            {
                for (int i=0; i < name.length; i++)
                {
                    name = (byte)in.read();
                }
                for (int i=0; i < unknown.length; i++)
                {
                    in.read();
                }
            }
        }

       public static void main (String[] args)
       {
          {
              String inFileName="D:\\HD500preset.h5b";

              String outFileName = inFileName+".csv";
              System.out.println("Reading:"+inFileName);
              System.out.println("Creating:"+outFileName);
              
              try
              {
                  File binaryFile = new File(inFileName);
                  Bundle bundle = new Bundle();
                
                  InputStream input = new FileInputStream(binaryFile);
                  
                  bundle.read(input);
                  
                  File file = new File(outFileName);
                  PrintStream printStream = new PrintStream(file);
                  
                  bundle.print(printStream);
                  
                  input.close();          
              }
              catch (MalformedURLException mue)
              {
                 System.out.println("Error - a MalformedURLException happened.");
                 mue.printStackTrace();
                 System.exit(1);
              }
              catch (IOException ioe)
              {
                 System.out.println("Error- an IOException happened.");
                 ioe.printStackTrace();
                 System.exit(1);
              }      
           }
       }
    } // end of class definition

     

     

    HD500preset.h5b.zip

  4. genre: classic rock.

    live setup: jtv69s, connected thru VDI --> HD500, XLR'ed direct --> PA (2 channels, stereo).

    gig "disaster plan" :  72 Strat +  1/4" cable + venue supplied guitar amp or small SD amp.

    entire playlist is pre-programmed on a per-song-patch basis, some songs may even require two or three patches (eg shine on you crazy diamond, hotel california, money solo, money trem,   la grange etc).

    stage monitoring: via venue supplied monitors or small SD amp (mono sound).

    demo playlist with sounds/clips/free patches:https://www.youtube.com/watch?v=xhWm2EtWxOk&list=PL3b7kXW444v4OpNy_vQaMFL1K9nPUittG&index=8

     

    note1:  bass is passing thru POD XT bean with FBV Shortboard direct --> PA,  monitored via venue supplied amp/monitors

     

    note2: both pods powered via ups providing uninterruptible power supply , voltage regulation, surge protection

×
×
  • Create New...