Page 19 of 37 FirstFirst ... 91011121314151617181920212223242526272829 ... LastLast
Results 181 to 190 of 362

Thread: AMP Wishlist Thread

  1. #181
    Newbie macalanche's Avatar
    Join Date
    Jan 2006
    Location
    Northern Virginia
    Posts
    43
    Ok, I'll do what I can to help. I'm a ****ty editor but I can do reseach. I'll see what I can find out about gesture input.

    Let us know if you need anything else(beside time).

  2. #182
    Variable Bitrate
    Join Date
    Feb 2006
    Posts
    262
    I've tried to send as much as info as I could on GPS, I personally think OBD II would be great, but realistically I think XM and GPS should be a priority, but hey maybe that's just me...

  3. #183
    Constant Bitrate
    Join Date
    Jun 2006
    Posts
    126
    Heres some stuff I found on Equalizers...(I dont know which one you need)
    http://developer.apple.com/cgi-bin/s...ult_collection

  4. #184
    Variable Bitrate
    Join Date
    Feb 2006
    Posts
    262
    I think this is what you're looking for on an equalizer, it says it's built into OS 10.4

    http://developer.apple.com/documenta...section_1.html

  5. #185
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by LightningMac View Post
    I think this is what you're looking for on an equalizer, it says it's built into OS 10.4

    http://developer.apple.com/documenta...section_1.html
    This is CoreAudio framework, which is pretty low-level and you cannot use it easily (if at all) with NSMovieView, that is used in AMP (BTW: It might not be a bad idea to replace it with QTMovie view - more functions and quite a few issues fixed).

    By far the easiest way of implementing an equalizer is to use iTunes for playback and control its equalizer via AppleScript.

  6. #186
    AMP Creator aychamo's Avatar
    Join Date
    Jun 2006
    Posts
    505
    Quote Originally Posted by Jirka Jirout View Post
    This is CoreAudio framework, which is pretty low-level and you cannot use it easily (if at all) with NSMovieView, that is used in AMP (BTW: It might not be a bad idea to replace it with QTMovie view - more functions and quite a few issues fixed).

    By far the easiest way of implementing an equalizer is to use iTunes for playback and control its equalizer via AppleScript.
    Jirka, is it possible to get/set the current play position (time, like you are at minute 2:03 of a 4:00 minute song) via iTunes & AppleScript interfacing?
    -

  7. #187
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by aychamo View Post
    Jirka, is it possible to get/set the current play position (time, like you are at minute 2:03 of a 4:00 minute song) via iTunes & AppleScript interfacing?
    Yes. I use this to store the position when the app goes down and then resume the playback the next time it is started.

    here is how to store the position (moduleSetup is NSMutableDictionary):
    Code:
    - (void) readCurrentPosition{
        NSAppleScript *asExecutor;
        NSAppleEventDescriptor *asResult;
        asExecutor = [[[NSAppleScript alloc] initWithSource: @"tell app \"iTunes\" to get {player position, index of current track, index of current playlist}"] autorelease];
        asResult = [asExecutor executeAndReturnError:nil];
        [moduleSetup setObject: [NSNumber numberWithInt:[[asResult descriptorAtIndex:1]int32Value]] forKey:@"CURR_TIME"];
        [moduleSetup setObject: [NSNumber numberWithInt:[[asResult descriptorAtIndex:2]int32Value]] forKey:@"CURR_TRACK"];
        [moduleSetup setObject: [NSNumber numberWithInt:[[asResult descriptorAtIndex:3]int32Value]] forKey:@"CURR_PLIST"];
    }
    and here how to resume from the stored position:

    Code:
    - (void)doPlay{
        NSString *asCommand = [NSString stringWithFormat:@"tell application \"iTunes\"\r play track %i of playlist %i of source \"%@\"\r set player position to %i\r end tell", 
    	[[moduleSetup objectForKey:@"CURR_TRACK"] intValue], [[moduleSetup objectForKey:@"CURR_PLIST"] intValue], [moduleSetup objectForKey:@"CURR_SRC"],
    	[[moduleSetup objectForKey:@"CURR_TIME"] intValue]];
    
        //NSLog(asCommand); //DEBUG
            [[[[NSAppleScript alloc] initWithSource:asCommand] autorelease] executeAndReturnError:nil];
    }

  8. #188
    FLAC sdashiki's Avatar
    Join Date
    Aug 2004
    Location
    Floreeda
    Posts
    1,085
    All I know of Mac OBDII is the python script thing that deals with it.

    Youd need a serial to USB converter, and basically a way to read the info off the USB signal and interpret it into graphical or numerical data with labels etc.

    Scantool has their own software for doing that, but its Windoze
    (All done)
    iPad Mini 128GB, RF 600.5 amp, JL12W0V2, 8 Infinity Components

  9. #189
    Variable Bitrate
    Join Date
    Feb 2006
    Posts
    262
    here's info on pyobd, I think it's what you're referring to and it says it works with OS X:

    http://www.cs.unm.edu/~donour/cars/pyobd/

  10. #190
    QCar Creator Jirka Jirout's Avatar
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    590
    Quote Originally Posted by sdashiki View Post
    Youd need a serial to USB converter, and basically a way to read the info off the USB signal and interpret it into graphical or numerical data with labels etc.
    If you use a serial to USB converter, its driver creates a device file in /dev/ and you can read/write data exactly the same way you read data from a file (using NSFileHandle). Reading the data is a piece of cake. What is (a little) more difficult is to parse the data you read, but since there is so much documentation and examples out there, it is not that difficult either.

Similar Threads

  1. Engine Noise due to ground loop or amp?
    By matt11601 in forum Car Audio
    Replies: 30
    Last Post: 08-26-2009, 09:38 PM
  2. Replies: 2
    Last Post: 02-26-2006, 11:32 PM
  3. Brand new AMP, Busted..
    By Biograph1001 in forum Car Audio
    Replies: 7
    Last Post: 02-19-2006, 11:54 AM
  4. amp pop
    By dan__wright in forum Car Audio
    Replies: 6
    Last Post: 06-16-2005, 05:24 AM
  5. Amp setup. Heat concern.
    By d_sellers1 in forum Car Audio
    Replies: 2
    Last Post: 07-09-2004, 10:58 AM

Bookmarks

Posting Permissions

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