The Cytospur Variant on Audio digit reversal:
piano = AudioData[Audio[SoundNote["C", 5, 1]]][[
1]];(*This is using Mathematica's built-in audio samples*)
base7 =
Reverse[IntegerDigits[Round[Abs[512 #]], 7]] & /@
piano;(*This converts each sample to base 7 as a list of \
flatList =
ToExpression /@
Flatten[base7];(*This creates a flatten list of the previous list \
of lists*)
removeDC = # - Mean[#] &@
flatList;(*This removes the DC offset in the signal*)
normalize = #/
Max[Abs[#]] &@
removeDC;(*This normalizes the signal to between-1 and+1*)
output =
Audio[GaussianFilter[final, 8],
SampleRate ->
44100]
The Sarn Ursell variant on reverse audio digits:
CharlieChaplinSpeach =
AudioData[
Import["F:\\Mr. SRU-Hobbies and Interests 2006-2021\\Find Sounds \
Samples, And Wavs To Use\\Find Sounds\\Charlie Chaplin Speach.wav"]][[1]]
CharlieChaplinSpeachMultiplied = CharlieChaplinSpeach*1000000
CharlieChaplinSpeachMultipliedAbs = Abs[CharlieChaplinSpeachMultiplied]
CharlieChaplinSpeachMultipliedAbsRound =
Round[CharlieChaplinSpeachMultipliedAbs]
CharlieChaplinSpeachMultipliedAbsRoundAnotherBase =
BaseForm[CharlieChaplinSpeachMultipliedAbsRound, 6]
CharlieChaplinSpeachMultipliedAbsRoundAnotherBaseReverseDigits =
IntegerReverse[CharlieChaplinSpeachMultipliedAbsRoundAnotherBase]
Export["Charlie Chaplin Speach with Digit's Reversed",
CharlieChaplinSpeachMultipliedAbsRoundAnotherBaseReverseDigits ,
"wav"]
I am dealing with Audio Data now, and yet...the program still will not run, it would appear that Mathematica does not like using IntegerReverse on audio data, and I attach a *.jpeg of the error message that I got when I tried to run the program...
Please advise me, and instruct and also to suggest things to me.
Please read, enjoy and advise,
Regards,
Your friend,
Mr. Sarn Richard Ursell.