Help with records.

Im nw to java and I need help with records. Can you please tell me how to make a record called car, store the make and model and display them like the structure chart below( yes its a structure chart).
================ main =========
=============== / === \ ========
============= / ======= \ ======
=========== / ========== \ =====
========= get car ======= display =
========= record ===============
======== / ===== \ ==============
======= / ======= \ =============
====== / ========= \ ============
=== get car ======= get car ========
=== make ======== model ========
==============================

welcome to world of java...
here is a skeleton structure of what you want..
class myCar{
public static void main(String args[]){
myCar car = new myCar();
car.displayCar();
System.out.println(getCarRecord());
void displayCar(){
// display your car image here
String getCarMake(){
// returns String containing make of car
String getCarModel(){
// returns String containing model of car
String getCarRecord(){
return getCarMake() + " " +getCarMake();
maybe this helps

Similar Messages

  • Help with recording measurement

    Hi all,
    I'm trying to take voltage/current/resistance measurements from a Keithely sourcemeter and plot them on charts. There's also the option to record the measurements upon pressing the "record" button, which then would prompt the user for a path name. After the 'record' button is pressed again, the file is saved and closed. During the entire process of openning file, recording, and closing the file, the measurements should be plotted onto the charts uninterrupted.
    I've used a state machine pattern, with the value of the 'record' button as input to decide the state transitions, used in a "select" gate. However, when I run the VI, the state transitions never happens, pausing the execution and probing the value of the button yields that its output stays the same regardless of the state of the button.
    I've set the operation of the button to "switch when pressed". 
    I know this is a common task, but I'm pretty stumped about how to fix this. The VI file is attached, any pointer is appreciated.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    read_current_save.vi ‏36 KB

    The typedef enum will solve the problem of the names.  Once all sources (controls or constants) connected to the state wire in every case and outside the loop are all copies of the same typedef, the names will return.
    What happened was that you changed one of the enums or created a new one.  It had a different data type.  Yes, it was still an enum and still produced a U16 integer, but because the items in it were different, it was considered a different data type.  When two different data types are connected to the wire going to the selector terminal, the case structure attempts to find the common "denominator", in this case a U16 integer, but not the enum.
    I converted the enum constant you had with "record" and other values to a type def and copied it several times.  When I replaced all the other state enums with that type def enum, the names came back.
    Lynn

  • Help with recording midi instruments : two sources at the same time

    Hi -
    I'm trying to learn Logic after using Performer for years, and though the audio is fine, I just can't get the midi to work doing something really simple.
    I have a MOTU midi express XT, which is an 8 channel midi interface. Piano plugged into channel 1, drumkit plugged into channel 2. I want to play both and record both, which should be easy, but I am stuck at the first hurdle.
    So, new project, add a midi track for the piano, and select XT1 and plays and records fine. Add a track for the drums, and try to put it onto XT2, and now the keyboard plays the drums when I press the keys. Likewise, the drum kit triggers the piano. I have tried unchecked auto demix by channel but that doesn't help.
    This ought to be trivial, but even with the manual, I cannot figure out how to simply choose midi input and output per track.
    If anyone has a tip I would be very grateful!
    thanks
    Steve

    goldensteve wrote:
    I believe that I have followed your instructions, but I am seeing the same result: both midi sources trigger (and record) each other. Hmm.
    It looks like the midi channels are not set properly or something like that...
    What kind of midi tracks have you created - Software Instrument tracks - if yes set their midi channels to 1 and 2 ? If you have created Standard Instrument objects and want to use them with external sound device check the midi channels of these Standard Instrument objects again in the Environment of in the Arrange track Inspector - they must be set to ch.1 and ch.2.
    If you use a Multi Instrument set it to ch.All in the Environment and create tracks for its sub midi channels 1 & 2 in the Arrange.
    The Autodemix by midi channel Logic setting must be enabled as Bee Jay mentioned as well both tracks must be armed "R" !
    Go to Click & Ports Environment layer and have a look at the "Input View" Monitor to check the incoming midi channels of the external instruments. Play a piano note(let's say C2) on the first instrument which is set to ch.1 - you must see some midi message like:
    "1 C2 56" in the Monitor - which means ch1. Note=C2 vel=56.
    Trigger a drum note (A2 for example) on the second instrument (Drums Set) on ch.2, so it must be shown as "2 A2 78" which confirms that the midi channel i.s OK. If not, then you must check you hardware settings again etc.
    PS. If these re-instructions do not solve your problem, please provide a download link of this Logic project song so we can check up it. Make a short description on which tracks you try to record or just name them "Piano" & "Drum Set" something like that.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif!

  • Help with recording audio

    I am trying to record an Alesis Micron synth into Logic. I have both cables in audio out on the Micron and they are plugged into the two inputs on my Presonus Interface. Logic recognizes the interface and inputs but there is not sound when playing the synth or recording. I have record enable and monitoring on and I still cannot get any sound. The volume on my interface console is turned up as well The Micron works when plugged into an amp so it is not the problem. I am new to Logic so any help would really be appreciated.

    You stated monitoring on, do you mean software monitoring in preferences if so thats cool. Now when you create new audio tracks select input monitoring along with your other settings or click on the i button on your previous tracks see if that works

  • Help with recording voice

    I would like to use garage band to record voice tracks of up to an hour long. I have a USB lLogitech headset with microphone, which appears in the GB preferences. I have checked the voice input on the System Preferences and turned it up and checked that the sound from the mike is registering. But it doesn't seem to be registering on garage band and nor is it recording. I read the GB help and turned on the little red thing in the track control panel, but nothing.
    I'm stuck.
    Any ideas?
    I'm running GB 2
    Thanks

    Hey Allie!
    The problem is likely the compression that the station is doing to the stream for transmission... you might not be able to "fix" it the right way without looking at what they are doing to it, because if you send them OK audio, and it's monitored OK in FCP, but sounds bad over the air or whatever, then it's in THEIR court actually. But the EQ filters in FCP or Soundtrack Pro could be used to make your voice crisper sounding. Find the audio frequency of your voice and raise the highs and lower the lows a bit with those EQ filters. It's all real time too, so not hard to figure out. Try starting with the "Final Cut Pro" 3 Band Equalizer... just play with the settings during playback, and you'll see what it does... or for a further explanation, type "3 Band Equalizer" in the search box of the online help menu's User's manual.
    Jerry

  • Help with recording 2 tracks at the same time

    Basically I recently purchased an Audio Interface (BEHRINGER XENYX Q802 USB) and I'm having trouble recording multiple tracks at the same time while using it.
    When I set up 2 MONO tracks in my DAW (one using input 1, the other using input 2) all that happens is that I get a recording of one mic over both tracks in my DAW.
    This is probably a beginner post and I have looked it up on YouTube etc. but it just doesn't work for me... Maybe it has something to do with my Interface, but any help will be much appreciated.

    Hi Pancenter,
    Unfortunately I don't have the manual as I purchased it from a friend who failed to provide me with the Manual.
    But thank you for answering as this was what I needed to do.
    Many thanks
    Olie.

  • Help with recording fuzzy guitars

    I've recored a few tracks with Garageband over the past 2 months that I have had my imac. And apart from disappearing guitars on one track, the experience hasn't been to bad.
    Now I'm looking for a heavier sound for some of my tracks but I can't seem to get that crisp heavy sound. I've played around for a few hours with the EQ's and the sounds that the software provides, but I just can't seem to tighten it up.
    I am using a Les Paul Voodoo, the pick ups in it are fine when played through an amp. So I have kinda ruled out the pick ups being the problem. I bought a new lead, and new string brightened it up a little. But It just seems like whatever I do it sound fuzzy when its played back. This isn't the case with my Basses, and all other software instruments are fine.
    I also play a Yamaha APX4 acoustic which can sound fuzzy sometimes, but I can usually tweak the EQ to reduce that.
    Anyone else have this problem or does anyone have any tips for getting the best out of guitar through Garageband?
    Cheers,
    Pete

    Hi guy's thank's for the response.
    1, I don't use an interface but I have been thinking of getting one if it will improve my sound. I don't really know to much about interfaces. I plug direct in to my imac using a jack reducer.
    I'm a bass player.... Insert joke here....
    If you can possibly advise on an interface that would be cool.
    2, I've been using the metal/new metal settings on garageband and tweaking them like crazy maybe over tweaking them.
    This is really my first time at recording guitars. In the past I always paid over the top in a studio and I've been with a band. So when guitar recording was going on I was usually down the pub.
    So I guess you could say I'm still trying to find my feet.
    The line 6 thing, do I need the line 6 hardware, or is it an app for garageband?
    All help is very much appreciated.
    Cheers,
    Pete

  • Need help with recording level!

    Hi,
    I am writing a tune on Garage Band. I have recorded several tracks. A few with hardware, a few with soft synths. I find I cannot adjust the recording level with the slider now (soft synth parts only). It seriously needs to be reduced, otherwise it sounds terrible. The slider simply wont move. Something must be wrong. Any ideas?
    HELP!

    Ratty, at some point you must have set a point on the volume curve by accident, that and/or setting a pan curve point are the only two things that will disable the volume (and pan) controls)
    Good to hear the issue is no longer a problem. Have Fun --Hang B-)>

  • Help With Recording both Microphone and Audio Playback Simultaneously

    I am trying to record both my own microphone and another audio source at the same time. The other source is a VOIP program. When I try to set up a multitrack session I can only select either my Microphone or The sound card as my input for the tracks. When I try to set up one and then the other, I have to change my default input device from the audio hardware settings which then excludes the other device from being used. I am following the steps in these two videos here:
    http://www.youtube.com/watch?v=TAJ9rXepKZc
    and
    http://www.youtube.com/watch?v=TAJ9rXepKZc
    Thank you for your help.

    Since Audition inherently uses ASIO, the windows driver you see in the hardware setup is translating the built-in driver information (not ASIO) to this standard. The ASIO4ALL driver, which you can download for free, has some advantages in this regard; it will let you see all of the devices connected to your system with valid windows drivers and possibly let you connect more than one at a time - although I'm not promising that this will work... (although it seemed to in the video)
    The thing you have to understand about ASIO is that it bypasses a lot of the OS, and inherently will only ever work with one device at a time. Fortunately, ASIO4ALL counts as a single device, and to that extent, Audition doesn't care what's connected to it. You may yet run into difficulty though, because your mic and Windows internal hardware aren't synced together, and ASIO4ALL may regard this as an insuperable problem. The reason that I think it might work though is that your mic is a USB device, and the drivers for this are a little different. Normally we regard USB mics as being a right PITA, but in this case it might be your saving grace - I don't know.
    The usual solution to this problem is to use an external sound device with more than just single inputs and outputs, and with an ASIO driver. This method doesn't use 'what you hear' at all, but routes the software feed from your VOIP package straight to one output, which you feed to a small external mixer. Into the mixer, you plug your external mic as well. The mixer output goes to another pair of inputs on your sound device, and this is what you record in Audition, generally you on one channel and the incoming caller on another (or you can use a stereo pair split left and right). The advantage of this is that you can monitor the call on the mixer, and once you have the levels set about right, just concentrate on the call - final level tweaking, which is invariably needed, is easy, because you've kept both sides of the converstation on different tracks.

  • Help with recording guitar on GarageBand using M-Audio Firewire Solo

    Hello everyone. I hope someone can help me. I recently bought a new mac mini and M-Audio Firewire Solo to record music. I'm new at recording so I have no idea what to do.
    The problem is when I record playing the guitar, the sound is so low, I can barely hear the guitar playing when I play it back. I turned the gain to maximum level and I still can barely hear the guitar record. I know it's recording because I can hear the guitar when I play the record back, but the sound is way too low.
    The weird thing is that the microphone works fine and when I record vocals, I can hear the playback fine.
    Did I miss anything? Is there a good setting for recording guitars using M-Audio Firewire Solo? Is it because M-Audio Firewire Solo is not compatible with the latest Mac Mini system?
    Please help! Thank you!

    I connect the guitar to the guitar input that is in front of M-Audio firewire solo using this cable: http://www.livewire-usa.com/products/products.cfm?sBrand=adv . Then I turn gain up to the maximum level.
    When I play the guitar, you know the bar that goes green on garageband (not sure what it's called)? Even if I strum really hard, the green never goes up past 1/4 of the bar. When I'm using the mic and speak a bit loudly, I can see that bar turning red. So it seems like it's not reading the input properly, but really I'm not sure, so hopefully you'll be able to help me
    I'm actually using the mac mini's speaker to hear the sound, so I'm not sure if it's only coming from one speaker or not.
    Sorry if I miss any important detail. I'm a newbie. And as always, I appreciate you taking the time to answer my questions!

  • Desperately seeking help with recording and playback error messages...

    When I attempt to record a single track of audio (either with my internal mic or my Samson USB mic), I get the following message 15 to 30 sec into it:
    CoreAudio:
    Disk is too slow. (Record)
    (-10004)
    And when I attempt to playback that single track of a little bit of audio I recorded, I get the following message:
    This song has too many instrument tracks to be played in real-time.
    I have tried all the steps to solve the problem under "Optimizing Garageband" in the Help menu and nothing has worked.
    I would greatly appreciate any suggestions that anyone has as to how I could get rid of these messages and actually enable myself to record a full song at some point in the conceivable future...

    I'm guessing that your computer is too slow to record
    real-time audio.
    Of itself it should be fine - I still use a G3 desktop to record stereo with no problems at all - though GB may add an overhead. Still, this shouldn't be happening.
    If you have other tracks playing
    while you are recording this could be an issue,
    especially if there are a lot playing.
    Yes...
    If this is the
    case then you can lock the tracks playing by pressing
    the lock icon.
    This won't make any difference to audio tracks, only to MIDI tracks, and in that case it reduces demands on the processor but increases demands on the disk - which appears to be the trouble in the first place.
    I agree that you should consider
    getting an external hard drive. You can set the
    record path to the external hard drive
    Since laptop disks are usually slower than external ones this might help - particularly if your internal drive is very full.
    which will
    free up working memory to your computer.
    No it won't, but it will take the strain off the internal disk, if that's what you mean. The memory might be an issue, which would be resolved by installing more RAM if possible.

  • Help with recording setup

    Hi all.
    I need help how to record directly from camera through firewire while I also record Audio from my firewire soundcard.
    Right now I record the audio and some midi into logic.
    Im using a macbook pro with only one firewire port.
    Can I solve this buying a Firewire hub?
    And Can I record directly from 2 cameras at once??
    Hope you can help me, so I can start using my newly bought final cut pro.
    Regards
    Mujan84

    The first question is why you would want final cut pro in this loop at all?  FCP is an editing application, not a production tool.
    A firewire hub will not help.
    Oe camera at a time.  You might think about putting a switcher into the equation.  Capture the switcher feed into FCP, and make sure both cameras are recording as well.  Then you can go back in and correct any missed switches or re-edit what you did on the fly if it seems right to do it.
    Remember that capturing live into FCP is the weakest link in your chain.  All you need is to trip over the power cable and you are hosed.
    If you find the right mixer/switcher combo, you can feed the audio stream into another computer.  With multiple cameras, a switcher and two computers capturing information, time code is critical.  The best scenario is to send identical code to all devices-- that way you'll have no issues getting it in sync-- just match the numbers.  But at least make sure all devices are code-driven.

  • Help with recording midi

    I have an electric drum kit that i would like to hook up to logic express and use the drum pads to trigger the sound fonts that are one logic already. is this possible? i can get a midi to usb interface to hook it up into logic, but then what? is there a way to have mulitple midi channels recording at the same time? even if it wrote a 1 track containing individual drums, i could use the demix by note pitch on it, right? if anyone has any experience, i would appreciate it. even if anyone had any ideas on how to do it, i would appreciate that too.
    thank you,
    Stew

    Hi Stew,
    I do this and have the same computer and use a Yamaha DTXtreme IIs, Logic Express and FXpansion's BFD.
    The "brain" of your e-drums can be MIDI connected to your Mac via an interface of some kind. Most drum "brains" that I'm aware of have yet to catch up to the digital world, unfortunately, and can't yet be connected directly into your Mac via firewire. Some have USB outs, but I've never used one that way. I suspect there may be latency issues with USB as well, but a lot of it probably depends on the drums you plan to trigger. I've never tried using it with the sounds in Logic Express or Garage Band or anything - although its just MIDI information to which you can assign anything anyway. I've never worked with the "environment" for MIDI in LE - it was all to complicated for me to figure out, so I bought FXpansion's BFD, which I love. It is probably the most intuitive drum sample program there is and the easiest to figure out, for my money.

  • Help with Recording

    I just bought a Perception220 microphone which I am running thorough an M-Audio Mobile PreUSB.
    So...my problem is when I go to record in a Logic session individual notes played on an acoustic instrument will sound very nice. When the notes are strummed such as with chords and played harder theres a pretty substantial buzz happening.
    Anyone have any thoughts on how they setup their mic's to record mandolin/guitar? Im new to the whole home studio thing so any advice would me much appreciated.

    Turn down the input ( front ) gain on the M-Audio unit and watch that the meters aren't clipping in logic before you record.

  • Help with recorded session.

    I there any way to export a recorded session to a regular AVI or MPEG file?
    Is kind of hard to work with a 1.5 Gb file.

    I didn't get a good answer, but I have a workaround.  I downloaded FreeMake to use to convert the flv created by Adobe.  If you go this way, simply convert from flv to flv, and FreeMake will use a differnt audio codec that is comatible.

Maybe you are looking for