Please! shed light on this one error

Can someone please help me with this one error. When I compile and for the life of me can't figure out why the readInput is wrong.
My program is to read using vector pulling up PetRecords by name and sorting.
The following is my code
<import java.util.*;
public class PetRecordsSortedByName
public static void main(String[] args)
Vector pet = new Vector();
char repeat = 'y';
String pause = null;
while(repeat == 'y' || repeat == 'Y')
PetRecord nextPet = new PetRecord();
nextPet.readInput();
pet.addElement(nextPet);
System.out.println();
System.out.println("Enter another pet record: (y for yes): ");
repeat = SavitchIn.readLineNonwhiteChar();
boolean sorted = false;
int iterations = pet.size() - 1;
while(!sorted && iterations > 0)
sorted = true;
for (int i = 0; i < iterations; ++i)
if((((PetRecord)pet.elementAt(i)).getName()).compareTo(
((PetRecord)pet.elementAt(i + 1)).getName()) > 0 )
PetRecord temp = new PetRecord();
temp = (PetRecord)pet.elementAt(i);
pet.setElementAt((PetRecord)(pet.elementAt(i + 1)), i);
pet.setElementAt(temp, i + 1);
sorted = false;
--iterations;
for(int i = 0; i < pet.size(); ++i)
System.out.println();
System.out.println((PetRecord)pet.elementAt(i));
System.out.println();
System.out.println("Hit enter to continue.");
pause = SavitchIn.readLine();
<<<<<THIS IS THE COMPILING ERROR>>>>>>>>
C:\My Documents\Java Homework\ch10\PetRecordsSortedByName.java:13:
cannot resolve symbol symbol : method readInput ()
location: class PetRecord nextPet.readInput();
^
1 error
Tool completed with exit code 1

OOPS SORRY
HERE IT IS
Class for basic pet records: name, age, and weight.
public class PetRecord
private String name;
private int age;//in years
private double weight;//in pounds
public void writeOutput( )
System.out.println("Name: " + name);
System.out.println("Age: " + age + " years");
System.out.println("Weight: " + weight + " pounds");
public PetRecord(String initialName, int initialAge,
double initialWeight)
name = initialName;
if ((initialAge < 0) || (initialWeight < 0))
System.out.println("Error: Negative age or weight.");
System.exit(0);
else
age = initialAge;
weight = initialWeight;
public void set(String newName, int newAge, double newWeight)
name = newName;
if ((newAge < 0) || (newWeight < 0))
System.out.println("Error: Negative age or weight.");
System.exit(0);
else
age = newAge;
weight = newWeight;
public PetRecord(String initialName)
name = initialName;
age = 0;
weight = 0;
public void set(String newName)
name = newName; //age and weight are unchanged.
public PetRecord(int initialAge)
name = "No name yet.";
weight = 0;
if (initialAge < 0)
System.out.println("Error: Negative age.");
System.exit(0);
else
age = initialAge;
public void set(int newAge)
if (newAge < 0)
System.out.println("Error: Negative age.");
System.exit(0);
else
age = newAge;
//name and weight are unchanged.
public PetRecord(double initialWeight)
name = "No name yet";
age = 0;
if (initialWeight < 0)
System.out.println("Error: Negative weight.");
System.exit(0);
else
weight = initialWeight;
public void set(double newWeight)
if (newWeight < 0)
System.out.println("Error: Negative weight.");
System.exit(0);
else
weight = newWeight; //name and age are unchanged.
public PetRecord( )
name = "No name yet.";
age = 0;
weight = 0;
public String getName( )
return name;
public int getAge( )
return age;
public double getWeight( )
return weight;

