Page 50 of 81 FirstFirst ... 404142434445464748495051525354555657585960 ... LastLast
Results 491 to 500 of 801
Like Tree1Likes

Thread: Renault "Tuner List" Head Unit/CD changer hacking - Controls

  1. #491
    Ale
    Ale is offline
    Newbie
    Join Date
    Feb 2006
    Location
    Italy
    Posts
    42

    PIC emul

    I'am working on a new release of pic firmware, with interrupt handling of usart rx, using a circular buffer (small but useful 64byte), and a more precise delay in millisec using internal TIMer0.
    In the old version there are some bugs: in the SendCmd a frame can go wrong if an ACK is sent immediatly when a command is received in the middle of the sending data frame.
    And command list sent in SendCmdList shouln't be interruptible by a new command becouse in the start sequence this can be the reason i do not see the track number in the HU.
    Tomorrow i'll do the "in car" test.
    Bye
    Ale

  2. #492
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Remember this ?
    Quote Originally Posted by Vicne
    If displaying ID3 tags is the Holy Grail, preventing the HU from muting is second on my wishlist...
    Well, it's not perfect, but I already made a big step : I can now prevent muting when pressing most of the front panel buttons (up to 5) :-).

    How ? Well, that's simple : just pretend there is no CD in the tray at that position :-)

    Technically speaking, it involves two things :
    - first declare one or more missing CDs in the TRAY_STATUS (26h) frame that is part of the bootup sequence. See details about this frame on the protocol page.
    - second, when the user presses a button corresponding to this CD, reply that you refuse to switch to that CD by sending a CD_CHECK (13h) frame with payload 02h 26h.

    The effect is that the HU then displays "NO CD" for a few seconds, but the sound doesn't mute as the HU considers that playback continues "from the same CD". Small drawback : the CD number on the display doesn't switch to that number anymore...

    Limitations :
    - at least one CD must be present in the tray else the HU doesn't activate SPDIF input and keeps a blank display... So in the Java emulator, I'll make it configurable which CDs you wan't to declare "present" (mute but number change) or "absent" (number change but no mute). But in all cases, the CD number press is detected and dispatched to the plugins of course :-)
    - still no way found for the stalk controls... (In case you wonder, the "NEXT CD" (thumbwheel pull) restarts the CD at track 1 if there's only one CD in the tray) :-(

    Possible improvement :
    Maybe one could send "CD_CHECK" sequence at other times than during boot up. This way, when user clicks button 3, we would reply "NO CD", then change the bitmap to pretend the only CD present is number 3, so that all other buttons don't mute... But that's not guaranteed and would prevent clicking on the same button multiple times without muting so I won't even try.

    Expect version 0.4 of the Java Emulator this week-end...

  3. #493
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by Vicne
    Expect version 0.4 of the Java Emulator this week-end...
    Done.
    The Sourceforge project has been updated with the following :
    - Version 0.4 of TLCDCEmu. See release notes for more information
    - Version 4 of tlcdcpy, already available in this post
    - Version beta1 of the PIC emulator tlpicemu already available in this post
    - Many updates on the website (new schema, pictures, info on PIC version, etc.)

    Don't hesitate to test these versions and give us feedback !

  4. #494
    Newbie
    Join Date
    Feb 2006
    Posts
    28
    Quote Originally Posted by Vicne
    - Version beta1 of the PIC emulator tlpicemu

    !
    Hi,

    the link with the PIC code it's wrong (pyserial?).

    pep

  5. #495
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by peppuz79
    The link with the PIC code it's wrong (pyserial?).
    Oops, sorry. Fixed.

  6. #496
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Well, apart for adding links in the above post, I hadn't much time the other day to explain the benefits of the last version, so here we go :
    I think the contextual plug-in is a huge leap forward. Here is the scenario implemented in the config file :
    - Upon startup, the state is set to 'STATE_MENU' (RR is most probably on its MAIN screen)
    - By default, NEXT/PREV (stalk controls for example) go to NEXT/PREV track.
    - If you press button 2, RR goes to the AUDIO screen (tracklist). NEXT/PREV still have the default behaviour.
    - If you press button 3, RR goes to the GPS screen (MapMonkey) and the emulator switches to the state 'STATE_GPS'
    - Now, in 'STATE_GPS', the NEXT/PREV (same stalk controls) are now mapped to zoom in/out
    - If you press back button 2 or 1, then the emulator leaves the 'STATE_GPS' and default behaviour is restored
    - If you press button 6 while in the AUDIO screen, RR switches to the GPS screen for 5 seconds then comes back to AUDIO automatically

    Using this feature, one could really elaborate a full multi-level navigation menu.
    The first problem is the fact that NEXT/PREV causes a systematic mute, and it's really not convenient to have the sound muted each time you zoom in or out, so it's a pity but I'll probably stick to the front panel numbered buttons and will leave the thumbwheel mapped to NEXT/PREV TRACK...
    The second problem is feedback, but ...

    I think there's a solution...

    ...

    Anybody knows of a free, good, multilingual text-to-speech ?

  7. #497
    Constant Bitrate
    Join Date
    Feb 2006
    Posts
    113
    Quote Originally Posted by Vicne
    Anybody knows of a free, good, multilingual text-to-speech ?
    festival (never used it though, multilingual as in English, Spanish, Welsh).
    See also Speech synthesis on wikipedia.

  8. #498
    Variable Bitrate
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    326
    Quote Originally Posted by pippolippi
    festival (never used it though, multilingual as in English, Spanish, Welsh).
    Mmmmh... no French - and no Italian or Dutch either :-(
    See also Speech synthesis on wikipedia.
    Good starting point indeed.

    SAPI 4 (MS only) looks cool, but it's a pity that "these text-to-speech engines are licensed only for use in Microsoft Agent enabled applications and Web pages with a visibly displayed Microsoft Agent character" :-(. I don't want a dog in my car, it will put hair everywhere :-)... Plus, it's Win-only.

    MBROLA seems really versatile (25 languages) but the learning curve clearly is much steeper. It is only a phoneme renderer as I understand it and you need a separate Text > Phoneme converter such as Euler...

    Moreover, it seems MBROLA can be used as the backend for the Java FreeTTS, so we might have all the bricks in hand...

    I need to look further into that...

    Thanks for the Wikipedia tip.

  9. #499
    Newbie
    Join Date
    Dec 2005
    Posts
    23
    I have a VDO 603A cd changer, I want use a Atmage16L to simulate the CDC.
    I have test the Atmage16L with a max232 connect to PC's RS232, it seem it work finally, but when I use the UART port of Atmage16L to connect to CDC , and want test could it get CDC's data. I can't get any data form the CDC's.

  10. #500
    Newbie
    Join Date
    Feb 2006
    Posts
    28
    Quote Originally Posted by yaohui
    I have a VDO 603A cd changer, I want use a Atmage16L to simulate the CDC.
    I have test the Atmage16L with a max232 connect to PC's RS232, it seem it work finally, but when I use the UART port of Atmage16L to connect to CDC , and want test could it get CDC's data. I can't get any data form the CDC's.

    Maybe Atmega16L?

    Anyway looking this pdf :

    http://www.vdodayton.com/sycomax/uis...2005-GB-oB.pdf

    I don't know what that features means:

    Digital and Analog BUS (switchable).

    maybe you have need to switch somethink?

    pep

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
  •