Garble Marvel 1.05 update: voice synthesizer with source
Posted: Sat Dec 10, 2011 10:42 pm
Well, to be precise, Garble Marvel generates a sequence of voice-like utterances (with an emphasis on vowel-like inflexions) according to user settings.
Hours of fun and could even be useful for your music productions
Thanks to the purebasic community here who've helped me out on some coding questions along the way.
I've included in the zip the source files, since the code practically demonstrates a variety of audio synthesis and processing algorithms (synthesize a saw wave, filter it, pass it through 3 parallel resonators, apply gaussian envelope to the sound, apply chorus, low/band pass filtering, a multitap delayline, amplitude modulation etc) so the project would be useful for all those seeking to roll their own audio apps. Feel free to evolve/build on the app, just 'keep me in the loop'
Actually, if anyone can provide tips as to how to opensource this on sourceforge or something similar, I'd be grateful.
So far, I've tested the .exe on win 2000, win XP and win 7, and appears to work OK on those. Feel free to compile on other platforms, and let me know how you go.
If you just want to run it, plonk the exe and portaudio dll in the zip into a directory, and execute the exe. If you want to load the project, unzip all the files into a directory, and double-click garblemarvel101.pb.

Here's an example of its output:
http://soundcloud.com/doctornash/garblemarvel101
And here's the download:
http://www.mediafire.com/?ecrp36nn2u92iac
For those wanting more info first, here's what the Help of the app says:
*Press the 'speaking face' button to generate your garble
*Your generated garble will repeat if you tick the Repeat checkbox and then press the 'speaking face' button
*Select File>Save to save your garble sequence, and File>Open to load it back in
Note: Once you load a file, the Repeat checkbox will be auto-ticked. If you leave it ticked and then press
the 'speaking face' button, the loaded file will play, otherwise a new garble sequence will be generated
Also, please note that this file is not a standard audio file playable in a media player
*Duration slider: adjusts the duration of garble from a fraction of a second to a few seconds
*Frq From And Frq To sliders: sets the pitch range of the generated garble. All garble segments will be of a note pitch
randomly selected from within this range
*Num Of Sgmts: number of discrete voice segments in your garble sequence
*Min Sgmt Length: the minimum length of any voice segment in your garble sequence
Note: Garble Marvel uses a 'brute force' technique to satisfy the specified number of segments and minimum segment
length in the sequence duration. If Garble Marvel is unable to create a sequence fitting the criteria after a few seconds
of calculation, it will automatically adjust the Duration slider to a level allowing a sequence to be generated. You have
a good chance of your criteria being met if you do not push both the minimum segment length and number of segments
sliders to near maximum for long duration sequences
*Env: adjusts the bell-shaped level envelope imposed on each voice segment. The shape will vary from 'squished'
to 'streteched out'. Useful for smoothing the transition between segments, or simply use as an effect
*Effects on segments: If you tick an effect in this group, the effect will get randomly applied to segments in your sequence
*Filter: randomly applies bandpass and low pass filters to segments
*Metallic: randomly applies a multi-tap delay line with very short delay duration to segments
*Chorus: randomly 'harmonizes' segments. The extent of harmonization can be adjusted with the slider. At extreme settings,
the chorus will transofrm to a 'warping effect' rather than a harmonization
*Wobble: randomly applies tremolo to segments. The tremolo rate can be adjusted with the slider. At extreme settings,
the tremolo will sound more like a ring modulator effect
Hours of fun and could even be useful for your music productions

Thanks to the purebasic community here who've helped me out on some coding questions along the way.
I've included in the zip the source files, since the code practically demonstrates a variety of audio synthesis and processing algorithms (synthesize a saw wave, filter it, pass it through 3 parallel resonators, apply gaussian envelope to the sound, apply chorus, low/band pass filtering, a multitap delayline, amplitude modulation etc) so the project would be useful for all those seeking to roll their own audio apps. Feel free to evolve/build on the app, just 'keep me in the loop'

So far, I've tested the .exe on win 2000, win XP and win 7, and appears to work OK on those. Feel free to compile on other platforms, and let me know how you go.
If you just want to run it, plonk the exe and portaudio dll in the zip into a directory, and execute the exe. If you want to load the project, unzip all the files into a directory, and double-click garblemarvel101.pb.

Here's an example of its output:
http://soundcloud.com/doctornash/garblemarvel101
And here's the download:
http://www.mediafire.com/?ecrp36nn2u92iac
For those wanting more info first, here's what the Help of the app says:
*Press the 'speaking face' button to generate your garble
*Your generated garble will repeat if you tick the Repeat checkbox and then press the 'speaking face' button
*Select File>Save to save your garble sequence, and File>Open to load it back in
Note: Once you load a file, the Repeat checkbox will be auto-ticked. If you leave it ticked and then press
the 'speaking face' button, the loaded file will play, otherwise a new garble sequence will be generated
Also, please note that this file is not a standard audio file playable in a media player
*Duration slider: adjusts the duration of garble from a fraction of a second to a few seconds
*Frq From And Frq To sliders: sets the pitch range of the generated garble. All garble segments will be of a note pitch
randomly selected from within this range
*Num Of Sgmts: number of discrete voice segments in your garble sequence
*Min Sgmt Length: the minimum length of any voice segment in your garble sequence
Note: Garble Marvel uses a 'brute force' technique to satisfy the specified number of segments and minimum segment
length in the sequence duration. If Garble Marvel is unable to create a sequence fitting the criteria after a few seconds
of calculation, it will automatically adjust the Duration slider to a level allowing a sequence to be generated. You have
a good chance of your criteria being met if you do not push both the minimum segment length and number of segments
sliders to near maximum for long duration sequences
*Env: adjusts the bell-shaped level envelope imposed on each voice segment. The shape will vary from 'squished'
to 'streteched out'. Useful for smoothing the transition between segments, or simply use as an effect
*Effects on segments: If you tick an effect in this group, the effect will get randomly applied to segments in your sequence
*Filter: randomly applies bandpass and low pass filters to segments
*Metallic: randomly applies a multi-tap delay line with very short delay duration to segments
*Chorus: randomly 'harmonizes' segments. The extent of harmonization can be adjusted with the slider. At extreme settings,
the chorus will transofrm to a 'warping effect' rather than a harmonization
*Wobble: randomly applies tremolo to segments. The tremolo rate can be adjusted with the slider. At extreme settings,
the tremolo will sound more like a ring modulator effect