CoM – Il Blog di Carlo Becchi Compreresti un Raggio della Morte usato, da quest'uomo?

16feb/0933

Audacity+PulseAudio+Ubuntu : problemi addio! (o quasi…)

Sottotitolo: La Fine di un Incubo.

Antefatto: l'introduzione forzata di PulseAudio come server audio (ma dai?) di default su Ubuntu 8.04 e 8.10 (e Fedora e molte altre distro) si è rivelato un vero e proprio dramma per podcaster e amatori del taglia e cuci sonoro che utilizzano Linux.

Audacity, uno dei più diffusi e semplici editor audio disponibili per Linux (ma anche per Windows e Mac), a causa delle librerie PortAudio, mal si sposava con Pulse e dei molti workaround proposti nussuno ha mai davvero funzionato, almeno nel mio caso. Di fatto usare Audacity su Linux è stato un inferno per quasi un anno.

Poi arrivò lui. Un santo. David Henningsson.

Citando le sue parole:

"Kevin Kofler ha sviluppato una patch che permette ad audacity di usare per backend dispositivi non-mmap, come PulseAudio. Ho testato questa patch, l'ho modificata leggermente e ne ho fatto un pacchetto per Ubuntu 8.10.

Se volete provarla, il metodo più semplice è installarare la versione modificata dal mio ppa:

https://launchpad.net/~diwic/+archive/ppa "

Inutile dire che non mi sembrava neanche vero!

Ho aggiunto immediatamente il Personal Package Archive (ppa) di David alla lista dei miei repositories, e ho aggiornato audacity.

I primi test sono davvero confortanti, nonostante mi sia limitato ad alcuni esperimenti, la differenza salta subito all'occhio. Per prima cosa compaiono due nuovi device "ALSA: pulse" per ingressi ed uscite:

Il pannello di audacity con PulseAudio su Ubuntu 8.10

Inoltre registrazione e riproduzione, che dai primi test avvengono correttamente e senza conflitti, passano  attraverso il pannello di controllo di PulseAudio (e quindi attraverso il server), come si vede dalla seguente immagine, che si può ingrandire con un click:

Audacity e PulseAudio finalmente vanno d'accordo in Ubuntu!

Ho provato la registrazione dal microfono (via mixer hardware) e non ho avuto problemi, se non un po' di clipping che si attenua lavorando con il mixer (software). Registrare direttamente da un flusso come un video di youtube restituisce un volume veramente molto basso, e ho avuto problemi anche a registrare da Skype (la registrazione è accellerata) ma  Skype su questa macchina fa i capricci, tanto che l'ingresso pulse non funziona e al contrario dell'uscita, devo farlo puntare direttamente ad ALSA.

Indipendentemente da ciò, questa è una grande notizia, poter tornare ad usare Audacity senza troppi problemi è un sogno che si avvera.

La patch è già stata inclusa in Jaunty, quindi Ubuntu 9.04 non soffrirà di questi problemi.

[Fonte: launchpad]

