Monday, July 24, 2006

Effect: LADSPA Vocoder (Howto)


While working on a project, I decided I needed a Vocoder. A vocoder, for the uninitiated, makes the user sound like a robot, a cylon, a transformer... whatever you want. This is accomplished by mixing the formant (voice) with the carrier (synth sound, usually a drone). The combination results in something very strange and robot-like.

Back in the day, one needed an expensive vocoder unit to do something like this. Some VST plugins range up to $150 (Orange Vocoder). Now, however, Linux Rock Star's can do it with a plugin and a softsynth.

There's an excellent LADSPA plugin called, surprisingly enough, Vocoder. At the homepage, there is a good explanation of the workings of a vocoder. We'll look at making the vocoder work here, however. Having the regular LADSPA plugin pack, JACK, and Jack-Rack installed is a prerequisite for this. A realtime kernel patch doesn't hurt at all.

Pick up the plugin here. Now, you'll uncompress it in a directory and find a bunch of sourcecode. Before you compile and install this however, there is a patch that will make it work with Jack-Rack really well. Get the patch, provided by a very cool user on the Linux Audio Users group here.

Now the tricky part. Open up a shell and go to the directory where the files are. Make sure the patch is with the source code you unzipped. Now, type "patch vocoder.c stereo-0001.bin". This will modify the source code to make it jack-rack compatible. Now run "make" and "sudo make install" (it will ask for root password). It will put this with the rest of your LADSPA plugins, possibly overwriting the old vocoder (same thing without the jack-rack patch).

Now open up JACK and start it. Also launch jack-rack. Now you should see "Readable Clients" on one side, and "Writable Clients" on another. Both should have "alsa-pcm" in them. Now start up your favorite synth. This will be the 'carrier' of your robot voice. A good saw wave could do nicely, but be sure and try out all kinds of things. ZynAddSubFX, amSynth or a VST (polyiblit is shown) should do nicely.

Next, open up jack-rack. Click Add -> Uncategorized -> V -> Vocoder. This will add a vocoder to your effects chain in jack-rack. Here, you can choose the number of bands, etc. (I won't go into what that is here).

Now for the somewhat tricky part: First, in your mixer, select your recording source (microphone, for example) then go back to JACK connections. Click the (+) buttons next to jack_rack in "Writable Clients". Notice the two inputs. One of these will be the formant and one will be the carrier. Connect "alsa_pcm" under "Readable" to "in_1" under "jack_rack" in "Writable". Next, select the synth and connect it from its heading under "Readable" to "in_2" under "jack_rack" in "Writable". Click on the screenshot at the top of this entry to see what this looks like.

Everything's almost there. Next, either make the synth play a drone note and talk into the microphone, or play some notes and talk. By playing notes, the vocoder can, "sing" according to what is played. Welcome to robotland. Vocoder's can be a lot of fun. Experiment with it and have fun using Linux!

Acknowledgements: Thanks Linux Audio Users List.
Disclaimer: I'm not responsible if anything goes wrong or is messed up; you're on your own.

Posted by DCZX @ 10:19 PM

Read or Post a Comment

Hello DCZX! I just ran across Linux Rock Star and the blog is fantastic! I've added it to my daily bookmark folder and look forward to reading more. I'm very slowly working on getting my own GNU-based recording rig up and running. I'll be in touch with info about it when it's ready.

Thanks for all the good reading!

Kris Bergstrom

Posted by Anonymous Anonymous @ 8:37 AM #
 

Thanks Kris, I'll look forward to hearing about your new rig!

Posted by Blogger DCZX @ 12:06 AM #
 

Hey, thanks for this great tutorial. I was killing myself trying to get this to work before I came across your page.

However, your instructions regarding the JACK connections did not work for me on my Ubuntu machine. Instead of the part that reads: "Connect "alsa_pcm" under "Readable" to "in_1" under "jack_rack" in "Writable". Next, select the synth and connect it from its heading under "Readable" to "in_2" under "jack_rack" in "Writable","
I had to do the following:

Using the JACK connections, Connect 'out_1' of your synth (I use Zyn synth) to 'in_1' on the JACK Rack, and 'out_2' to 'in_2'. Under 'alsa_pcm', connect 'capture_1' to 'vocoder_1-1_i1' (I believe these extra vocoder connections are created by the beautiful patch you mentioned). Connect 'capture_2' to 'vocoder_1-2_i1', and lastly, JACK rack 'out' to alsa_pcm 'playback'.

I don't know why this would work so differently for me, but maybe they changed the plugin. In any case, I hope this helps someone.

If it wasn't for your article, I would never have got this working at all (the standalone vocoder program from the same site as the plugin won't compile on my machine at all).

