for path in ${pathes[@]}; do
myfunc "$path"
done
for i in ${!pathes[@]}; do
myfunc "${pathes[i]}"
done
% cd /Users/user/Desktop/Melodyne\ 5
% pwd
/Users/user/Desktop/Melodyne 5
% find "/Users/user/Desktop/Melodyne 5" -name "Melodyne"* -type d -maxdepth 3 -print | sort
/Users/user/Desktop/Melodyne 5/Melodyne.app