Announcement

Collapse
No announcement yet.

Navigation Mute

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Navigation Mute

    Of the all of the navigation software people are using, which if any of them mute the media player, i.e. winamp and so forth, during voice prompts?

    Which of the navigation system do you guys recommend?

  • #2
    Destinator 3 pauses FrodoPlayer as well as lowering the volume in Winamp...
    Iguidance doesnt do any of that but it's much better then Destinator.

    I personally think the Destinator 3 front end made by ninja money sucks compared to Iguidance.
    Current Setup

    Nexus 7 Tablet
    Built in head unit
    Brutus 1500Watt Amp
    Two Boston 12" subs

    2006 Infiniti M45 Sport ;) My 4 door Camaro... lol

    Comment


    • #3
      I have a solution for Iguidance/Routis (at least the old one) but it has to be added to the front end or player and I don't know if you can do this in VB. Proably so, but anyway, here it is in C++:
      Code:
      	HANDLE	m_hNotify;
      
      	// Start the watch thread
      	void StartFileNotify()
      	{
      		DWORD dwThreadID;
      
      		CreateThread( (LPSECURITY_ATTRIBUTES) NULL, 2048,
      					  (LPTHREAD_START_ROUTINE) _FileWatchThread,
      					  (LPVOID)this, 0, &dwThreadID );
      	}
      
      	// Close the notify handle, stops the thread
      	void StopFileNotify()
      	{
      		if(m_hNotify)
      			FindCloseChangeNotification(m_hNotify);
      		m_hNotify = NULL;
      	}
      
      	// Stub for C++ class stuff (not needed for VB)
      	static DWORD FAR PASCAL _FileWatchThread(LPSTR lpData)
      	{
      		CRoutisMutis *pRM = (CRoutisMutis *)lpData;
      
      		pRM->FileWatchThread();
      		return TRUE;
      	}
      
      	// The actual watch thread
      	void FileWatchThread()
      	{
      		static char szPath[] = "C:\\Program Files\\Deluo\\Routis\\Snd\\";
      
      		DWORD dwRTimer = 0;
      
      		m_hNotify = FindFirstChangeNotification( szPath, FALSE, FILE_NOTIFY_CHANGE_LAST_ACCESS );
      		if( m_hNotify == INVALID_HANDLE_VALUE )
      		{
      			m_hNotify = NULL;
      			return;
      		}
      
      		while(m_hNotify)
      		{
      			FindNextChangeNotification(m_hNotify);
      
      			while( WaitForSingleObject(m_hNotify, 1000) == STATUS_TIMEOUT )
      			{
      				if(dwRTimer)
      				{
      					dwRTimer--;
      
      					if(!dwRTimer)
      						Unmute();
      				}
      			}
      
      			if(m_hNotify)
      			{
      				Mute();
      				dwRTimer = 3; // mute for 3 seconds
      			}
      		}
      	}
      It's just a thread that watches for reads in the Routis sounds folder, and any time you get a notification, you can lower the volume of the player or mute it, then after 3 seconds of no file reads, it will unmute/raise the volume.
      Anyway, hope it's of use to someone!

      Comment


      • #4
        Originally posted by NRGZ28
        Destinator 3 pauses FrodoPlayer as well as lowering the volume in Winamp...
        Iguidance doesnt do any of that but it's much better then Destinator.

        I personally think the Destinator 3 front end made by ninja money sucks compared to Iguidance.
        you really have a crap opinion.
        CarPC status: iPod, 3,456,217 songs so **** you

        Comment


        • #5
          Which is why I said it's MY opinion.
          Current Setup

          Nexus 7 Tablet
          Built in head unit
          Brutus 1500Watt Amp
          Two Boston 12" subs

          2006 Infiniti M45 Sport ;) My 4 door Camaro... lol

          Comment


          • #6
            Originally posted by Motoko
            you really have a crap opinion.
            That is a crappy opinion of his opinion!
            [COLOR=Navy][SIZE=1][FONT=Comic Sans MS]Tektility

            Comment


            • #7
              Originally posted by Curiosity
              I have a solution for Iguidance/Routis (at least the old one) but it has to be added to the front end or player and I don't know if you can do this in VB. Proably so, but anyway, here it is in C++:
              Code:
              	HANDLE	m_hNotify;
              
              	// Start the watch thread
              	void StartFileNotify()
              	{
              		DWORD dwThreadID;
              
              		CreateThread( (LPSECURITY_ATTRIBUTES) NULL, 2048,
              					  (LPTHREAD_START_ROUTINE) _FileWatchThread,
              					  (LPVOID)this, 0, &dwThreadID );
              	}
              
              	// Close the notify handle, stops the thread
              	void StopFileNotify()
              	{
              		if(m_hNotify)
              			FindCloseChangeNotification(m_hNotify);
              		m_hNotify = NULL;
              	}
              
              	// Stub for C++ class stuff (not needed for VB)
              	static DWORD FAR PASCAL _FileWatchThread(LPSTR lpData)
              	{
              		CRoutisMutis *pRM = (CRoutisMutis *)lpData;
              
              		pRM->FileWatchThread();
              		return TRUE;
              	}
              
              	// The actual watch thread
              	void FileWatchThread()
              	{
              		static char szPath[] = "C:\\Program Files\\Deluo\\Routis\\Snd\\";
              
              		DWORD dwRTimer = 0;
              
              		m_hNotify = FindFirstChangeNotification( szPath, FALSE, FILE_NOTIFY_CHANGE_LAST_ACCESS );
              		if( m_hNotify == INVALID_HANDLE_VALUE )
              		{
              			m_hNotify = NULL;
              			return;
              		}
              
              		while(m_hNotify)
              		{
              			FindNextChangeNotification(m_hNotify);
              
              			while( WaitForSingleObject(m_hNotify, 1000) == STATUS_TIMEOUT )
              			{
              				if(dwRTimer)
              				{
              					dwRTimer--;
              
              					if(!dwRTimer)
              						Unmute();
              				}
              			}
              
              			if(m_hNotify)
              			{
              				Mute();
              				dwRTimer = 3; // mute for 3 seconds
              			}
              		}
              	}
              It's just a thread that watches for reads in the Routis sounds folder, and any time you get a notification, you can lower the volume of the player or mute it, then after 3 seconds of no file reads, it will unmute/raise the volume.
              Anyway, hope it's of use to someone!

              That's ******* brilliant !
              [H]4 Life
              My next generation Front End is right on schedule.
              It will be done sometime in the next generation.
              I'm a lesbian too.
              I am for hire!

              Comment


              • #8
                Thank you kind monkey!

                Comment


                • #9
                  Curiosity - I have to second the monkey on this one... that is an awesome idea.

                  So Frodo, when should we expect implementation?
                  It has to start somewhere... It has to start sometime.
                  What better place than here? What better time than now?

                  Comment


                  • #10
                    Originally posted by Big Zack
                    Curiosity - I have to second the monkey on this one... that is an awesome idea.

                    So Frodo, when should we expect implementation?
                    When I completely parse in my brain how to do this, I will work
                    on some test code. Once the test code is working, I can
                    give an estimate.
                    [H]4 Life
                    My next generation Front End is right on schedule.
                    It will be done sometime in the next generation.
                    I'm a lesbian too.
                    I am for hire!

                    Comment


                    • #11
                      i am not a programmer, whats brilliant? i am curious
                      DICE Los Angeles
                      ]

                      Comment


                      • #12
                        Originally posted by yunusyu
                        i am not a programmer, whats brilliant? i am curious
                        How they make twinkies have a shelf life of thousands of years.
                        [H]4 Life
                        My next generation Front End is right on schedule.
                        It will be done sometime in the next generation.
                        I'm a lesbian too.
                        I am for hire!

                        Comment


                        • #13
                          Originally posted by yunusyu
                          i am not a programmer, whats brilliant? i am curious
                          No your not, your yunusyu.

                          It's not the code, it's one of those "Damn! Why didn't I think of doing it that way?!" kind of things that no one had thought of before.

                          Curiosity is busting out some mad "thinking outside the box" skillz.

                          mmm... twinkies

                          - Z
                          It has to start somewhere... It has to start sometime.
                          What better place than here? What better time than now?

                          Comment


                          • #14
                            Originally posted by NRGZ28
                            Destinator 3 pauses FrodoPlayer as well as lowering the volume in Winamp...
                            Iguidance doesnt do any of that but it's much better then Destinator.

                            I personally think the Destinator 3 front end made by ninja money sucks compared to Iguidance.
                            Everybody is entitled to their opinion, but I am of the opinion that Unless you can do better, don't knock it.

                            Originally posted by Me
                            Before you criticise a man, walk a mile in his shoes.

                            Then when you do, he will be a mile away with no shoes on.

                            Comment


                            • #15
                              Originally posted by frodobaggins
                              How they make twinkies have a shelf life of thousands of years.
                              Thats Brilliant!!!
                              Pentium 4m 1.5GHz|MB896|Roadie Extreme|XM-Direct|Rikaline 6010|T-View 7"|Streetdeck|160gb Western Digital|1Gb DDR2-533 Ram

                              Comment

                              Working...
                              X