Commenti (33) Trackback (0)
  1. Io ODIO PulseAudio, che assolutamente non fa funzionare la mia scheda audio. Ho dovuto usare infatti un workaround per farla girare su ALSA.
    Speriamo che funzioni ancora su Ubuntu 9.04, altrimenti passerò a KDE che non fa uso di PulseAudio (per ora).

  2. Ciao Carlo, beh, un ottimo passo avanti per quello che sulla carta sembra una gran figata (Pulse), ma che non ho mai avuto modo di usare. Invece ho avuto il problema con l’upgrade alla 8,10, tanto che sono dovuto tornare alla 8.04, perchè l’audio gracchiava. Ho provato a chiedere sulla mailing list, sui forum, ma benchè non sia stato l’unico ad avere problemi audio, sembra che nessuno abbia una risposta. Tu hai qualche idea?

  3. @Ciso: condivido il tuo disappunto, PulseAudio fino ad ora mi ha creato solo problemi e nessun vantaggio.

    @Francis: se sei ancora alla 8.04 a questo punto ti consiglio di attendere la 9.04 per vedere se le cose migliorano.

    Se il problema è in riproduzione da tutte le sorgenti, così su due piedi potrei consigliarti di attivare tutti i controlli del mixer, anche quelli nascosti di default e abbassarli al minimo, se la distorsione non si presenta più allora puoi alzarli uno per uno fino a trovare quello che la introduce.
    Se invece la distorsione è ancora presente, allora è un problema di diverso tipo.

  4. Ciao Carlo, si penso che aspetterò aprile, anche se mi sento coraggioso e proverò con Lenny. Debian era stata la prima distro che provai e non mi ci ritrovai troppo, ma oggi mi sento coraggioso, per cui oserò… Ciao!

  5. ciao.Ho appena attacato un mixer al mio pc, come faccio a registrare con audacity?Perchè stò provando a regiastrare e la traccia non segna nulla.

  6. Se sei su Ubuntu, probabilmente la traccia di default per la registrazione è quella del microfono, e visto che mi parli di mixer immagino tu sia collegato al line-in.

    Apri il mixer di ubuntu e cambia l’impostazione da Microfono a “Canale in”, se l’opzione non è presente, attivala dalle preferenze.

  7. mi sai spiegare chi riceve una telefonata da skype a fisso o cell sente male o a tratti uso ubuntu 8.04

  8. As a Newbie, I am continuously searching online for articles that can aid me. Thank you dkfackkdaeda

  9. My brother recommended I would possibly like this blog.
    He was entirely right. This submit truly made my day.
    You cann’t consider simply how a lot time I had spent for this information! Thank you!

  10. In previous write-up we stood for application for Clash of Clans Our application for Clash of Clans gives unrestricted gems for a user.

  11. Options for immediate response consist of dialing 911 or contacting the particular
    National Poison Control Center.

  12. 54 55 56 A followup survey in 2009 studied the buy habits
    and content preferences of individuals in the group.

  13. Anything done in order to excess causes problems including
    workout.

  14. Players with this type of addiction enjoy producing and
    temporarily becoming an online personality.

  15. There are a large number of ways that you can embark on an internet marketing campaign and this article is not the complete list of those.
    If a reader is searching for an article about internet home business, what
    ever they are reading should have the actual
    words “internet home business” throughout the piece.

    Therefore, it is very important to make sure that the ad is created in the right way, which suits your business.

  16. Truly when someone doesn’t know then its up to
    other visitors that they will assist, so here it happens.

  17. Excellent goods from you, man. I’ve understand your stuff previous to and you are just extremely
    magnificent. I really like what you’ve acquired here, certainly like what you are stating and the way in which you
    say it. You make it enjoyable and you still care for to keep it smart.
    I cant wait to read much more from you. This is actually a tremendous site.

  18. Look and listen for host Jay Seidl on Music Mix USA. You’d be amazed (or maybe you wouldn’t) at how many home enthusiasts launch themselves body and soul into mixing their
    tracks, enthusiastically but with no real sense of direction. Now that you’ve got the things you need, you could start.

  19. TҺiѕ is very intereѕting, Уߋu arе a ѵery skilled blogger.
    Ӏ’ve joined your ffeed and ⅼook forward to
    seeking more of ʏߋur ցreat post. Аlso, I’ve
    shared үour webb site inn my social networks!

  20. Very interesting info!Perfect just what I was searching for!

  21. ハロー。
    ネットショッピングってめちゃくちゃ簡単になりましたね。
    何でも買えて、次の日には届けてくれるし。
    今では家までもネット通販で契約できる時代になりました。
    そんなネットでの買い物ですが、TVのコマーシャルと関連して電話で探す人もいるようですね。CMでフリーコールを音楽に乗せて宣伝していたりすると、知らずしらずのうちにその曲を口ずさんでいたり。
    でも、肝心なときにその番号が出てこなかったり、何のサービスだったか忘れていたりすることもあります。
    そんなときにあると嬉しいのがフリーダイヤルとウェブサイトのマッチングサイト。これがあるともうネットショッピングに困ることもありませんね。

  22. こんばんは。
    お買い物はどきどきすることですよね。
    何も考えず、いくら持っているかも考えずに買い物ができたらどれほど楽しいだろうかと思います。でも、実際にはそんなことが不可能だから、がんばって金額を比較して、サービスを調べたりしますよね。
    こんなことをやるのは昔はとてもめんどくさいことでしたが、今ではとてもたやすいことです。
    検索サイトで比較と検索すればいくらでも欲しいサービスを比べているウェブサイトに巡りあうことができます。本当に良い物を便利に安価で手に入れることができるようになりましたね。

  23. こんにちは。
    買い物って嬉しいですよね。
    普通にウェブサイトから不動産でさえ購入できる時代になると何を買うか探すのも楽しいですし、いろんな商品を比較するのも全然苦労しませんよね。
    電話なんてしなくてもウェブサイトからちょいちょいと入力してクレカで支払うだけで後は待っていれば届く。
    部屋を空けていてもコンビニで受け取ることもできるし、買い物なんて行く必要が無くなるんじゃないかと思います。
    ここまで楽になるとネットショッピングのないショッピングなんて考えられないですね。これ以上、あとは何が楽ちんになっていくのでしょう。

  24. 昔からかにに目がなく、旅行は美味しいかにがあるかを基準に決めるほどですが、先日、かに通販なるものがどんなものか試すためという口実でかにを頼んでみました。

    アンケートの中でプレゼントなどにつられて個人情報を答えていたりすると、幾日後かに、宅配便でたくさんのかにが法外な請求書つきで届きます。返品も問い合わせも出来ず、結局はお金を払うしかありません。

    意外に似通っていることが多く、基準より大きすぎるとか、味は十分美味しくてもちょっと小さいとそれだけではじかれるのです。商品として並べてから、バランスが合わなくて外されることもあるようです。

  25. Definitely believe that which you stated. Your favorite justification seemed to be on the net the easiest thing
    to be aware of. I say to you, I definitely get
    annoyed while people consider worries that they plainly do not know about.

    You managed to hit the nail upon the top and defined out the whole thing
    without having side effect , people could take a signal.
    Will probably be back to get more. Thanks

  26. [url=http://levitra-20mg-priceof.online/]levitra-20mg-priceof.online.ankor[/url] pricespharmacy-canadian.online.ankor http://buy-amoxicillin-amoxil.online/

  27. Amazing! Its in fact amazing paragraph, I have got much clear idea
    on the topic of from this post.

  28. Thanks for sharing such a pleasant thought, piece of writing is good, thats why
    i have read it entirely

  29. I wanted to compose you that very little note in order to give thanks as before about the incredible strategies you have shown above. It’s certainly remarkably generous with you to supply unhampered just what a lot of people would’ve marketed for an electronic book to earn some dough on their own, most notably seeing that you could possibly have tried it if you ever considered necessary. Those guidelines additionally served as a good way to understand that someone else have the identical passion just like mine to find out somewhat more on the subject of this condition. I’m certain there are a lot more pleasant periods up front for people who examine your blog post.

  30. Wow, that’s what I was looking for, what a data! existing here at this blog, thanks admin of this web site.

  31. Fabulous, what a webpage it is! This weblog gives useful information to us,
    keep it up.

  32. It’s an awesome article in support of all the online users;
    they will take benefit from it I am sure.


Lascia un commento


Ancora nessun trackback.

Rss Feed Tweeter button Facebook button Youtube button