Is there a way to store binary data inside a BASH script so that it can be piped to a program later in that script?
At the moment (on Mac OS) I'm doing
play sound.m4a
# do stuff
I'd like to be able to do something like:
SOUND <<< the m4a data, encoded somehow?
END
echo $SOUND | play
#do stuff
Is there a way to do this?