libsidplayfp / sidplayfp

Console SID/MUS player
GNU General Public License v2.0
34 stars 8 forks source link

add default run flags on sidplayfp.ini. #22

Closed ruby-R53 closed 1 year ago

ruby-R53 commented 1 year ago

title says it all, so for example, if i want sidplayfp to have --delay=4096 -rr -v2 every time i run it, instead of running sidplayfp --delay=4096 -rr -v2 all the time, i can just specify it on sidplayfp.ini, something like this: [SIDPlayfp] ... Default Flags = --delay=4096 -rr -v2

drfiemost commented 1 year ago

Well, I've never seen something like that, but sure it's possible to add the single options to the config file (like Delay, Resampling and Verbose).

ruby-R53 commented 1 year ago

yeah, i got that idea from another program, don't remember which, but it worked similarly.

drfiemost commented 1 year ago

Added the following options:

VerboseLevel=<n>
PowerOnDelay=<n>
Sampling=<INTERPOLATE|RESAMPLE>
FastSampling=<true|false>

Let me know if there are more needed.

ruby-R53 commented 1 year ago

i saw, i'm using it right now, and i think you could remove FastSampling to cover it with Sampling, so you have: Sampling = <INTERPOLATE|RESAMPLE[,fast]> (so not specifying fast makes it not use fast sampling).

drfiemost commented 1 year ago

Actually it's a resid specific option so I'd like to keep it separate, even better renaming it to ResidFastSampling or moving it to a different section.

ruby-R53 commented 1 year ago

yeah, that makes more sense. also, i just thought of adding color palette options on the [Console] section, like: CopyrightPalette = blue, white <- title, author and released; FileDataPalette = pink, yellow <- file format, filename(s), condition, playlist, song speed and length; DataPalette = green, green <- addresses, sid details; PlayPalette = yellow, white <- play speed and mode, sid filter, digiboost, sid model, delay; ROMDataPalette = pink, green <- kernal, basic and chargen rom. SongDataPalette = white, white, green, pink, pink, yellow, yellow, red, green, blue, white <- voice, note, pw, control (individually), waveforms (individually as well).

drfiemost commented 1 year ago

Ok, I might consider this for a future release. Moving to a new ticket and closing this one.