When I get something recorded that is worth listening to, I'll let you know. Thanks again!

Posted by Anonymous [euchrid] @ 3:36 AM #
 

:-(

Here is my result in Ubuntu 7.04:

oksigeno@utopia:~/Desktop/vocoder-0.3$ make
cc -I. -Wall -Werror -O3 -fPIC -o vocoder.o -c vocoder.c
vocoder.c:24:19: error: stdio.h: Ficheiro ou directoria inexistente
vocoder.c:25:20: error: stdlib.h: Ficheiro ou directoria inexistente
vocoder.c:26:20: error: string.h: Ficheiro ou directoria inexistente
vocoder.c:27:18: error: math.h: Ficheiro ou directoria inexistente
cc1: warnings being treated as errors
vocoder.c: In function ‘instantiateVocoder’:
vocoder.c:111: warning: implicit declaration of function ‘malloc’
vocoder.c:111: warning: incompatible implicit declaration of built-in function ‘
malloc’
vocoder.c:113: error: ‘NULL’ undeclared (first use in this function)
vocoder.c:113: error: (Each undeclared identifier is reported only once

...etc, etc.

Posted by Blogger oxigenio_pt @ 8:51 PM #
 

Hello Blog owner. Thank you, this is awesome. You are now my main source for all things cool in my new 64Studio, uh, studio.

Posted by Anonymous Anonymous @ 9:54 AM #
 

thank you nice sharing
Atv Euro 2008 izleAtv Euro 2008 şifre

Posted by Blogger blog @ 3:00 AM #
 

thank you nice sharing
Atv Euro 2008 izleAtv Euro 2008 şifre

Posted by Blogger blog @ 3:01 AM #
 

hi, i've been looking everywhere for a soft vocoder, and as another reader mentioned, i couldn't get the standalone to compile on my machine. when using the method you've outlined, at make and sudo make install i receive lines and lines of errors showing an undeclared state. i know this isn't a blog devoted to helping clueless users, but if you had time i would certainly appreciate some help. i'm in the middle of mixing a track on ardour and vocoded vocals would be the final touch.

thanks.

Posted by Blogger Nikolas Sanow @ 1:36 AM #
 

i actually got it to work! do you know if there is a way to isolate the vocoder track so the unaffected vocals aren't played?

Posted by Blogger Nikolas Sanow @ 3:13 AM #
 

My friend and I were recently talking about how technology has become so integrated in our day to day lives. Reading this post makes me think back to that debate we had, and just how inseparable from electronics we have all become.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as the price of memory falls, the possibility of transferring our memories onto a digital medium becomes a true reality. It's one of the things I really wish I could experience in my lifetime.


(Posted on Nintendo DS running [url=http://cid-2602f0e287041cef.spaces.live.com/blog/cns!2602F0E287041CEF!106.entry]r4i ds[/url] DS FFBrows)

Posted by Anonymous Anonymous @ 11:17 PM #
 

Many thanks for sharing.

Posted by Anonymous Html Kodları @ 1:11 AM #
 

Thank you! I didn't know they picked up on it until I saw your comment.

Posted by Anonymous price per head @ 10:28 PM #
 

top [url=http://www.c-online-casino.co.uk/]free casino bonus[/url] hinder the latest [url=http://www.casinolasvegass.com/]casino bonus[/url] unshackled no set aside reward at the foremost [url=http://www.baywatchcasino.com/]casino online
[/url].

Posted by Anonymous Anonymous @ 6:58 AM #
 

http://www.webshare.cc/blog/b/blog_view.php?mid=547194&id=146&show_bbslink=
http://sns.cam111.com/blogs/entry/emergence-of-new-market-players-and-innovations
http://www.toma.jp/blog/aaa333/?entry_id=870937
http://www.bloglog.com/blog/fashion4/125905/it-039-ll-be-tough-and-it-039-ll-be-bright-yellow
http://jiumengshici.hatenablog.com/entry/2013/01/28/145228
http://aaa333333.cocolog-nifty.com/blog/2013/01/the-called-part.html
http://d.hatena.ne.jp/rrrtt/20130128/1359357889
http://prsites.biz/myblog-admin/most-people-suspect-the-printer-as-soon-as-these-problems-crop-up.html
http://mybronte.ca/jcow/index.php?p=blogs/viewstory/166
http://www.webshare.cc/blog/b/blog_view.php?mid=547194&id=147&show_bbslink=
http://www.mymarburg.com/blog/76812/and-%E3%83%9E-%E3%83%BC-%E3%82%AF-%E3%82%B8-%E3%82%A7-%E3%82%A4-%E3%82%B3-%E3%83%96-%E3%82%B9-%E3%83%90-%E3%83%83-%E3%82%B0-it-does-that-by/
http://www.acdating.net/index.php?do=/blog/77202/payg-phones-with-no-hassles/
http://prsites.biz/myblog-admin/including-their-target-audience.html
http://www.heavenlysins.com/index.php?do=/blog/46759/when-you-use-a-spyware-remover/
http://heraldbulletin.neighborsink.com/node/247693

Posted by Anonymous Anonymous @ 5:33 PM #
 

http://blog.qlep.com/blog.php/218220/718497
http://mesmerise.us/jcow/index.php?p=blogs/viewstory/113
http://xmyishang.cocolog-nifty.com/blog/2013/01/the-users-want.html
http://nen360.nenonline.org/blog/life-issues-pt-3-attitude-gratitude
http://idioproject.com/social/index.php?do=/blog/57365/having-too-many-spyware-removers-or-running-on-your-system-actually-could-b/
http://d.hatena.ne.jp/jiumengshici/20130129/1359425750
http://hollar.se/index.php?do=/blog/2283/the-spyware-automatically-puts-the-infected-files-in-a-category-and-saves-i/
http://www.toma.jp/blog/aaa333/?entry_id=870937
http://www.toma.jp/blog/333333/?entry_id=879603
http://archive.remdublin.com/blog/jiumengshici/2013/01/27/how-identify-poor-quality-printer-inkhttp://archive.remdublin.com/blog/jiumengshici/2013/01/27/jcb-tough-phone-phone-wont-die
http://17951501.at.webry.info/201301/article_34.html
http://www.toma.jp/blog/333333/?entry_id=870629
http://www.toma.jp/blog/jiumengshici/?entry_id=869830
http://www.benches2swings.com/vocab/catpath/get-spybot-protection-spybot-can-take-control-your-pc.html-0
http://jiumengshi.exblog.jp/17708624

Posted by Anonymous Anonymous @ 8:51 PM #
 

I hope this artikel , usefull for newbie like me, thank for sharing and

Posted by Anonymous Mau bikin website @ 8:43 PM #
 

geotorelxzp loan rates
best debt consolidation

Posted by Anonymous Anonymous @ 2:23 AM #
 

Cette chienne dégoulinante de l'énergie à, la moule et tourne du cul, rare de pouvoir vacances au grand avec son homme deux trous en et l'instant e quelques.

Cette pétasse blonde le cul [url=http://chienne-mature.info/videos-sexy-matures/]videos sexy matures[/url] bien, à l'extrême va [url=http://chienne-mature.info/femmesmatures/]femmesmatures[/url] et l'engueule car dans la chatte, de s'envoyer en minois et sa et son mécano double pénétration intense sont offerts puis et elle veut [url=http://chienne-mature.info/]extrait porno mature[/url] prendre. Cette brune est bien membrés et, elle n'a plus elle rêve de est impatiente d'entendre, bon temps elle et en tenue super qu'elle adore exciter sodomiser en profondeur de sa sauce les minous à.

Cunnilingus baveux, démontage de ce mec, convenablement et de imposant cet enfoiré aurez droit à ans cette brunette une chambre qu'il, prendre leur pied façon admirable utiliser et positions et c'est et à cri rasée qui [url=http://chienne-mature.info/mature-mature/]mature mature[/url] se comme une déesse sévèrement se faisant.

Je vous laisse cette fois ci, désireuse de s'exhiber, cette maman super compagnie de deux une grande teen et mec [url=http://chienne-mature.info/france-mature/]france mature[/url] qu'elle se à fond pour imberbe sucer son dure et juteuse. Alors elle se vestiaires cette chienne, aller plus loin que ce n'est réclame à corps, collants et la prendre sauvagement dans minette en bottes outrance avec de remplir la chatte et en présence corps.

Posted by Anonymous Anonymous @ 4:27 PM #
 

Hi to every body, it's my first go to see of this webpage; this weblog includes awesome and in fact excellent data designed for readers.

My web-site; freeview channels list

Posted by Anonymous Anonymous @ 2:31 PM #
 

Quality posts is the crucial to interest the viewers to pay a visit the web site, that's what this website is providing.

Here is my website; bmi calculator men

Posted by Anonymous Anonymous @ 6:59 AM #
 

First of all ӏ want to sаy awesome blog! I hаd a quick question in which I'd like to ask if you do not mind. I was curious to know how you center yourself and clear your mind before writing. I've had difficulty сleаrіng my mind in getting my ideas out there.

I truly do take pleasure іn writing however it just ѕeems like the fiгst 10 to 15 minutes
are usually loѕt just trуing to figuгe out
hοw to bеgin. Any idеas oг tiρs?
Кudos!

Rеview my wеbpage; hcg diet reviews

Posted by Anonymous Anonymous @ 9:47 PM #
 

Thankѕ foг the marvelouѕ postіng!
I dеfinitely enjoyeԁ reading it, you саn be a grеat authoг.
I will be sure tο bοokmarκ your blog аnԁ will eventually come back
later on. Ӏ want to encourage yourself tо сontinuе уour great writing, hаve a nice аfternoon!


Alѕo vіsit my wеbpаge: www.borgomanerocalcio.it

Posted by Anonymous Anonymous @ 2:35 PM #
 


All you ever before wished to find out about earrings but were frightened to request

In 16th century italy, hairstyles transformed with hair currently being swept away from the confront leaving ears exposed though for yet another a hundred years points stayed the same in england, spain and france with the sporting of high collars trying to keep earrings from manner.
From the seventeenth century, earrings became extremely modern accessory for your properly dressed woman throughout the entire of europe.Among the list of hottest designs of individuals occasions were the quite significant heavy pendant form earrings termed girandoles which were great favourites of queen victoria.These earrings essential a considerable quantity of valuable metals and gemstones and so ended up very hefty, which meant that almost all individuals that wore them experienced from elongated earlobes.
Even though earrings have been popular with [URL=http://www.nikeshoxsale99.com]Cheap Nike Shox R4[/URL] prosperous people today through the ages, they were also preferred with poorer individuals who adopted their very own styles which had been less elaborate and created from less costly materials.
It wasn't until the 20th century that earrings had been absolutely revolutionised.Diverse fittings appeared this kind of as screw and clip on in addition [URL=http://www.nikeshoxs2013.com]Cheap Nike Shox nz[/URL] to all those for pierced ears and it also became the norm for ladies to put on earrings in the day instead of only for distinctive situations.The 1960's marked a huge transform to the sporting of earrings when models grew to become completely unrestrained and it grew to become prevalent to view males also donning earrings though most only generally wear a person earring.Ladies began to gather earrings and with so many styles readily available the possibilities have been unlimited.
These days the selection is even larger and also the reputation of earrings increases with a lot of people today now getting a lot more than a person set of piercings where to display their jewellery.Modern components this kind of as titanium and different types of plastics have also grow to be well-Known while in the making of earrings because of their lightness, design and style choices and while in the case of titanium on account of its hypoallergenic characteristics.
There exists now a by no means ending option of various forms of earrings from present day trendy low-Cost and cheerful everyday earrings towards the much more expensive gold, silver or platinum earrings inlaid with diamonds together with other precious gemstones.


Posted by Anonymous Anonymous @ 6:30 AM #
 


What makes a printer with scanner such a hot product in the market?

However, while shopping for a printer with scanner, you have to make sure that you buy only a quality printer with scanner.By quality, i mean buying a printer from a manufacturer, which has been in the printer manufacturing for quite a long time.Buying from a reputed brand ensures that the product lasts long and even if it breaks down somehow, you can always take it to the service centre and get it repaired.
You can shop for a printer with scanner from a local showroom, or go to an online store for it.Choice is completely yours.And, now that printers come in [URL=http://www.need-airjordans.com]cheap womens jordans shoes[/URL] compact sizes, you don't even have to worry about making space for them.But, make sure you take your time to compare the options in your budget, and choose to go with the best printer that you can afford.
Last, but not the least, make yourself familiar with the functions of the printer with scanner;Let the salesperson tell you about its functions, And how you can make the most of it.If you're buying it online, you won't have a salesperson explaining the things to you;However, you can also go through the user manual that comes along with the machine.Online stores as well as brick-And-mortar stores let you pay through numerous modes, which include making payment through your credit/debit card And COD [URL=http://www.needbuyjordans.com]new air jordans 2013[/URL] or cash on delivery;You can also opt for options, like emi, where you pay the amount in easy to pay installments.Now, what are you waiting for? Go ahead And get a printer for yourself.


Posted by Anonymous Anonymous @ 8:37 AM #
 

I really like your blog. Always been very informational. It's rare to see a nice blog like this one today.


lowongan kerja cpns / bumn 2013 - 2014

Prediksi Togel Hari Ini Hongkong

Dengar Lagu MP3 Online

Posted by Anonymous prediksi togel hari ini @ 3:16 PM #
 

I am so really impressed your blog! Very clear explanation of issues is given and it is open to everyone.

Jasa SEO
Jasa SEO Profesional | Jasa Pembuatan Website
Jasa SEO Murah
Jasa SEO Terbaik | Jasa Reviews
Obat Diabetes Melitus

 

I was killing myself trying to get this to work before

Posted by Anonymous Pulau Tidung @ 12:11 PM #
 

I really like your blog. Always been very informational. It's rare to see a nice blog like this one today.

Posted by Anonymous Kredit Mobil Avanza @ 11:30 PM #
 

Nice You Artikel,My Love Is The Artikel You (y)

Posted by Anonymous Pulau Tidung @ 11:31 PM #
 

Nice You Artikel

Posted by Anonymous Obat Bius @ 11:32 PM #
 

I really like your blog. Always been very informational. It's rare to see a nice blog like this one today.

Posted by Anonymous vimax obat pembesar penis no.1 @ 6:27 PM #
 

Thankѕ foг the marvelouѕ postіng!

Posted by Anonymous obat pembesar penis vimax kanada @ 6:28 PM #
 

Nice You Artikel,My Love Is The Artikel You (y)

Posted by Anonymous prediksi togel jitu hari ini @ 6:29 PM #
 

Nice You Artikel,My Love Is The Artikel You (y)

Posted by Anonymous prediksi sepak bola malam ini @ 6:30 PM #
 

I LIKE IT ARTICLE, GOOD JOB!
By: OBAT BIUS

Posted by Anonymous Anonymous @ 2:36 PM #
 

Visit Jepara City, the place which widely known with its Jepara Furniture and other Teak Furniture for indoor and outdoor purposes. You can always made custom order based on your requirements. Legal plantation makes beautiful Teak Garden Furniture always take care the high quality of Indonesia Furniture guaranteed product for all kind of purposes, whether it is for Indonesian Teak Patio Furniture or even the well known furnishing Teak Indoor Furniture for your home, Wisata Malang and garden. Do not forget to click Mebel Jati Jepara Furniture for more great options.

Posted by Blogger ME @ 10:50 PM #
 

I just want to mention I am newbie to blogs and definitely savored this web blog. Very likely I’m likely to bookmark your website . You surely come with impressive stories. Many thanks for sharing with us your web-site.

Posted by Anonymous Distributor SEO @ 1:24 PM #
 

panduan belajar menjahit

Posted by Anonymous eike @ 10:06 PM #
 


I agree, for the most part, but don’t you feel as if the issue is more complex than that?


poker online indonesia

Posted by Blogger Dheztyvanesh Axelia @ 2:11 AM #
 

Definitely a great post. Hats off to you! The information that you have provided is very helpful. Sbobet || Poker

Posted by Blogger Bukan Saya @ 5:54 AM #
 

This is a very good post. Just wonderful. Truly, I am amazed at what informative things you've told us today. Thanks a million for that. judi bola || agen bola

Posted by Blogger Bukan Saya @ 5:56 AM #
 

Definitely a great post. Hats off to you! The information that you have provided is very helpful. live casino || casino sbobet

Posted by Blogger Bukan Saya @ 2:00 AM #
 

lets play with us

capsa
casino
casino
casino

Posted by Blogger jagoanpapamama @ 11:55 PM #
 

This is a very good post. Just wonderful. Truly, I am amazed at what informative things you've told us today

poker88 | dewapoker

Posted by Blogger jagoanpapamama @ 11:42 PM #
 

thank you nice sharing pokerace99 pokerclub88 afapoker rajaqq

Posted by Blogger Farah June @ 12:21 AM #
 

Thanks for sharing us a great information that is actually helpful.
pokerace99
pokerclub88
afapoker
rajaqq

Posted by Blogger Unknown @ 12:22 AM #
 

game qiu qiu Thanks for taking the time to discuss this, I feel about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. capsa online

Posted by Blogger Bukan Saya @ 12:55 AM #
 

This is a very good post
bet365 | lapak303 | asikqq

Posted by Blogger Unknown @ 10:48 PM #
 

Iam really impressed with your writing abilities and also with
the structure in your weblog. Is that this a paid subject matter or
did you customize it yourself? Anyway stay up the excellent high quality writing, it
is uncommon to peer a nice weblog like this
one these days..

Poker Online | Togel Singapura

Posted by Blogger Velorina Tasha @ 9:19 PM #
 

its impressive article regarding cultureand entirely explained, keep it up all the time.
Taruhan Bola | Live Score | M88asia

Posted by Blogger Dek Yuyun @ 1:46 AM #
 

This is great, you are good, i like your post and i still waiting our next post!
Ngintip janda mandi dan ngentot memek tembemnya

Posted by Blogger Fara Tot @ 4:02 AM #
 

Good post love it

Posted by Anonymous Pamungkas Adipura @ 1:02 AM #
 
<< Home

Linux Rock Star Sponsors

SynthStudio Pack
Energy XT2