Photoisomerizations of a newly designed azobenzene derivative reversibly change its self-assembly in a solution to form twisted supramolecular nanofibers and amorphous aggregates, respectively, and turns their capability for acoustic alignment on and off.