[LAD] Clipping outputs
Hi guys, Is it necc. for me to clamp my audio outputs to [-1.0, 1.0]? Somewhere I got it in my head that I need to clip my output signal (float*) to the range [-1.0, 1.0] before sending my audio signals downstream. However, this is a big time waster. When I review other projects for efficient ways to clip... I can't find any.[1] Looks like nobody's doing it. Thanks, Gabriel [1] I found one in ardour, but it looks like it's just for float->int conversion, and (possibly) not even utilized within ardour. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Clipping outputs
Hi, On Thursday 19 August 2010 20:34:57 Gabriel M. Beddingfield wrote: > Is it necc. for me to clamp my audio outputs to [-1.0, 1.0]? > Somewhere I got it in my head that I need to clip my output > signal (float*) to the range [-1.0, 1.0] before sending my > audio signals downstream. No, just send your data out as is. The [-1, 1] limit only applies for jack when the float audio is converted to whatever bitdepth-integer your soundcard uses. Which is why some people have a post-fader limiter in their master channel in ardour during recording/mix (but not during mixdown/export). You should keep in mind that your app sounds better when it stays within [-1, 1] under normal circumstances. But you don't have to force that. Their wont be any losses when your signals go beyond 1 as long as the audio stays within jack. Have fun, Arnold signature.asc Description: This is a digitally signed message part. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Clipping outputs
On Thu, 19 Aug 2010, Arnold Krille wrote: No, just send your data out as is. The [-1, 1] limit only applies for jack when the float audio is converted Thank you! You should keep in mind that your app sounds better when it stays within [-1, 1] under normal circumstances. But you don't have to force that. Their wont be Yes, this is understood. :-) Thanks, Gabriel ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Clipping outputs
Arnold Krille wrote: > No, just send your data out as is. The [-1, 1] limit only applies for jack > when the float audio is converted to whatever bitdepth-integer your soundcard > uses. Not just Jack, any code path where float data is converted to a finite width integer. Regardless of where the float to integer conversion takes place (Jack, Alsa etc) it is at the conversion stage that the clipping needs to be done. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] wiki.linuxaudio.org, still help needed ?
Hi Carlo, Sorry late reply - I'm on holiday. Yes, the call is still actual. We're looking for both: regular content maintainers, as well as help with styling the site. As for style: there best contender so far is the "experimental" Theme; switch it at http://wiki.linuxaudio.org/wiki/user/rgareus Alas it's unfinished and partly invalid CSS/JS to be cleaned up :/ If you have a good idea: Please make a mockup or outline it. The wiki is a dokuwiki.org. Please stay tuned. I'll be back online regularly around end of August. Cheers! robin On 08/16/2010 01:54 PM, Carlo Ascani wrote: > I just saw the announce on http://wiki.linuxaudio.org/ > "We are looking for front-end developers, web-designers and > wiki-administrators to join in." > > What kind of help do you need? > I mean, different from editing wiki content. > I could help with little graphics or web-design. > > You could find me on freenode as 'carloratm' > > Btw, i've just done these sites: > http://gnufunk.org > http://radio.gnufunk.org > > > Cheers > > ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] wiki.linuxaudio.org, still help needed ?
On 08/16/2010 06:57 PM, Niels Mayer wrote: > What about adding a more modern Wiki/CMS platform -- http://xwiki.org > -- allowing WYSIWYG editing in your browser: > http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor . > Also, useful for public collaborative documentation, the new > annotations feature: > http://code.xwiki.org/xwiki/bin/view/Applications/AnnotationsApplication > . Xwiki has extensive import/export features. Aside from the usual > export as pdf/html/print etc, you can also use Xwiki to run openoffice > (in server mode) to import documents written in word/OOo/etc/ and > easily convert them to wiki documents: > http://code.xwiki.org/xwiki/bin/view/Applications/OfficeImporterApplication Nice, but what would be the use-cases for those features on linuxaudio.org? Basically we recommend flossmanuals.net for collaborative documentation. It'd also be a bit of work to [write a script to] convert the ~4000 existing wiki pages (mostly apps) to the xwiki; and write a custom app (or plugin) to visualize tags/categories like eg. http://wiki.linuxaudio.org/apps/categories/jack Besides that, I'm somewhat averse to installing JAVA on the LAO server. > It's quite a bit more than a wiki app, you can write applications with > it as well. Here's some of mine: > http://nielsmayer.com/xwiki/bin/view/Exhibit/NPRpods3 > (an earlier version: > http://nielsmayer.com/xwiki/bin/view/Timeline/NprTimeline && > http://nielsmayer.com/xwiki/bin/view/Timeline/KcrwTimeline before I > switched to http://www.simile-widgets.org/exhibit/ e.g. > http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents4 ). Cool. However, I don't see the benefit of a Timeline for the wiki.linuxaudio.org site. I think we'd rather want some more music related features like f.i. http://wiki.linuxaudio.org/wiki/abc :) but maybe that's just me. best, robin > Niels > http://nielsmayer.com > ___ > Linux-audio-dev mailing list > Linux-audio-dev@lists.linuxaudio.org > http://lists.linuxaudio.org/listinfo/linux-audio-dev ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev