On January 22, 2016 08:54:33 AM Andrew Deryabin wrote:
> Hi guys,
> 
> 22.01.2016 05:36, Tim E. Real пишет:
> > On January 21, 2016 04:07:09 PM Robert Jonsson wrote:
> >> Hello folks,
> >> 
> >> I changed the drawing of wave tracks a bit.
> >> 
> >> - The waves a drawn +1 pixel at both ends so they are easier to see when
> >> the track is thin.
> >> 
> >> - I also added a new drawing mode, earlier the wave was drawn in two
> >> colors
> >> where the outer was peak and the inner was rms. This may be interesting
> >> if
> >> you are so inclined but I have never liked it much.. Instead I added a
> >> new
> >> mode where the outer color is just one pixel wider than the inner, easier
> >> to see in my opinion. This is the default now.
> >> 
> >> - the default colors for the wave drawing is switched so the outer part
> >> is
> >> darker than the inner, also adds to visibility.
> >> 
> >> To see the color changes the ~/.config/MusE/MusE.cfg must be removed, let
> >> me know if this works for you.
> > 
> > Beautiful.
> > Now it looks real nice, like a lot of other editors.
> > 
> >> I also replaced the MusE.cfg template in the share folder with a fresh
> >> one
> >> containing more settings, let me know if there are any new problems.
> >> Replacing the MusE.cfg template may have side effects.
> > 
> > I removed ~/.config/MusE/MusE.cfg and started from fresh.
> > No trouble observed so far.
> > 
> > The only thing I noticed, that you left /home/ddskrjo/MusE
> > 
> >   as the <projectBaseFolder> in MusE.cfg
> > 
> > Although, it is overwritten with the users home directory
> > 
> >   via our code (because I could not find a way to use "~/"
> >   in the xml file).
> > 
> > BTW: Import audio file is broken if samplerate is not equal
> > 
> >   (no wave, and zero-width part).
> > 
> > The recent automatic resampler seems broken.
> > Is Andrew still out there?
> 
> Tim, can you post your jack session settings here and a wave file that
> causes error?

It happens with any sound file (ogg, wav, flac) with a different samplerate.
I simply tired to open various files in /usr/share/sounds,
 most of them are at different samplerates than my Jack setup of 44100Hz.

Although I have not looked at the code, when I heard about the
 automatic resample-on-import feature I was skeptical:
As far as I recall we do not store whole waves in memory. (Nor should we.)
So I was wondering how the resampling feature was even possible?
Where is the new wave being stored? 
In memory, or a new file? 
If it's a file, well OK. Although there may be issues with that as well,
 as I mentioned some time ago. (Where to store them, folders etc.)

-----
A quick note also:
There is code in MusE that I think would be essentially ready to go, 
 with reexamination and so on, that does automatic resampling
 on-the-fly using SRC.
The code was last tested years ago and working fine!
The thing is, I had to disable it at the time because of a MusE flaw:
We were using shared event lists.

This made my efforts come to a screeching halt, because we cannot
 use shared soundfile handles!

But then Florian added non-shared event lists. I helped finish that work.

It means the door is now open for me to try that resampling code again. 
Yes, it /can/ work now!

An immediate benefit of the non-shared event lists was this:
Wave events that point to the same /compressed/ sound file 
 can now be played even if they overlap.
This was not possible before and had nasty results like severe 
 denormal chugging which ground MusE to a halt.
The problem was that our wave events wanted to keep switching
 the single shared soundfile position back and forth among the
 various events, which is a no-no, compressed files need to 
 'progress' naturally without being told to jump around like that,
 and the same with pitch/time shifters.

So you see, non-shared event lists cured all that.
It was a huge undertaking.

But Florian took resampling /much/ farther in his branch 
 (that I mentioned recently) - he added beat matching, 
 pitch shifting, time stretching etc.

So although I can try to resurrect my resampling code, I must also 
 keep in mind the possibility of merging some of Florian's work,
 and how it might fit in. IIRC It is radically different in that it uses
 something he called 'extended ticks'.

My primary goal with my code was for resampling of imported audio files.
But the work was a good learning and starting point for pitch shifting,
 time stretching and so on, and I tried to keep the architecture open
 for that eventuality.

Tim.

> 
> > Thanks.
> > Tim.
> > 
> >> Regards,
> >> Robert


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer

Reply via email to