Setting up an Ultrabeat kit

I'm building an Ultrabeat kit using various samples from Logic/Garageband. Is there a way to link multiple voices together, such as the way playing a closed hi-hat after an open one will stop the open sample? I know this can be done in EXS, but I also want to use some of UB's layered files. Thanks.

Well, I had watched the macprovideo on Ultrabeat, and somehow missed (aka probably zoned out during) the section on output trigger groups. Now that I found that, I don't have to read, huzzah!

Similar Messages

  • HELP Ultrabeat kit crashes session

    A perfectly good session was copied to a new HD along with an entire HD's worth of projects using Carbon Copy Cloner. Upon opening a particular session on the new drive, Ultrabeat asks to manually find a about 4 samples that happen to be in another project's folder on same drive, ok session open so I decide to consolidate, but while consolidating project Logic8 crashes ! Ok re-opening session but now after locating what seems to be the last sample request, a slight pause then Logic CRASHES ! The kit is not a saved kit anywhere else I can't get the session to load to even see the name of the kit. With core audio off the session will load but you can't look at the Ultrabeat kit for reconstructing hints. I was thinking there are preferences maybe to be trashed ? It will be a real pain to write down the sample names and then build a new kit as there were custom envelopes and settings for each UB voice. Any ideas ? Thanks..

    update: deleting all the ultrabeat tracks does not help the session as soon as you turn core audio back on the session crashes Logic even without any instances of ultrabeat. I am beginning to think that the entire project file has been damaged and is corrupt. I wonder if a new session were created I could copy one track at a time over and rebuild the entire session. Does anybody have an order or method for doing this type of recovery ?

  • Setting up HP cleaning kit for psc 2110 all-in-one

    The CD Rom which came with my subject printer is not compatilbe with Windows 7.  Is there a site which has the download for the subject cleanilng kit??

    Hi,
    Indeed the provided functionality offered by Windows Image Aquision scanning is more limited and does not PDF support.
    If you Have MS Office you might be able to scan PDF files with it in some of the editions (I believe MSOffice should support WIA scanners as well):
    For example, Office 2007 can provide those capabilities as you may see within the linked document.
    You may also check 3rd party software (as VueScan for example) which support your scanner and provide PDF and OCR scan capabilities.
    For ink level, i believe the Extended Self Test report should provide the ink levels, however i'm not perfectly sure.
    You may try printing a report as following:
    Press Setup and Start Color . Press the Right Arrow to scroll to Model Number and Press Enter or OK
    You will not be able to get any functionality back, as te device does is not fully compatible with Windows7..
    Hope it helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Ultrabeat guru's

    I have saved several custom Ultrabeat kits recently and I now want to consolidate some of the patches to a single Ultrabeat instrument.
    How do you copy and paste sounds from one Ultrabeat to the other? It seems as though you can only save whole kits, not single patches. I want to move a snare, for example, with all of the fine tuning I did to the patch, from one Ultrabeat to another.
    I opened a session and created 2 different Ultrabeat instruments. I then loaded Ultrabeat 1 with a custom setting and Ultrabeat 2 another custom setting.
    I now want to move single patches from number 2 to number 1, but I cant seem to do that. I right-clicked on a patch in the pianoroll of number 2 to access the copy/paste and clipboard menu, but I cant for the life of me understand why it won't let me move,copy or paste single patches between the two devices!
    Please help...
    Noah

    Along the top row of ultrabeat controls you see "Voice auto Select Import"
    Double click on import and find the kit you'd like to get a setting from. Then single click on the down arrow next to Import and you will see a list of dragable settings. You just drag it on the ultrabeat instrument.
    It's a kind of wierd way, but it works! The sequence data is copied as well i think.

  • I'm having a problem with Ultrabeat's sequencer in Mainstage

    In Mainstage, I've set up an Ultrabeat instance on the concert level so that I can use it as a metronome for the whole project.  (I like to be able to customize the sounds, add subdivisions, make it louder than the default metronome sound, etc.)
    However, I'm having a problem.  Sometimes, when I try to use it, it doesn't work.  Here's what I'm doing to recreate the problem:
    In ultrabeat, I create the pattern in the step sequencer, and the sound I want.  I have a very simple woodblock sound, and I set the sequence to be only 4 boxes long in Ultrabeat.  The sequencer in UB is "on".  I created a button on the workspace in Mainstage, and mapped it to UB's "sequencer Play/Stop".
    1. When I start the squencer, it runs - i can see the curse in UB moving to the right and repeating - but no sound come through the channel strip
    2. When I click the keys on the left side of UB, sound DOES come through the channel strip.
    So in essence, UB doesn't want to send sound to Mainstage by using its sequencer.
    Has anyone faced anything similar?  any ideas on how to fix this?  I've done it successfully before, but sometimes it just doesn't work.
    thanks,
    Keith

    For the sake of clarity and to save people time, Todd is asking about the behaviour of the Patch tool when using it to repair the area next to the young lad's head.  Todd gets a blurred dark tone pretty much regardless of the options he uses.
    IMO that's what I would expect to happen because of the close proximity of the other image elements i.e. the lad's neck and the strong lines of his shirt.  I would not choose to use the Patch tool in this situation.  Content Aware Fill makes a better stab at it. 

  • Fail to install starter kit for IFRS in BFC

    Hi
    I am trying to install the starter kit for IFRS in BFC following the installation guide step by step.
    But during the installation i receive an error message.
    the steps that i followed are:
    i started the data source in exclusive mode
    i configured the network from the transfer vectors selection
    i created a scan task
    i executed the started kit for IFRS.exe selecting the appropriate folder.
    Now when i am trying to run the scan task that i have created i don't receive any new tasks
    and in the log file i am viewing the following errors:
    Archive processing 20081006@162115
    Error when scanning the C:\......\business object\........
    and if i click on the error the follow message appears
    the 0000.CUSTOMIZE address of the archive is different from the current site 0000.TOP
    the same error message is repeated again and again for each archive.
    i need some help to install the starter kit for IFRS
    Thanks in advance
    Stavros

    Thank you very much for your valuable help.
    Following your instructions I manage to set up the IFRS Kit. Unfortunately there is not specify anywhere in the manual that the first database must set up as child and not as top.
    Reading much of the documents coming with the version I am using, there is nowhere analyze what is the top or child script and what exactly that script is helping it.
    Because I am quite new for BFC there is any manual or somewhere I can find what exactly are the differences for child and top?
    Have in mind that I will have couple of installations that they are going to report their own data by having topical databases and from the installation manual the Head office database should be set as TOP.
    Thanks again for your help.
    Best regards
    Stavros
    P.S Sorry for posting this question in a wrong forum

  • Can I modify the frequency of the Nike+Sport Kit Notifications?

    When I set my Nike+Sport kit on the Time setting, it give me an update every 5 minutes. When running for 180 minutes, every 5 minutes tends to be very annoying. Is there a way to modify the notification setting? Say every 30 minutes instead of every 5 minutes?

    You might get a better response from folks who use this if you post in the Nike/sport kit forum here.
    http://discussions.apple.com/forum.jspa?forumID=1123

  • E60 car kit bugs

    When connected to the CK7W the E60 does not select car profile, nor does the control button End/Snd work.
    Also, as there is no separate car profile the kit uses the ring tone level set when used as a mobile and is deafeningly loud.
    When an SMS is received the alert tone is painfully loud.
    When is there going to be support for car profile on the E60 ?

    I don't have any trouble with the car kit profile on my E60 (before or after the latest firmware update).
    I created a new profile you can set your tones, volumes, etc and call it "car kit". Then under Setting>Connections>Enhancement>Car Kit I selected the new "car kit" profile and set light to "on". My phone properly switches to the car kit profile when I insert it into the CR-26 holder and the light stays on like it should.
    BUT, I agree that the remote button does not work. It will not initiate the Voice Command function to dial or do anything other than control the volume. All the functions work properly with Bluetooth but not when in the cradle...

  • Bluetooth and car kit

    Hi, I have aproblem with the iPhone Bluetooth. The car systesn is able to recognize the iPhone and viceversa, then the car system asks to dial a passkey both on the car (easy) and on the iPhone: here I have the problemn sicne I don't know what to do, since no keyboard is available on the iPhone part regarding bkettooth: just if it is active and if it is able to find a device. So at he end nothing happens and the abilition of the is always "failed". What can I do?
    Thanks a lot
    MAC 3

    Use the iPhone to 'find' and set up the car kit rather than the other way around (using your car to find and set up the iPhone). Go to settings, then general, then bluetooth - the phone will search for and [hopefully] find our car kit (you'll need to read your car kits manual and set your car kit in discoverable mode), then touch the car kit and the iPhone's 'keyboard' will appear asking for your car kit's pass code. Key that in and presto... done...

  • Ultrabeat query

    hey there,
    i use logic 7, and was wondering if it was possible to import wav. files for use in ultabeat kits. for some reason i can't seem to do it, and it seems like files need to be a special type to be used in the ultrabeat kits. am i just being stupid and is there a way to do this?
    any help appreciated.
    cheers,
    richie

    Welcome Richie,
    yes you can import wav files into ultrabeat. check out the plug in ref. manual for more details, but basically you click on the arrow on the bottom left hand side of the ultrabeat interface where it says "sample."
    from there a finder dialog opens, and navigate to whatever sound you want.
    keep in mind that the wav file you open will not likely play un-effected or "dry" as it will be colored by whatever LFO, etc. you have going on in ultrabeat.
    if you want a clean preset for ultrabeat to just play samples dry, check out David's preset on his very useful site: http://www.logicprohelp.com
    best,
    CT

  • Directv Wireless Cinema Connection Kit and Time Capsule

    Hi Everyone,
    I just received my Directv wireless Cinema Connection kit today.  I recently purchased a 3rd generation 1TB Time Capsule as well.  Everything has been working fine with the TC...no issues whatsoever.  Until I tried connecting the DTV CCK.
    Here's the story.  I first tried setting up the DTV kit to my TC and my time capsule was set up with WPA.  The password had 3 lowercase letters and 6 numbers.  I accessed the menu on my DTV to set up the wireless connection.  DTV recognized my network and my guest network.  I went to put in my password so that the DTV kit could access my network but it didn't work.
    I tried again and again...
    I tried my password with all lowercase as said before, with all uppercase, with uppercase first letter and lowercase 2nd and 3rd letters, but no luck
    Now I have my TC set up with WPA/WPA2 personal with the same password.  I tried again with this configuration and still no luck.
    I can move my cable modem and TC so that I can connect it via ethernet, however I want my cable modem and TC to stay in the office.  The wireless connection kit was $30 something dollars (Not much I know) so I want to use it.
    Does anyone have any advice?
    What am I doing wrong?

    Hi.  It is working now!  ChristyinTN is absolutely right--the fact that our wireless network password consists of more than one word does not matter.  It only matters that the wireless network password does not have an apostrophe.  The reason why I could not get the DirecTV HD DVR receiver connected to the internet immediately after I removed the apostrophe from our wireless network password is because I had not properly reset everything before I tried to connect again.  So, I reset everything pursuant to this DirecTV forum: http://forums.directv.com/pe/elementDisplayRedirect.jsp?elementID=10986630.  After I reset everything, the connection worked.  Hallelujah.  It's amazing that the DirecTV people (with whom I had been on the phone for hours) neither inquired about whether my wireless network password had a character other than letters and numbers, nor knew how to completely reset everything--both of these ideas have been posted on the DirecTV forum I cited above for one month.  I guess DirecTV doesn't learn from their own posts ...  I want to identify my setup, in hopes that it may help someone else out there.  My DSL is piped into the house through a 2Wire modem provided by AT&T.  The 2Wire modem is bridged to my Apple Time Capsule, so that my Time Capsule serves as the wireless router throughout my entire house (http://thecentershot.wordpress.com/2011/05/12/how-to-configure-set-up-an-apple-t ime-capsule-to-a-att-2wire-2701hg-b-modemrouter/).  I also have an AirPort Express set to my wireless network, simply plugged into a wall outlet, to provide for better reception on the other side of the house.  Because I have DirecTV Whole-Home DVR Service, I set up the DirecTV Cinema Connection Kit pursuant to pages 15-17 in the DCCK's User's Manual.  In particular, I disconnected the coaxial cable from the "SAT IN 1" port on my HD DVR receiver, connected the coaxial cable to the "Towards LNB" port on the DCCK device, connected the enclosed coaxial cable to the "SAT Rcvr" port on the DCCK device and, on the other end, to the "SAT IN 1" port on my HD DVR receiver.  Per the DCCK's User's Manual, I did not use the ethernet cable at all.  The DCCK device's POWER, WLAN, Activity and Coax Network LEDs are all solid green (the Activity LED blinks every now and again).  Strangely, when I was going through the instructions on my television, after I had physically connected the cables between the DCCK device and the receiver, one of the screens after I designated wireless internet connection asked me to confirm that I had used an ethernet cable to connect the DCCK device to the receiver.  Since it provided no other options, I forged ahead (even though I had not used the ethernet cable at all).  Obviously, it was right to do that.  This epitomizes the differences between Apple and DirecTV--one of these companies knows its products; the other one hasn't a clue (or should I say "has not a clue," to remove the apostrophe).  !  Good luck everyone; again, thanks so much for these posts.

  • SAP BI-BO Integration for "BO XI 3.1 on HP-Unix-PA-RISC-64 bit"+Oracle WAS

    Hi,
    We have set up SAP Integration Kit to integrate SAP BI 7.0 and BO XI
    3.1. Our BO system is set up on Unix HP-UX-PA-RISC 64 BIT and Oracle Web Application Server
    10.1.3.
    When we are creating a WebI report using WebI Rich Client, we are able
    to fetch the data from SAP BI Query and also refresh the data using
    WebI Rich Client (Desktop).
    When we are creating a WebI report from Infoview, we are able to create
    the WebI report,but we get the database error "Unable to Bind to
    NetworkLayer Object"
    (WIS 10901)" when trying to Run the Query i.e.
    fetch the data from SAP BI Query. Same error is also there when we try
    to refresh the data from Infoview for a WebI report created using WebI
    Rich Client (Desktop).
    We raised an OSS Message with SAP. We got a response that :
    ====================================================================
    The reason you're having this problem seems to be because you don't have the SAP dataAccess library (libdbd_sap.so) and its equivalent config files (sap folder).
    Those are the files that manage the connection from BOE queries to SAP.
    You can check that they exist in your Windows client fine(.dll).
    Here's what I have in my HP-UX system:
    $ ls -l sap
    -rwxr-xr-x 1 xi31 users 4671488 Sep 13 2008 libdbd_sap.so
    sap:
    total 80
    -rwxr-xr-x 1 xi31 users 4650 Sep 13 2008 sapen.cod
    -rwxr-xr-x 1 xi31 users 358 Sep 13 2008 sap.prm
    -rwxr-xr-x 1 xi31 users 10670 Sep 13 2008 sap.rss
    -rwxr-xr-x 1 xi31 users 1343 Sep 13 2008 sap.sbo
    These drivers are not installed with the SAP Kit but with the BOE setup
    itself - meaning you can have a system without SAP Kit but with these drivers.
    On the other hand, with SAP Kit, you can have other features such as your working SAP authentication fine but not this one since it comes with BOE.
    ====================================================================
    Request the SDN Community to check the below mentioned :
    Platform : HP-UX-PA-RISC 64 bit
    Oracle WAS (instead of Tomcat).
    1) Which installer was used to install BOE XI 3.1 ?
    2) Is the BOE XI 3.1 base installer available for HP-UX-PA-RISC-64 bit ? I could not find one at SAP Service Market place (the nearest one is for HPP - 32 Bit)
    3) Do you have the relevant SAP Folder & Drivers on this path, as per the above SAP OSS Message.
    4) Any inputs on how to resolve the issue (we have so-far tried with 4 different installers for HP-UX-PA-RISC and not got any success)
    regards,
    Rajesh K Sarin

    Hi,
    Thanks for your reply.
    (A) We have attempted with BOE and SAP Integration Kit in the sequence. My earlier communication has all the attachments for the steps followed, and the SAP message.
    (B) We have HP-UX-PA-RISC-64 bit. Request to please point us to the correct installer on this link
    (C) We have done 4 complete trials :
    1) BOE XI 3.0 Installer provided by BO Consultant, 6 months back & rest downloaded from SAP Service Market Place.
    BOE XI 3.0 --> Upgrade to BOE XI 3.1 --> BOE FP 1.2 for XI 3.1 --> SAP Integration Kit for BOE XI 3.1 --> Integration Kit FP 1.2 --> Oracle WAS Manual deployment steps
    2) BOE XI 3.0 Installer & rest downloaded from SAP Service Market Place.
    BOE XI 3.0 --> SAP Integration Kit for BOE XI 3.0 --> Oracle WAS manual deployment steps
    3) BOE XI 3.1 Installer for HP-UX-PA-RISC-32bit (HPP) & rest downloaded from SAP Service Market Place.
    BOE XI 3.1 --> SAP Integration Kit for BOE XI 3.1 --> Oracle WAS manual deployment steps
    4) BOE XI 3.1 Installer provided by SAP OSS Support & rest downloaded from SAP Service Market Place.
    BOE XI 3.1 --> SAP Integration Kit for BOE XI 3.1 --> Oracle WAS manual deployment steps
    None of these steps have helped us.
    SAP OSS Support asked us to check availability of the "SAP Folder" and "Lib / driver" files on the Connection Server Directory; which would appear once BOE XI 3.1 installer is installed (ONLY BASE Install, SAP Integration Kit is not needed).
    We have also confirmed this with one another Client / Project. They have HP-UX-Itanium-64 bit and BOE-XI 3.1 only base install (No SAP Integration kit). This particular SAP Folder / Drivers are available without any SAP Integration kit.
    Request to correct me, if I am wrong :
    SAP Integration kit additionally provides the drivers needed for Crystal & SAP Authentication.
    regards,
    Rajesh K Sarin

  • How do I change fonts in a Text field ??

    Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong?
    /* * My GUI Client */
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import javax.swing.event.*;
    //for HTML Headers
    import javax.swing.text.StyledEditorKit.*;
    import javax.swing.text.html.HTMLEditorKit.*;
    import javax.swing.text.html.*;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkEvent.EventType;
    import javax.swing.text.html.HTMLFrameHyperlinkEvent;
    //for layout managers
    import java.awt.event.*;
    //for action and window events
    import java.io.*;
    import java.net.*;
    import java.awt.GraphicsEnvironment;
    //for font settings
    import java.lang.Integer;
    import java.util.Vector;
    import java.awt.font.*;
    import java.awt.geom.*;
    public class guiClient extends JFrame implements ActionListener {
    protected static final String textFieldString = "JTextField";
    protected static final String loadgraphicString = "LoadGraphic";
    protected static final String connectString = "Connect";
    static JEditorPane editorPane;
    static JPanel layoutPanel = new JPanel(new BorderLayout());
    static JPanel controlPanel = new JPanel(new BorderLayout());
    static JPanel buttonPanel = new JPanel(new BorderLayout());
    static JPanel fontPanel = new JPanel(new BorderLayout());
    static PrintStream out;
    static DrawPanel dPanel;
    static DrawPanel dPButton;
    static DrawPanel dFonts;
    static DrawControls dControls;
    static DrawButtons dButtons;
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public static JMenuBar menuBar;
    private static JButton connectbutton = new JButton("Connect");
    static boolean CONNECTFLAG = false;
    //create the gui interface
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);          
    //Create an editor pane.
    editorPane = new JEditorPane();
         editorPane.setContentType("text");
         editorPane.setEditable(false);
    //set up HTML editor kit
         HTMLDocument m_doc = new HTMLDocument();
         editorPane.setDocument(m_doc);
         HTMLEditorKit hkit = new HTMLEditorKit();
         editorPane.setEditorKit( hkit );
         editorPane.addHyperlinkListener( new HyperListener());
    //Create whiteboard
    dPanel = new DrawPanel();
    dPButton = new DrawPanel();
    dFonts = new DrawPanel();
    dControls = new DrawControls(dPanel);
    dButtons = new DrawButtons(dPButton);
         //JLable fontLab = new JLabel(fontLable);
    //fontLab.setText("Fonts");
    //Font newFont = getFont().deriveFont(1);
    //fontLab.setFont(newFont);
    //fontLab.setHorizontalAlignment(JLabel.CENTER);
    JPanel whiteboard = new JPanel();
    whiteboard.setLayout(new BorderLayout());
    whiteboard.setPreferredSize(new Dimension(300,300));
    whiteboard.add("Center",dPanel);
    whiteboard.add("South",dControls);
    whiteboard.add("North",dButtons);
         JScrollPane editorScrollPane = new JScrollPane(editorPane);
         editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
         editorScrollPane.setPreferredSize(new Dimension(250, 145));
         editorScrollPane.setMinimumSize(new Dimension(50, 50));
    //put everything in a panel
         JPanel contentPane = new JPanel();
         JPanel fontPane = new JPanel();
         contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    //add whiteboard
         contentPane.add(whiteboard);
    //add editor box
         contentPane.add(editorScrollPane);
    //add spacer
         contentPane.add(Box.createRigidArea(new Dimension(0,5)));
    //add textfield
         contentPane.add(textField);
    //set up layout pane
         //layoutPanel.add(GridLayout(2,1),fontLab);
         layoutPanel.add( BorderLayout.NORTH, fontlist);     
         layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
         layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
         layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
         //fontPane.add(BorderLayout.NORTH,fontlist);
         contentPane.add(layoutPanel);
         contentPane.add(controlPanel);
         contentPane.add(buttonPanel);
    //Create the menu bar.
    menuBar = new JMenuBar();
    setJMenuBar(menuBar);
    //Build the first menu.
         JMenu menu = new JMenu("File");
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
    //a group of JMenuItems
         JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
         menu.add(menuItem);
    menuItem.setActionCommand(loadgraphicString);
         menuItem.addActionListener(this);
    connectbutton.setActionCommand(connectString);
    connectbutton.addActionListener(this);
         setContentPane(contentPane);
    static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
         HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
         Document doc = editor.getDocument();
         StringReader reader = new StringReader(html);
         try {
              kit.read(reader, doc, location);
         } catch (BadLocationException e) {}
    //listen for actions being performed and process them
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         } else if(e.getActionCommand().equals(connectString)) {
              CONNECTFLAG = true;
    } else if (e.getActionCommand().equals(loadgraphicString) ) {
              final JFileChooser fc = new JFileChooser();
              int returnVal = fc.showOpenDialog(this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fc.getSelectedFile();
                   dPanel.loadImage(file.getAbsolutePath());
                   sendImage(file);
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;
    /*public void itemStateChanged (ItemEvent e) {
    if ( e.getStateChange() != ItemEvent.SELECTED ) {
    return;
    if ( list == fontlist ) {
    fontchoice = (String)fontlist.getSelectedItem();
         userString.changeFont(fontchoice);
    //append text to the editor pane and put it at the bottom
    public static void appendText(String text) {
         if (text.startsWith("ID ") ) {
              userString = text.substring(3);
         } else if (text.startsWith("DRAW ") ) {
              if (text.regionMatches(5,"LINE",0,4)) {
    dPanel.processLine(text);
         }else if (text.regionMatches(5,"POINTS",0,5)) {
         dPanel.processPoint(text);
         } else if (text.startsWith("IMAGE ") ) {
    int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
    //get x and y coordinates
         byte[] data = new byte[ (int)len ];
         int read = 0;
    try {
         while (read < len) {
         data = text.getBytes( text.substring(0, len) );
    } catch (Exception e) {}
         Image theImage = null;
         theImage = dPanel.getToolkit().createImage(data);
         dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
         while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
              dPanel.drawPicture(0, 0, theImage);
    } else {
    //set current position in editorPane to the end
              editorPane.setCaretPosition(editorPane.getDocument().getLength());
    //put text into the editorPane
              try {
                   insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
              } catch (IOException e) {}
    } //end of appendText(String)
    public void sendImage(File file) {
    //find length of file
         long len = file.length();
    //read file into byte array
         byte[] byteArray = new byte[(int)len];
         try {
              FileInputStream fstream = new FileInputStream(file);
              if (fstream.read(byteArray) < len) {
    //error could not load file
              } else {
              out.println("IMAGE " + len + ",");
                   out.write(byteArray, 0, (int)len); //write file to stream
         } catch(Exception e){}
    //run the client
    public static void main(String[] args) {
         String ipAddr=null, portNr=null;
              if (args.length != 2) {
                   System.out.println("USAGE: java guiClient IP_Address port_number");
                   System.exit(0);
              } else {
         ipAddr = args[0];
              portNr = args[1];
              JFrame frame = new guiClient();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) { System.exit(0); }
              frame.pack();
              frame.setVisible(true);
              while(CONNECTFLAG == false){}
    //sames as previous client,
    //set up connection and then listen for messages from the Server
              String socketIP = ipAddr;
              int port = Integer.parseInt(portNr);
    //the IP address of the machine where the server is running
              Socket theSocket = null;
    //communication line to the server
              out = null;
    //for message sending
              BufferedReader in = null;
    //for message receiving
              try {
              theSocket = new Socket(socketIP, port );
    //try to connect
              out = new PrintStream(theSocket.getOutputStream());
                   dPanel.out = out;
    //for client to send messages
              in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
                   BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
                   String fromServer;
                   while ((fromServer = in.readLine()) != null) {
                   appendText(fromServer);
                   if (fromServer.equals("BYE")) {
                        appendText("Connection Closed");
                        break;
              out.close();
    //close all streams
              in.close();
              theSocket.close();
    //close the socket
         } catch (UnknownHostException e) {
    //if the socket cannot be openned
              System.err.println("Cannot find " + socketIP);
              System.exit(1);
              } catch (IOException e) { //if the socket cannot be read or written
              System.err.println("Could not make I/O connection with " + socketIP);
              System.exit(1);
    class HyperListener implements HyperlinkListener {
    public JEditorPane sourcePane;
    public void hyperlinkUpdate(HyperlinkEvent e) {
    if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
    sourcePane = (JEditorPane) e.getSource();
                   if (e instanceof HTMLFrameHyperlinkEvent) {
    HTMLFrameHyperlinkEvent event = (HTMLFrameHyperlinkEvent) e;
                        System.out.println(event.getTarget());
                        HTMLDocument doc = (HTMLDocument) sourcePane.getDocument();
                        doc.processHTMLFrameHyperlinkEvent(event);
    else {
    try {}
    catch (Exception ev){
         ev.printStackTrace();
    Well sorry the source code takes up the whole forum but I need a good feedback from this.

    All right...
    public class guiClient extends JFrame implements ActionListener {
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public guiClient() {
         super("My Client");
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;

  • Do I need to re-install Logic?

    I recently had to do an Archive and Install of Leopard after having terrible problems with the first installation - see thread below:
    http://discussions.apple.com/thread.jspa?messageID=6222119&#6222119
    The result was the creation of a fresh OSX install and a Previous Systems folder that contains my old user accounts and many of my applications, including Logic. All these applications were installed from my earlier account, so they seem to treat me as if I am a new user. I moved Logic from the old Previous Systems Applications folder to my new Applications folder and it required me to re-enter my serial number when it started up. I tried opening a GarageBand project in Logic and found that one midi setting (Apple's Orchestral Kit) doesn't work.
    I suspect that this is because Logic can't find that associated files. I was wondering if anyone can tell me if moving Logic as I did is the source of my problems? If so, do I need to re-install it also?
    Thanks
    John

    you don't have to install 7, your dongle proves that you owned 7, I did a fresh install of OS 10 on my new computer and installed Logic studio only. You're gonna love it!
    Don

  • Has anyone noticed this V-Drums mapping bug in Drum Designer?

    Hi guys
    There seems to be a bug in the v-drums mapping for Drum Designer... wondering if anyone else has noticed this?
    On standard Roland V-Drums kits, the toms are mapped as follows:
    High tom: C2
    Low tom: A1
    Floor tom: G1
    On some of the Drum designer kits, such as "Neo Soul" and "Retro Rock", the above tom mapping works correctly.
    However, for other kits, such as "SoCal" and "Roots Kit", the low tom is played when either the low tom (A1) or the floor tom (G1) is played on the V-Drums kit.
    It appears that for some reason, there are some kits such as the two mentioned above, that are mapped incorrectly so that the same low tom sound is played when the drummer is either hitting the low tom or the floor tom. I am using a standard Roland TD12 kit.
    I've raised this as a bug using Apple's "Logic Feedback" page - hopefully they will check it out soon!
    Cheers,
    Mike

    There are 2 work arounds for this situation.
    - edit the midi note sent by the module to set it to F1 (kit - inst - F4 - F5 - note number)
    - insert a midi transformer between your Roland module and the drummer track in logic's midi environnement window
    The second option is more tricky but it opens up a whole word of other tranformations which are worth exploring.
    HTH
    (I'm french, I hope this explanation  was clear enough ...)

Maybe you are looking for