How can I change the volume of notes that I didn't enter via “Find/Replace”?

Started by Alex TEHb, Yesterday at 13:35:13

Previous topic - Next topic

Alex TEHb

If I don't enter the "volume" parameter, it defaults to "64". But it is pale (not active) at the same time. I use "Find/Replace" function to replace "volume" - "64" with any (for example "32"). The answer is "Cannot find "??? ??  ?64 ???"". How can I change the volume of notes that I didn't enter via "Find/Replace"?

Saga Musix

Default volume commands are just displayed for convenience and don't exist in the actual pattern data, hence they are shown in a faded color.

If you want to find such notes, you have to find notes with an empty volume effect.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Alex TEHb

Nothing's happening. What am I doing wrong?
f-r_1.jpgf-r_2.jpg

Saga Musix

When I do that, every pattern cell in channel 1 that doesn't have a volume command yet gets flooded with v32 commands. Works exactly as it should. What are you seeing instead?
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Alex TEHb

The Find/Replace window closes. All "faint" 64 in channel 11 remain in place. There are no messages about found and replaced.

Saga Musix

Oh, I had a second look at your screenshot and it's clear now: You chose to replace the volume command with no command, you have to replace it with a "v" command instead.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Alex TEHb

f-r_3.jpgf-r_4.jpg
Cannot find "??? ?? ?00 ???""
If I choose to do it this way:
f-r_5.jpg
Result:
f-r_6.jpg

Saga Musix

If you search for "None" as volume effect, it does not make sense to search for a specific parameter, because there is no effect parameter. Hence Find & Replace won't find anything in the first example. If you don't search for a specific volume parameter, it will work.

The second result is also expected. Your intention is probably to just find notes with no volume command, but that's not what you told Find  & Replace. You need to check the "Note" checkbox in the Find settings and choose "any" from the dropdown, if you want to find all cells that contain any type of note (except for === / ^^^ / ~~~ / PC events).

Find & Replace always literally does exactly what you tell it to do. Hence you have to be careful which checkboxes you check and which you don't check. If you don't tell Find & Replace to restrict itself to cells only containing notes, it will simply not be restricted to such cells.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Alex TEHb

Ugh!!! "Note any" helped! Thank you!
I wouldn't have figured it out myself....

Saga Musix

You're welcome. Here's one hint that may not be immediately obvious, and it's probably the only exception from "Find & Replace will do exactly what you see in the GUI, nothing more nothing less":
In the replace tab, you can not just replace with fixed values (e.g. replace with v32 as you did in your examples), you can also replace by a factor (e.g. multiply by 50%) or relative value (add 25). This works with default volumes, so if you find an empty volume command and replace it by a "v" volume command and choose, say, a *50% multiplier, the 50% will be relative to the sample's default volume.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Alex TEHb

Analogous to the "Amplify" function but for the whole song (channel), not just the highlighted... OK! This is really useful!