Code Monkey home page Code Monkey logo

Comments (5)

mmitch avatar mmitch commented on August 15, 2024

D'oh: The number part of the filename is the subsong number, so we can't increment it for subsequent exports.
The easiest way would be to add some documentation regarding filename creation and overwriting of existing files.

from gbsplay.

mmitch avatar mmitch commented on August 15, 2024

task 1 fixed with e1872f6

from gbsplay.

mmitch avatar mmitch commented on August 15, 2024

task 2 fixed with 729d1f8 (documentation only, no changes)

from gbsplay.

mmitch avatar mmitch commented on August 15, 2024

@ranma
I have tracked part 3 of this issue down to these two lines in gb_flush_buffer()

Two plugouts (iodumper and midi) don't implement the write callback because they don't need it.
This enables the shoutcut highlighted above and gb_flush_buffer() returns eartly.
Unfortunately, this also means that lminval, lmaxval, rminval and rmaxval don't get updated, which leads to the silence detection kicking in immediately in gbs_step()

In the midi output this also manifests as the global volume being empty in the status line during conversion, while the per-channel-volumes are displayed correctly.

What should we do?

  1. remove the shortcut in gb_flush_buffer (this increases computation time during conversion - but who cares?)
  2. add empty writer implementations to both plugins (but then the shortcut from 1. is never used and we can simply implement 1. straight away)
  3. disable the silence timeout when using those two plugins (with a new flag like we did for stdout/verbosity)
  4. add a note to the manpage that says you have to set -T or output will be cut off (I don't like this one)

What do you think?

from gbsplay.

mmitch avatar mmitch commented on August 15, 2024

Thanks!

from gbsplay.

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.