Giter Site home page Giter Site logo

Comments (18)

steveway avatar steveway commented on September 3, 2024 1

Mhh, this seems to work as expected here.
I opened a project and changed the FPS from 24 to 60 and the waveform increased in size as expected.
When I open a different file or change the FPS it changes to that correctly too.
Could you make a video of the steps you used to reproduce this?

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Thanks for the video.
Let's see:

  • The waveform itself resizes depending on the change.
  • So if we halve the framerate the waveform also halves in width.
  • The content does not get touched.
  • The markings in the background also stay visually the same which works out correctly if the waveform is changed correctly.
  • The playbackmarker needs to change it's speed accordingly, since it's position is calculated based on the current playback position that shouldn't be too difficult.

Then for QT we need to take some care when doing that that the scene is resized correctly and the scrollbar is working.
And maybe some more things I did not yet think of.

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Ok, I think this might already be correct in my current commit here:
steveway@9ae85d2
It looks like it behaves mostly the same, further testing is recommended.
(Especially someone should test how this behaves if the FPS get's changed by unusual values instead of simply doubling and halving them.)

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

I am having issues with waveform display truncating before the end of the actual audio, making it impossible to, well, use this as it is. this is with the current code base 08/14/2020
changing the fps is initially what seemed to cause the problem. switching back, closing and reopening, trying to drag further than the waveform display, resizing.. none of this fixes it. this happens whether i drag the .wav in, or use the file menu dialog. so far, i have just been testing with the three original .wav files that came with the original papagayo.

Thank you, and good luck

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Are you sure this is still broken with the current version?
I can't reproduce it with: #94

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

I have not tried it with the version released in the past few hours, but when i tried the first iteration of the allosaurus inclusion, it was still present. that was just days ago. I will test he latest version as soon as i can, and report back here.

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

Unfortunately, at least on my system the problem still remains with the installer release, Allosaurus version
I can scroll left and right, but not to the actual end of the waveform. I have to change the FPS from 60 to 30, apply, then back to 60 and apply. Then i can scroll to the actual end.

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Can you make a video or send a file to reproduce?
With my test files I can't reproduce this.

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

This occurs on the first file dragged in after opening Papagayo-NG. It turns out i do not actually have to change the fps, i just need to hit reset zoom. After pressing reset zoom, any subsequent audio files dragged in seem to zoom properly without needing to do that again. I am not sure if this is expected behavior or not. I am trying to get OBS setup now, in case a video is still needed

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

I can't reproduce this with the current version, this seems to be fixed for now.

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

My apologies, I lost track of this issue. Uploading a video demonstration now.

Papagayo-NG.Waveform.display.issue.mp4

Please let me know if further clarification is needed.

Thank you

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Can you test my cli_test branch?
https://github.com/steveway/papagayo-ng/tree/cli_test
I just added a change which might help.
It seems that non-24 FPS settings load correctly now.
The Waveform still disappears sometimes when zooming in and out, not sure why that happens yet, but a small resize fixes that.
I'm really not sure why it sometimes disappears, all the data of the Polygon seems to be correct, it just doesn't want to draw it, at least a resize fixes that.
I wanted to create a chunking system which splits the waveform into several pieces for performance reasons anyway, so if I start creating that I'll likely find out more about that problem.

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

In the CLI branch, i am seeing some of the old issues back. Such as, the volume level does not change when moving the slider while the audio is playing. The drag and drop is not currently functioning. The issue with the window requiring a resize are present. But this may be expected at this point.
On the plus side, It seems to load must faster (Just observing, have not timed it). And the 60fps file view is working properly and going all the way to the end of the file without have to zoom!

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

To note, it is still requiring silence at the end of the audio files i have tested

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

I've switched from SoundPlayerNew to SoundPlayer on this branch because the other one fails without a GUI and still needs adjusting for a purce CLI run.
There has been no change to drag and drop.
The changes are mostly some CLI parsing, the SoundPlayer temporarily and this one which seems to fix loading non 24FPS files.
So it should behave mostly the same as the regular version.

from papagayo-ng.

Hunanbean avatar Hunanbean commented on September 3, 2024

Ok, I see what happened. I had run the program from an admin command line. It does not allow drag and drop while elevated, it seems.

from papagayo-ng.

steveway avatar steveway commented on September 3, 2024

Oh, I see, yeah that is not recommended.
I changed some logic so it should now use the same Playback as before which allows for changes while playing on Windows.
And for CLI usage it should now always use SoundPlayer.py .
So the only thing seems to be the waveform sometimes disappearing, but as far as I know this also happens in the current normal version.

from papagayo-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.