Title: Clicking Sounds When Abruptly Changing Sample Position (PLOF, Slice, RTRG) in the Sample Player · Issue #112 · djdiskmachine/LittleGPTracker · GitHub
Open Graph Title: Clicking Sounds When Abruptly Changing Sample Position (PLOF, Slice, RTRG) in the Sample Player · Issue #112 · djdiskmachine/LittleGPTracker
X Title: Clicking Sounds When Abruptly Changing Sample Position (PLOF, Slice, RTRG) in the Sample Player · Issue #112 · djdiskmachine/LittleGPTracker
Description: Whenever the sample player makes abrupt changes to the sample position (e.g., using PLOF, slice, or RTRG commands), an audible click sound can occur due to the instant change in amplitude. Steps to Reproduce: Load a loop into the Sample ...
Open Graph Description: Whenever the sample player makes abrupt changes to the sample position (e.g., using PLOF, slice, or RTRG commands), an audible click sound can occur due to the instant change in amplitude. Steps to...
X Description: Whenever the sample player makes abrupt changes to the sample position (e.g., using PLOF, slice, or RTRG commands), an audible click sound can occur due to the instant change in amplitude. Steps to...
Opengraph URL: https://github.com/djdiskmachine/LittleGPTracker/issues/112
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clicking Sounds When Abruptly Changing Sample Position (PLOF, Slice, RTRG) in the Sample Player","articleBody":"Whenever the sample player makes abrupt changes to the sample position (e.g., using PLOF, slice, or RTRG commands), an audible click sound can occur due to the instant change in amplitude.\r\n\r\n### Steps to Reproduce:\r\n1. Load a loop into the Sample Player.\r\n2. Use the PLOF command to jump to different positions within the loop.\r\n\r\n### Expected Behavior:\r\nPosition hopping should work without any audible clicking sounds, by implementing smoother transitions or a mechanism to avoid abrupt waveform changes.\r\n\r\n### Possible Solutions:\r\n- **Zero-Crossing Detection**: Ensure that samples are triggered at points where the waveform crosses zero to avoid discontinuities.\r\n- **Fade-In/Fade-Out**: Apply very short fades (at the start or end of the sample) to eliminate abrupt amplitude changes.\r\n- **Crossfading Between Slices**: Smooth the transitions between different sample slices to reduce clicks.\r\n\r\n### Code Hints:\r\nIn the code, I found some indications that an anti-click mechanism may have been partially implemented by the original authors:\r\n\r\n\u003e In **SampleInstrument.cpp**: \r\n\u003e Line 25: `#define SHOULD_KILL_CLICKS true` \r\n\u003e Lines 344, 1119, 1334: `rp-\u003ecouldClick_ = SHOULD_KILL_CLICKS;`\r\n\r\nHowever, the **`couldClick_`** variable does not seem to be used elsewhere in the code. It appears this feature is still a work in progress.\r\n\r\nIt would be fantastic if this work could be completed, as the presence of these clicks significantly detracts from the experience of sample mangling in LGPT.\r\n\r\n### System Information:\r\n- Version: 1.4.1\r\n- Platform: Miyoo Mini, x64\r\n","author":{"url":"https://github.com/fpiesik","@type":"Person","name":"fpiesik"},"datePublished":"2024-09-08T08:40:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/112/LittleGPTracker/issues/112"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bb370853-c333-aad7-e8c5-ddb6a9b98119 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE3A:19722:1DE562B:2B7DD71:6A4BCD19 |
| html-safe-nonce | 30b5cd44f3c018c384734e1890c356fa6a95c07a2a47946cd7828b8fdb5cdc20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTNBOjE5NzIyOjFERTU2MkI6MkI3REQ3MTo2QTRCQ0QxOSIsInZpc2l0b3JfaWQiOiI2Nzk3OTYzNjM4MTg5MzEzMzA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c18637e6f20464427ff42385f490721556bee19563ded94f8270f13c45d845a9 |
| hovercard-subject-tag | issue:2512269133 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/djdiskmachine/LittleGPTracker/112/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5fd3598568e308bfec27616094e5865402e7f399adb4fee8ca874e55722e4db/djdiskmachine/LittleGPTracker/issues/112 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5fd3598568e308bfec27616094e5865402e7f399adb4fee8ca874e55722e4db/djdiskmachine/LittleGPTracker/issues/112 |
| og:image:alt | Whenever the sample player makes abrupt changes to the sample position (e.g., using PLOF, slice, or RTRG commands), an audible click sound can occur due to the instant change in amplitude. Steps to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fpiesik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/djdiskmachine/LittleGPTracker git https://github.com/djdiskmachine/LittleGPTracker.git |
| octolytics-dimension-user_id | 110535302 |
| octolytics-dimension-user_login | djdiskmachine |
| octolytics-dimension-repository_id | 520839751 |
| octolytics-dimension-repository_nwo | djdiskmachine/LittleGPTracker |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 19889781 |
| octolytics-dimension-repository_parent_nwo | Mdashdotdashn/LittleGPTracker |
| octolytics-dimension-repository_network_root_id | 19889781 |
| octolytics-dimension-repository_network_root_nwo | Mdashdotdashn/LittleGPTracker |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width