Similar Messages

  • I have a galaxy S4. When I connect a headphone, certain songs play extemely low while others play at the correct volume. The same songs play fine thru the speakers. Can someone shed light on this.

    I have a galaxy S4. When I connect a headphone, certain songs play extremely low while others play at the correct volume. The same songs play fine thru the speakers. Can someone shed light on this.

        chrisglobe7,
    We want you to be able to enjoy all your music! Were all the songs downloaded from the same source? Are all the songs that play at the low volume from the same place? Is the music you are listening to stored on your device or a 3rd party application?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • When I connect my iPhone 5C to my laptop containing my iTunes library, it does nothing and then I get a message saying phone has timed out! Can anyone shed any light on this one please?

    WHen I connect my iPhone 5C to my laptop containing my iTunes Library, nothing happens for a couple of minutes and then I get an error message saying phone timed out. Can anyone shed any light on this problem please?

    Hi 23Orchard,
    If your iPhone is timing out when connected to your computer, it sounds like a connection issue.
    Please try the things listed in
    iOS: Troubleshooting USB-related alerts when syncing
    http://support.apple.com/kb/TS5254
    Where one of the errors it addresses is
    An alert messages indicates "iPhone has timed out" during syncing.
    Thank you for visiting Apple Support Communities.
    Nubz

  • JMF Datasource problem..i need help with this one error

    This the error i get when i try to run my program
    Error: Unable to realize com.sun.media.amovie.AMController@18b81e3Basically i have a mediapanel class that initialize and play the media as datasource
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.*;
    import java.net.URL;
    import javax.media.*;
    import javax.swing.JPanel;
    import java.nio.ByteBuffer;
    public class MediaPanel extends JPanel
       InputStream stream;
       String name = "";
       ByteBuffer inputBuffer;
       byte[] store = null;
       public MediaPanel( InputStream in )
       try{
          this.stream = in;
          //store stream as ByteBuffer
          store = new byte[stream.available()];
          stream.read(store);
          inputBuffer.allocate(store.length);
          inputBuffer.wrap(store);
          //get contentType
          DrmDecryption drm = new DrmDecryption();
          name = drm.naming;
          setLayout( new BorderLayout() ); // use a BorderLayout
          ByteBufferDataSource ds = new ByteBufferDataSource(inputBuffer,name);
          // Use lightweight components for Swing compatibility
          Manager.setHint( Manager.LIGHTWEIGHT_RENDERER, true );
             // create a player to play the media specified in the URL
             Player mediaPlayer = Manager.createRealizedPlayer(ds);
             // get the components for the video and the playback controls
             Component video = mediaPlayer.getVisualComponent();
             Component controls = mediaPlayer.getControlPanelComponent();
             if ( video != null )
                add( video, BorderLayout.CENTER ); // add video component
             if ( controls != null )
                add( controls, BorderLayout.SOUTH ); // add controls
             mediaPlayer.start(); // start playing the media clip
           }catch(Exception e){}
       } // end MediaPanel constructor
    } // end class MediaPanelThe ByteBufferDataSource class is use to create the datasource for the player
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.PullDataSource;
    import java.nio.ByteBuffer;
    import java.io.IOException;
    import javax.media.MediaLocator;
    import javax.media.Duration;
    import javax.media.Time;
    public class ByteBufferDataSource extends PullDataSource {
    protected ContentDescriptor contentType;
    protected SeekableStream[] sources;
    protected boolean connected;
    protected ByteBuffer anInput;
    protected ByteBufferDataSource(){
    * Construct a ByteBufferDataSource from a ByteBuffer.
    * @param source The ByteBuffer that is used to create the
    * the DataSource.
    public ByteBufferDataSource(ByteBuffer input, String contentType) throws IOException {
    anInput = input;
    this.contentType = new ContentDescriptor(
                   ContentDescriptor.mimeTypeToPackageName(contentTyp  e));
    * Open a connection to the source described by
    * the ByteBuffer/CODE>.
    * The connect method initiates communication with the source.
    * @exception IOException Thrown if there are IO problems
    * when connect is called.
    public void connect() {
    sources = new SeekableStream [1];
    sources[0] = new SeekableStream(anInput);
    * Close the connection to the source described by the locator.
    * The disconnect method frees resources used to maintain a
    * connection to the source.
    * If no resources are in use, disconnect is ignored.
    * If stop hasn't already been called,
    * calling disconnect implies a stop.
    public void disconnect() {
    * Get a string that describes the content-type of the media
    * that the source is providing.
    * It is an error to call getContentType if the source is
    * not connected.
    * @return The name that describes the media content.
    public String getContentType() {
    return contentType.getContentType();
    public Object getControl(String str) {
    return null;
    public Object[] getControls() {
    return new Object[0];
    public javax.media.Time getDuration() {
    return Duration.DURATION_UNKNOWN;
    * Get the collection of streams that this source
    * manages. The collection of streams is entirely
    * content dependent. The MIME type of this
    * DataSource provides the only indication of
    * what streams can be available on this connection.
    * @return The collection of streams for this source.
    public javax.media.protocol.PullSourceStream[] getStreams() {
    return sources;
    * Initiate data-transfer. The start method must be
    * called before data is available.
    *(You must call connect before calling start.)
    * @exception IOException Thrown if there are IO problems with the source
    * when start is called.
    public void start() throws IOException {
    * Stop the data-transfer.
    * If the source has not been connected and started,
    * stop does nothing.
    public void stop() throws IOException {
    }i have a SeekableStream to manipulate the control of the streaming position.
    import java.lang.reflect.Method;
    import java.lang.reflect.Constructor;
    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.BufferUnderflowException;
    import javax.media.protocol.PullSourceStream;
    import javax.media.protocol.Seekable;
    import javax.media.protocol.ContentDescriptor;
    public class SeekableStream implements PullSourceStream, Seekable {
    protected ByteBuffer inputBuffer;
    * a flag to indicate EOF reached
    /** Creates a new instance of SeekableStream */
    public SeekableStream(ByteBuffer byteBuffer) {
    inputBuffer = byteBuffer;
    this.seek((long)(0)); // set the ByteBuffer to to beginning
    * Find out if the end of the stream has been reached.
    * @return Returns true if there is no more data.
    public boolean endOfStream() {
    return (! inputBuffer.hasRemaining());
    * Get the current content type for this stream.
    * @return The current ContentDescriptor for this stream.
    public ContentDescriptor getContentDescriptor() {
    return null;
    * Get the size, in bytes, of the content on this stream.
    * @return The content length in bytes.
    public long getContentLength() {
    return inputBuffer.capacity();
    * Obtain the object that implements the specified
    * Class or Interface
    * The full class or interface name must be used.
    * The control is not supported.
    * null is returned.
    * @return null.
    public Object getControl(String controlType) {
    return null;
    * Obtain the collection of objects that
    * control the object that implements this interface.
    * No controls are supported.
    * A zero length array is returned.
    * @return A zero length array
    public Object[] getControls() {
    Object[] objects = new Object[0];
    return objects;
    * Find out if this media object can position anywhere in the
    * stream. If the stream is not random access, it can only be repositioned
    * to the beginning.
    * @return Returns true if the stream is random access, false if the stream can only
    * be reset to the beginning.
    public boolean isRandomAccess() {
    return true;
    * Block and read data from the stream.
    * Reads up to length bytes from the input stream into
    * an array of bytes.
    * If the first argument is null, up to
    * length bytes are read and discarded.
    * Returns -1 when the end
    * of the media is reached.
    * This method only returns 0 if it was called with
    * a length of 0.
    * @param buffer The buffer to read bytes into.
    * @param offset The offset into the buffer at which to begin writing data.
    * @param length The number of bytes to read.
    * @return The number of bytes read, -1 indicating
    * the end of stream, or 0 indicating read
    * was called with length 0.
    * @throws IOException Thrown if an error occurs while reading.
    public int read(byte[] buffer, int offset, int length) throws IOException {
    // return n (number of bytes read), -1 (eof), 0 (asked for zero bytes)
    if ( length == 0 )
    return 0;
    try {
    inputBuffer.get(buffer,offset,length);
    return length;
    catch ( BufferUnderflowException E ) {
    return -1;
    public void close() {
    * Seek to the specified point in the stream.
    * @param where The position to seek to.
    * @return The new stream position.
    public long seek(long where) {
    try {
    inputBuffer.position((int)(where));
    return where;
    catch (IllegalArgumentException E) {
    return this.tell(); // staying at the current position
    * Obtain the current point in the stream.
    public long tell() {
    return inputBuffer.position();
    * Find out if data is available now.
    * Returns true if a call to read would block
    * for data.
    * @return Returns true if read would block; otherwise
    * returns false.
    public boolean willReadBlock() {
    return (inputBuffer.remaining() == 0);
    }

    can u send me ur DrmDecryption.java file so that i can help

  • Cisco media subsystem - im totally confused. Please shed light :)

    I have been googling on Cisco Media subsystem. Everywhere I see the below statement.
    Cisco Media
    Configures Cisco Media Termination (CMT) dialog control groups,                     which can be used to handle simple Dual Tone Multifrequency (DTMF)-based dialog                     interactions with customers
    Im confused. What exactly is the role of this subsystem.
    - In call control group configuration, I see that there is an option to enable it or not. So Im assuming that it is not mandatory to configure it.
    a) So in my script If I have a menu step, obv we use DTMF to make the seletion in menu step. So does CMT dialogue channels come into play in that part? What exactly is the role of this subsystem.
    b) When i use another applications like MRTS or TTS, does this media subsystem has any role?
    c) What are the scenarios in which this subsystem kick in. What is the role. When all can i disable the Media Termination support in CC group.
    Please give me a detailed description. Cisco documents are just beating around the bush. Your help will be highly appreciated.

    Hi Nirmal,
    Nirmal Issac wrote:I have been googling on Cisco Media subsystem. Everywhere I see the below statement.
    Cisco Media
    Configures Cisco Media Termination (CMT) dialog control groups,                     which can be used to handle simple Dual Tone Multifrequency (DTMF)-based dialog                     interactions with customers
    Have you read the UCCX Admin Guide section on this topic?  It does a pretty decent job of explaining it.
    Your assumption here is incorrect.  The radio button simply indicates whether or not you want a new CMG to be created to match up with (I.e., have the same number of channels as there are ports) this CCG.  A "yes" means it will create it, and a "no" means it will not.  Regardless of what you select here, the CMG is actually assigned to the Triggers, and will always default to the Default CMG.  It's always a good practice to select no here, and then define your own CMG with a 10% overhead.  The reason why is explained in the Admin Guide link provided above.
    Nirmal Issac wrote:a) So in my script If I have a menu step, obv we use DTMF to make the seletion in menu step. So does CMT dialogue channels come into play in that part? What exactly is the role of this subsystem.
    Correct.  It's role is explained in the Admin Guide link above.
    Nirmal Issac wrote:b) When i use another applications like MRTS or TTS, does this media subsystem has any role?
    Yes.  You would create a new CMG for thos applications, and you do not want to assign them to every trigger.  Only those who need it.  The reason is, an ASR license is consumed for the duration of the call using that CMG.  TTS on the other hand releases the license as soon as the Prompt has finished playing.
    Nirmal Issac wrote:c) What are the scenarios in which this subsystem kick in. What is the role. When all can i disable the Media Termination support in CC group.
    It kicks in for every call to your JTAPI triggers.  HTTP triggers on the other hand do not need CMG's.  You cannot disable the support of CMG in the CCG.  This goes back to your misunderstanding of the Yes/No radio button in the CCG configuration.  Also, you cannot have a trigger with 0 CMG's configured.  The AppAdmin page will throw an error telling you that you need atleast one.  Therefore, you cannot use UCCX inbound JTAPI triggers without a CMG.  They are a requirement.
    Nirmal Issac wrote:Please give me a detailed description. Cisco documents are just beating around the bush. Your help will be highly appreciated.
    This is laid out quite nicely in the Admin Guide link provided above.
    In summary: CMG's are for media termination support (E.g., DTMF reception [I.e., Get Digit String Step] and transmission [I.e., Send Digits Step]) for your JTAPI triggers.  You should always manually create a corresponding CMG for your CCG's, and with 10% more channels than your CCG has in ports.  E.g., CCG has 100 ports, your CMG should have 110 channels.  Configuring which CMG your Trigger uses is an extra step: click Show More, remove the Default, Add the new, click save.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Can anyone throw any light on this message: Error 1095

    Since upgrading to Presenter 7 I have experienced a lot of compatability issues with the pulg-in.
    Recently Presenter 7 got into an error loop with PPT and so I decided to un/re-install, but rec'd this error: Error 1905:Module C:\Program Files\Adobe\Presenter 7 Atldb.dll failed to unregister HResult - 2147220472. I cannot find this file.
    Now I cannot get the plug-in working again...each time I activate the plug-in I get a 'serious error' message from PPT and it asks me to de-activate, and so it goes in a loop. I have re-installed XP, Office 2003 and Presnter 7 with no beneficial effect....any clues on this problem?

    Hi 23Orchard,
    If your iPhone is timing out when connected to your computer, it sounds like a connection issue.
    Please try the things listed in
    iOS: Troubleshooting USB-related alerts when syncing
    http://support.apple.com/kb/TS5254
    Where one of the errors it addresses is
    An alert messages indicates "iPhone has timed out" during syncing.
    Thank you for visiting Apple Support Communities.
    Nubz

  • Please help me figure this one out!!!!

    I recieved leopard mac os x 10.5 at 10am the morning it came out!!!!!
    i have already installed it 3 or 4 times cause of issues.....
    i never got the blue screen or login problems!!!!
    first time, it just didnt work, so i reinstalled it and thought it was great!!!!!
    second time, after reinstalling it the internet menu would only show me the network i was connected it to!!! i called apple, spoke with a level 3 tech and he called me back next say and walked me through re installing it!!!!
    third time..... it was working great and this morning i was looking for my other network but it will again show me the one im connected to and thats it...
    + my dashboard wasnt working, but i deleted a preference pane and it started working!!!!! leopard is great, but i cant keep reinstalling it!!!!!
    so i tried to re install update 10.5.1 and restarted it, blah blah
    but it still wont show me networks!!!!! HEEELLLPPP PLLLEEEAAASSSEEEEE
    thank you in advance,
    becks87

    It is unusual for the calendar to sync and not the contacts in Outlook. I've worked with Outlook for years. You didn't answer what computer OS you are using. If it is Windows, have you tried to reset the sync history in iTunes? Do that by opening iTunes, go to Edit>Preferences>Devices and click on reset sync history. If you have done this and it doesn't help, then we can try and run scanpst.exe on your Outlook file and see if there are any errors. Search your computer for that file, however it normally resides in one of the Microsoft Office folders in the folder Program files. After that, you can see if it will sync.

  • Urgent please send code for this one ( write code by using core java)

    hi sir
    my question
    i am taking one square box .. and i divide that square in again four parts .. now i am placing one object in 1st box now i want to move that object to 2 box or third box... like that only if my object is in 1st box now i want to jump directly to 4th box
    i want that programing code the code will written BY USING CORE JAVA ONLY
    PLEASE HELP FOR THAT

    hi sirWhat if I'm a madam?
    i want that programing code Why did you post here asking for it?
    1) You are the Lead Architect at a world-class company and none of your staff of topnotch developers are able to handle this insidious task. You need to pull in outside resources for this noodler. You would use Dice, Monster, etc., but, by a freak coincidence, you happen to have had illicit trysts with the wives of several high-ranking executives in each of those companies, and as a result, have been blacklisted in perpetuity. You sought help here because you know that the denizens of this particular cyber-community are not only the best of the best of the best in the world of software development, we also happen--by yet another bizarre convergence of the unfahtomable Threads of Fate--to be the handsomest and best-endowed, dude-tube-wise. This is exactly what you need to distract your wife from your many concubines so you can continue with your plan for world dominance, which, of course, is but a small cog in the machina profunda that grinds unfailingly and inexorably toward your ultimate goal of the perfect tofu burrito.
    2) You are a lazy slimeball student who thinks it's acceptable to take credit for somebody else's work. You have no motivation, no ethics, and nothing to contribute to the society upon which you will become a bigger and more loathsome burden daily.

  • Please help me with this "DLL error".

    I just got an iPod (YAY!) and I am trying to download iTunes and followed all the directions, but I keep getting this error message that says "there is a problem with this windows installer package. A DLL required for this download could not be run. Please contact your support personnel."
    Can anyone help me? WHat does this mean?? I have no idea!
    I "googled DLL' and got a few answers, but what do I need to do to get music on my iPod.
    Thanks!

    Go here and install the "Windows installer" http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838 -de776fd4138c&DisplayLang=en
    Then go here and follow ALL steps for removing itunes and quicktime then reinstalling them http://docs.info.apple.com/article.html?artnum=93976

  • Please HELP Me With This! Error 1046!

    I cannot figure out what my problem is. When I check for errors its is not telling me any. But when I run it, it is saying: 1046: This was not found or was not a compile-time constant: home2.
    import flash.events.MouseEvent;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    var loadvar:Loader = new Loader();
    var home1 = loadvar;
    home1.load(new URLRequest("img/home1.jpg"));
    home1.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    var home2 = loadvar;
    home2.load(new URLRequest("img/home2.jpg"));
    home2.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onComplete(e:Event):void
    var img:Bitmap = Bitmap(e.target.content);
    img.width = 100;
    img.height = 100;
    thumb1.addChild(home1);
    thumb2.addChild(home2);
    But it is working when I take our everything that has to do with home2.

    you're assigning the same loader to three different instance names, loadvar, home1 and home2.  and you only have one loader while you need two if you want to see home1.jpg and home.jpg at the same time:
    use:
    import flash.events.MouseEvent;
    import flash.display.Loader;
    import flash.net.URLRequest;
    import flash.events.Event;
    var home1:Loader=new Loader();
    home1.load(new URLRequest("img/home1.jpg"));
    home1.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    var home2:Loader=new Loader();
    home2.load(new URLRequest("img/home2.jpg"));
    home2.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onComplete(e:Event):void
    var img:Bitmap = Bitmap(e.target.content);  // this does nothing useful.
    img.width = 100;
    img.height = 100;
    thumb1.addChild(home1);
    thumb2.addChild(home2);
    // both will now load but you won't see both because they are positioned on top of each other.  ie, offset one of them.

  • Please help me read this hardware error code?

    I do hear one of the SATA disks in my machine acting up.  Strange behavior lately.  I've been through this HD failure scenario before...the
    Apple hardware test issue confirms an issue...
    4hdd/11/40000000:SATA(2,0)
    Does this error tell me which disk is potentially failing?  Which SATA slot?

    Well I did say: use their Lifeguard either CD or Windows
    And Windows is useful, and Windows 8 is even free. The CD you burn and runs a small linux kernel + utility.
    When you got some 'sounds' is when to head to Disk Warrior for instance, to rebuild the directory and it also will write SMART status of how many spare blocks there were/are/used - gets written to the system log when you click on hardware test button.
    If it is a WD drive, while SMART is a standard, WD may read the data and write to drive's log, different and know better (and does much better job) the one person that could not run Lifeguard, that is actually common with drives used by Mac OS X and have to do Zero ALL first, then go back to quck test, and run Extended test if you want. Apple GPT structure seems to be different and can't access some areas and parameters until it is zeroed out.
    Shame that 1TB drives are no longer $89 they were. 'Egg has WD Black for $124 (Amazon gave up matching price). But you do need a new system drive and maybe FW800 case to get on your feet.

  • Please help me on this one

    i am buying a new iphone and want a white one, the only concern i have is the possibility of cracking on the back plastic. is this a widespread problem , let me know your experiences of cracks on the new iphone 3GS please, especially owners of the white version. many thanks
    ps: overheating is that a issue for you or is it just a small minority as i presume it probably is ?

    arangatang57 wrote:
    i am buying a new iphone and want a white one, the only concern i have is the possibility of cracking on the back plastic. is this a widespread problem , let me know your experiences of cracks on the new iphone 3GS please, especially owners of the white version.
    From reading here, the cracks tend to be near ports/openings (earphone and such) and in the outer coating vs. the body of the case. I can't attest personally because mine is in a case so if I have any cracks I can't see them.
    ps: overheating is that a issue for you or is it just a small minority as i presume it probably is ?
    I think most problems reported are a small minority; but that's what I'd expect in a forum devoted to dealing with technical problems. I'm experiencing no problems and no remarkable heating after 3+ weeks.
    Phil

  • PLEASE don't pass this one up!!!

    Ok, hopefully I have your attention. I have asked this about 5 times and never even got a response. It's somewhat frustrating.
    Anyway, I'm working a system out with logic pro 8 and a MIDI controller to use it as a DJ performance rig and play my digital music live. With what I have figured out, only one thing stands in my way, and that's the MIDI capabilities of the software. I set key commands for my controller, but whenever I set them up for a specific song, they are held out through the whole application, not just a project. What I want to do calls for individual command sets in every song, so like knob R1 isn't controlling a flanger rate in all of my songs, but only for the project I call up. Is it possible to set up "song sets" like this in logic, and if so, how would I go about doing it?
    If anyone else performs with logic live, please let me know so I can maybe get some ideas on techniques for performance. And if there are any good "remix-style" plug-ins out there, like a scratch or beat-juggling plug-in, let me know about that too.

    As you've already found out, controller assignments are not song specific, they are part of the global preferences.
    For the most part this makes sense ("Hmm, did I map that key command I always use on control=F9 to a different key in this song..?")
    However, if you learn controller assignments to plugins, in general they only apply to the plugins on the channel of the selected track. In this way, if you have mapped MIDI CC #13 to flanger depth, then if you switch to a track that doesn't have a flanger on it, you can have CC #13 mapped to something else as well.
    You can also arrange automation parameters based on the currently available tracks, so you can set up groups of parameters you want to control by assigning them as automation parameters and grouping them together in folders. I forget what this mode is called, but it's part of the MCU controller assignments handling, and it's useful.
    Be aware though that Logic isn't really designed as a live performance tool, albeit it can be bent to do that - Ableton's Live does much better here.
    There are lots of beat juggling plugins around - I like Audio Damage's Replicant, but you can also try the free Supatrigga, and I'm sure others will recommend stuff too (I also like Live's built-in Beat Repeat).

  • Please provide solution to this workflow error

    ORA-04068: existing state of packages has been discarded
    ORA-04065: not executed, altered or dropped stored procedure "SYS.DBMS_STANDARD"
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_STANDARD"
    ORA-06512: at "APPS.WF_ENGINE", line 4155
    ORA-06512: at "APPS.XXXX_PO_WF_TRAINING_PKG", line 105
    ORA-06512: at line 3
    Hi,
    when i am running 1 function from pkg i get above error.
    i am doing that for workflow.
    pls reply,
    regards,
    shreyans

    Hi,
    Better place to ask
    General EBS Discussion
    Or
    Check there is any INVALID object in APPS schema.
    Regards,
    Taj

  • Error 1603: Need some help with this one

    When installing iTunes I first get an error box saying
    "Error 1406: Could not write value to key \Software\classes\.cdda\OpenWithList\iTunes.exe. Verify that you have sufficient access to that key, or contact your support personnel."
    The second one (after I click on Ignore on the last box) I get it this one:
    "Error: -1603 Fatal error during installation.
    Consult Windows Installer Help (Msi.chm) or MSDN for more information"
    Strange thing is that I do have full access to my computer (or atleast in all other cases I have had since I am the only one with an account on it).
    I have done my best in trying to solve it myself but I'm running out of ideas. I have downloaded latest versions from the website and tried installing Quicktime separately. I have also tried removing Quicktime using add/or remove programs though I just I didn't dare to take full removal because it said something about system files.
    Anyway I really need some help with this, anyone got any ideas?
    Greets,
    Sixten
      Windows XP Pro  

    Do you know how to count backwards? Do you know how to construct a loop? Do you know what an autodecrementor is? Do you know how to use String length? Do you know Java arrays start with index 0 and run to length-1? Do you know you use length on arrays too? Do you know what System.out.println does?
    Show us what you have, there isn't anything here that isn't easily done the same as it would be on paper.

Maybe you are looking for