Vocal synthesis using sine: Difference between revisions

(Add a section about my new FFT tool)
Line 2: Line 2:


== Liam's FFT ==
== Liam's FFT ==
The easiest way to do FFT is using [https://tiusic.com/os_fft/deploy/index.html Liam's FFT tool]. Just upload a WAV file, choose a preset mode, and click GO. Then you can either copy the notes and paste them into a sequence, or download the sequence file and drag/drop it into OS. There are lots of advanced options to play with to optimize the output. This tool is based on the older fft.py script, which is now deprecated.
The easiest way to do FFT is using [https://tiusic.com/os_fft/deploy/index.html Liam's FFT tool]. Just upload a WAV file, choose a preset mode, and click GO. Then you can either copy the notes and paste them into a sequence, or download the sequence file and drag/drop it into OS. There are lots of advanced options to play with to optimize the output. This tool is based on the older fft.py script, which is now deprecated.  With the correct settings applied, it can use multiple copies of the 8 Bit Sine instrument to reproduce sounds more clearly than Jacob's FFT, but will generate hundreds of thousands of notes per minute.


== Jacob's FFT ==
== Jacob's FFT ==
Line 11: Line 11:
=== Restoring High Frequency Sounds ===
=== Restoring High Frequency Sounds ===
Using this algorithm bounds you to the frequencies accessible by the 8 bit sine, which will often result in high frequencies getting cut off, making things sound muffled and certain syllables will be difficult to hear.  It is possible to get around this limitation and more accurately reproduce high frequency sounds in the sequencer.  In order to do this, you must first follow the instructions in the paragraph above as normal, except you should use a BPM that is a multiple of 4.  After that, select all of the notes and change them to 8 Bit Triangle.  Open the console and run this command: setDetune(13,2400) .  This makes all 8 Bit Sine notes sound 2 octaves higher than they are.  Next, open your sound file in an audio editor such as audacity.  Slow down the sound to 25% of its original speed, and make sure you do not have any setting enabled which preserves the pitch of the sound.  In audacity, this can be done by clicking the drop down menu next to the audio track, and changing the "rate" to a quarter of itself.  The purpose of this is to bring high frequency data down into the range which can be detected by the FFT Converter.  Return to the sequencer and set the sequence's tempo to a quarter of itself.  Run Jacob's FFT Converter in the console as before, this time importing the slowed down version of the audio.  Once it is finished, change the tempo back to normal.  You should have the original conversion in 8 Bit Triangle, and a different with more high frequencies in 8 bit sine.  They should completely overlap and sync up, creating a clearer sound.  Volume and EQ of the Sine and Triangle should be adjusted to your taste.
Using this algorithm bounds you to the frequencies accessible by the 8 bit sine, which will often result in high frequencies getting cut off, making things sound muffled and certain syllables will be difficult to hear.  It is possible to get around this limitation and more accurately reproduce high frequency sounds in the sequencer.  In order to do this, you must first follow the instructions in the paragraph above as normal, except you should use a BPM that is a multiple of 4.  After that, select all of the notes and change them to 8 Bit Triangle.  Open the console and run this command: setDetune(13,2400) .  This makes all 8 Bit Sine notes sound 2 octaves higher than they are.  Next, open your sound file in an audio editor such as audacity.  Slow down the sound to 25% of its original speed, and make sure you do not have any setting enabled which preserves the pitch of the sound.  In audacity, this can be done by clicking the drop down menu next to the audio track, and changing the "rate" to a quarter of itself.  The purpose of this is to bring high frequency data down into the range which can be detected by the FFT Converter.  Return to the sequencer and set the sequence's tempo to a quarter of itself.  Run Jacob's FFT Converter in the console as before, this time importing the slowed down version of the audio.  Once it is finished, change the tempo back to normal.  You should have the original conversion in 8 Bit Triangle, and a different with more high frequencies in 8 bit sine.  They should completely overlap and sync up, creating a clearer sound.  Volume and EQ of the Sine and Triangle should be adjusted to your taste.
<nowiki>*</nowiki>Please note that this method is no longer necessary to use as Liam's FFT can offer this level of quality with less effort.
[[Category:User experience]]
[[Category:User experience]]
51

edits