(a) Any magistrate may release the defendant on the defendant's own recognizance pursuant to § 40-11-115 or § 40-11-116 or admit the defendant to bail pursuant to § 40-11-117 or § 40-11-122 at any time prior to or at the time the defendant is bound over to the grand jury. The trial court may release the defendant on the defendant's own recognizance pursuant to § 40-11-115, admit the defendant to bail under § 40-11-116, § 40-11-117 or § 40-11-122, or alter bail or other conditions of release pursuant to § 40-11-144 at any time prior to conviction or thereafter, except where contrary to law.
(b) When a defendant has been released to appear as directed by the officer setting bail, and such defendant fails to appear as ordered, any new bail set shall be posted only pursuant to § 40-11-118 or § 40-11-122.