// Script:         	resetSong.ltgs 
// Description:    	Prepare For the next new looping (empty song)
//				   	Delete all loops and markers, reset the visibility grid and set the song bar to 1
// Arguments: none
//	
// Author : LoopToGo 
 
loadScript ..\aliases.txt					// To use aliases instead of shortcut commands
 
outOfJamMode				// From Looptogo\aliases.txt
 
stop						// From Looptogo\aliases.txt

waitForSongStop
 
// We delete all loops and markers but we keep the tracks to be ready to use a looper emulator again 
deleteAllMarkers
deleteAllLoops

setAutoTrackBar true

armRecord false  // In case it was armed (audioTrigger.ltgs)
  
rewindAll					// Rewind all. Needs 0- because of negative value

//setLooperMode 0				// Back to default (will show back all widgets)   Done within newSong !
setGridLinesVisibility	7 	// Everything is visible (back to default)
removeAllCustomGridLines	// The looper emulator script have created custom grid lines)

setUserArgs  				// reset the users args just in case!

