Yes, on second thought, you are right, I also think that peak would look better. Oeyvind 2007/9/14, John Lato : > On my last waveform plot display, I believe I used the peak value for all samples > represented by one pixel rather than averaging. IIRC, using an average didn't look > as good as simply using the peak (dependent on frequency and zoom level, of course). > Unfortunately I don't have that code anymore; it was for a personal project that > didn't progress quite like I wanted. > > John W. Lato > School of Music > The University of Texas at Austin > 1 University Station E3100 > Austin, TX 78712-0435 > (512) 232-2090 > > Oeyvind Brandtsegg wrote: > > The liveSamplePlot python application does crude waveform display. > > I am confident that it would be simple to refine the display, > > but I wrote it as simple as possible to try to enhance realtime > > performance (which is what I wrote it for). > > > > To calculate the y position for a pixel in the waveform, I think you > > could just do an average of (the amplitude of) all audio samples to be > > represented by that pixel (number of samples would be dependent on the > > current zoom level. I suspect (but don't know for sure) that this is a > > commonly used method for calulating the waveform graph, as one > > commonly observes significant alterations of the waveform graph when > > changing the zoom level. > > > > best > > Oeyvind > > > > 2007/9/13, Steven Yi : > >> It should certainly be possible and I've seen some code here and there > >> and have investigated some but I haven't had a chance to implement. A > >> while back I had wanted to implement the same method as Ardour (which > >> I think uses a cache file for faster rendering) but I couldn't find > >> it's waveform rendering code the last time I looked. If I remember it > >> correctly, to show a waveform well it has to do some averaging or > >> peaks for all the sample values that the pixel holds, otherwise you > >> could get really different waveforms if you happen to hit the wrong > >> sample. I'm not sure what's involved, but if someone knows what is > >> involved and tells me I'm sure it wouldn't be too bad to figure out an > >> implementation. > >> > >> The DSP app is indeed Java but has no source code available I can see. > >> If anyone sees an open source audio app with wave rendering I'll be > >> happy to give implementing it a go in blue. > >> > >> steven > >> > >> > >> On 9/13/07, peiman wrote: > >>> Hi Steven, > >>> > >>> Now that this topic came up can I ask you a question? > >>> > >>> How difficult is it, if at all possible, to have a graphic wave view of > >>> sound files in blue? I don't know if Java can do that or not but just > >>> thought I'll ask. > >>> > >>> I think this program is made with java: > >>> > >>> http://www.notam02.no/DSP02/en/index.php?page=317 > >>> > >>> But I am not sure :-) > >>> > >>> Thanks > >>> Peiman > >>> > >>> > >>> Steven Yi wrote: > >>>> For mastering, you could also use my program blue. You can drag and > >>>> drop audio files from a file explorer to the timeline and Audio > >>>> soundObjects will automatically be made. After that, you can create > >>>> some subchannels in the mixer then target the different channels with > >>>> the Audio soundObject, then use any of blue's effects which are > >>>> automatable. Modifications to automations are not realtime (though > >>>> there are plans to remedy this in the future), you do get the > >>>> advantage of all of the effects in Csound code. > >>>> > >>>> steven > >>>> > >>>> > >>>> On 9/13/07, Aidan Collins wrote: > >>>>> Audacity allows VST plug ins in general, doesn't it? > >>>>> I know it has a tendency to freeze up when I try to use the really > >>>>> fancy ones, the ones that have purchase protection of some sort (waves > >>>>> and the like), but I've definitely downloaded a few good VSTs for it. > >>>>> > >>>>> On 9/13/07, Michael Gogins wrote: > >>>>>> Audacity also allows you create plugins using Nyquist, another powerful > >>>>> software sound synthesis language. > >>>>>> Regards, > >>>>>> Mike > >>>>>> > >>>>>> -----Original Message----- > >>>>>>> From: Rory Walsh > >>>>>>> Sent: Sep 13, 2007 9:19 AM > >>>>>>> To: csound@lists.bath.ac.uk > >>>>>>> Subject: Re: [Csnd] open source mastering > >>>>>>> > >>>>>>> Doesn't Ardour run on Mac's? Anyway, given that you can write Audacity > >>>>>>> plugins in Csound with realtime control via midi* why not just use > >>>>> your > >>>>>>> favourite Csound effects and processes in Audacity. While Audacity is > >>>>>>> pretty limited, the fact that you can use it with Csound gives plenty > >>>>> of > >>>>>>> opportunity for extending it and customising it to suiting your needs. > >>>>>>> > >>>>>>> Rory. > >>>>>>> > >>>>>>> *theoretically it should be possible to control csLADSPA plugins with > >>>>>>> regular midi controllers although I haven't ever tried it... > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> peiman wrote: > >>>>>>>> It is very cool indeed. Particularly the spectral editing features: > >>>>>>>> > >>>>>>>> http://www.adobe.com/products/audition/newfeatures.html#nf7 > >>>>>>>> > >>>>>>>> Only if there was a mac version! > >>>>>>>> > >>>>>>>> Best > >>>>>>>> Peiman > >>>>>>>> > >>>>>>>> PS I am fed up with pro tools, having been informed today that > >>>>>>>> digidesign have decided n > >>>>>>> -- > >>>>>>> Send bugs reports to this list. > >>>>>>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Send bugs reports to this list. > >>>>>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>>>>> > >>>>> -- > >>>>> Send bugs reports to this list. > >>>>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>>>> > >>>> -- > >>>> Send bugs reports to this list. > >>>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>>> > >>>> > >>> -- > >>> View this message in context: http://www.nabble.com/open-source-mastering-tf4431706.html#a12657967 > >>> Sent from the Csound - General mailing list archive at Nabble.com. > >>> > >>> -- > >>> Send bugs reports to this list. > >>> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >>> > >> -- > >> Send bugs reports to this list. > >> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > >> > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk >