Skip to content

Commit cab3763

Browse files
committed
Merge branch 'main' into v1.1.0
2 parents 5b056fc + 282618b commit cab3763

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ After you've applied effects to your rotated sample, you can drop it back into t
1717

1818
You can also listen to the loaded samples by clicking on the spectrum view, and pressing space bar. This will play/pause playback of this sampler. You can skip to any position in the sample by clicking anywhere on the spectrum view.
1919

20-
Any samples you've dragged out of this plugin are stored in a folder somewhere in the user's application data directory. You can find the exact path by clicking on the settings icon and looking at the "output folder", you can also click on this to open the folder in the default file explorer. You can close the settings by clicking on the settings icon again.
20+
Any samples you've dragged out of this plugin are stored in the output folder, which defaults to a folder somewhere in the user's application data directory. You can find the exact path by clicking on the settings icon and looking at the "output folder". You can change this path by clicking on it and selecting a different folder. Clicking on the icon to the right of the path opens the folder in the default file explorer. You can close the settings by clicking on the settings icon again.
2121

2222
![settings](https://assets.kaixo.me/SpectralRotator/settings-ui.png)
2323

24+
The spectrum view is also fully customizable, you can adjust the FFT size, resolution, block size, and range. The FFT size changes the vertical resolution, the FFT resolution changes the horizontal resolution, the block size determines the length of the block that is used for every FFT, and the FFT range adjusts how many decibels are visible.
25+
2426
**An important note** when dropping modified rotated samples back into SpectralRotator is that you align the bottom of your spectrum properly. For example, when you have rotated your spectrum such that the lower frequencies are on the left, you must make sure when you import your edited sample, that the start of your sample is aligned (If it was rotated such that the lower frequencies are on the right, you would have to align the end of your sample). Otherwise a small frequency shift will occur, depending on how many audio samples of delay there are. You do not have to worry about making sure the sample is exactly the same length though, as it will take this information from the *source* sampler.
2527

2628
## Questions

source/Kaixo/SpectralRotator/Processing/AudioBufferSpectralInformation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Kaixo::Processing {
2020
float AudioBufferSpectralInformation::get(std::size_t x, std::size_t y) {
2121
std::size_t index = x * frameSize + y;
2222
if (index < intensity.size()) return intensity[index];
23-
else return 0;
23+
else return -145;
2424
}
2525

2626
// ------------------------------------------------
@@ -53,7 +53,7 @@ namespace Kaixo::Processing {
5353
// ------------------------------------------------
5454

5555
float AudioBufferSpectralInformation::intensityAt(float x, float dx, float y, float dy) {
56-
if (intensity.size() == 0) return 0;
56+
if (intensity.size() == 0) return -145;
5757

5858
float xval = x * (frames() - 2);
5959
if (dx < 1) {

0 commit comments

Comments
 (0)