{"id":31926519,"url":"https://github.com/kyleawayan/midnight-fiction","last_synced_at":"2026-02-16T20:35:07.392Z","repository":{"id":257184582,"uuid":"856183725","full_name":"kyleawayan/midnight-fiction","owner":"kyleawayan","description":"Kyle's mods for the Traktor Kontrol S4 MK3, codenamed \"Midnight Fiction\"","archived":false,"fork":false,"pushed_at":"2024-09-17T01:44:44.000Z","size":147,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T17:58:12.029Z","etag":null,"topics":["dj","kontrol","kontrol-s4","kontrol-s4-mk3","native-instruments","traktor","traktor-kontrol","traktor-pro"],"latest_commit_sha":null,"homepage":"","language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyleawayan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-12T06:18:49.000Z","updated_at":"2025-05-28T17:17:14.000Z","dependencies_parsed_at":"2024-09-15T07:24:41.543Z","dependency_job_id":"3b8e8578-d2e0-45a4-b660-9174e75dd2d0","html_url":"https://github.com/kyleawayan/midnight-fiction","commit_stats":null,"previous_names":["kyleawayan/midnight-fiction"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyleawayan/midnight-fiction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleawayan%2Fmidnight-fiction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleawayan%2Fmidnight-fiction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleawayan%2Fmidnight-fiction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleawayan%2Fmidnight-fiction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyleawayan","download_url":"https://codeload.github.com/kyleawayan/midnight-fiction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleawayan%2Fmidnight-fiction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29517614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dj","kontrol","kontrol-s4","kontrol-s4-mk3","native-instruments","traktor","traktor-kontrol","traktor-pro"],"created_at":"2025-10-14T01:45:23.098Z","updated_at":"2026-02-16T20:35:07.355Z","avatar_url":"https://github.com/kyleawayan.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Midnight Fiction\nMy Traktor Kontrol S4 MK3 mods, codenamed \"Midnight Fiction\".\n\n\u003e [!NOTE]  \n\u003e I no longer own the Traktor Kontrol S4 MK3, so I will not be maintaining this project anymore.\n\n## Features\n- **Scrolling waveform**\n  - Note: The S4 MK3 screens have a slow refresh rate, so the scrolling may not be as smooth.\n  - See [\"Waveform Zoom\" section](#waveform-zoom) to customize the zoom level.\n- **\"Key Match Assist\" to help with harmonic mixing**\n  - When holding SHIFT to change the key, keys compatible with the current deck's key are shown (only in musical format). It also shows a picture of a single octave piano keyboard for reference.\n  - See [\"Disabling Key Match Assist\" section](#disabling-key-match-assist) to disable this feature.\n- **Toggle stem FX sends from pads**\n  - Credit: [DJ NUO](https://youtu.be/lhrMLEUKUB0?si=egbV21eVqKqRQboY\u0026t=44). Please see [his video](https://youtu.be/lhrMLEUKUB0?si=egbV21eVqKqRQboY\u0026t=44) on how to use this feature.\n- **Display stable tempo percentage**\n  - a.k.a. the current tempo's relative percentage from the song's original tempo\n- **Change deck colors**\n  - Deck 1 through 4 are set to the colors: White, White, Red, Orange\n  - Credit: [swightwick](https://gist.github.com/swightwick/4549158840180509a9b2df749bf6a0ec), [Greater Good Beats \u0026 Instrumentals](https://www.youtube.com/watch?v=_sti1yfWAqE)\n  - To change the colors, see [\"Changing Deck Colors\" section](#changing-deck-colors) below\n\n## Video Demos\n### Scrolling Waveform\nhttps://github.com/user-attachments/assets/f9c6db68-7f54-48cc-8287-b428d96e45e8\n\n### Key Match Assist\nhttps://github.com/user-attachments/assets/0fef2786-1cd8-45bf-9642-c23a1583c3ab\n\n### Display Stable Tempo Percentage\nhttps://github.com/user-attachments/assets/febf7fc9-af6d-4ac5-b227-84d8adcbed3a\n\n## Installation\nOnly tested with Traktor Pro 4 on macOS.\n\n1. [Download the ZIP of this repository](https://github.com/kyleawayan/midnight-fiction/archive/refs/heads/main.zip)\n2. Extract the ZIP file.\n3. Locate the `qml` folder in your Traktor Pro 4 installation.\n4. Backup the `qml` folder.\n5. Replace the following folders and files from the extracted ZIP to your Traktor Pro 4 `qml` folder:\n    - `qml/CSI/S4MK3/`\n    - `qml/CSI/Common/DeckHelpers.js`\n    - `qml/Screens/S4MK3/`\n    - `qml/Screens/S8_MIDNIGHT_FICTION/` *(this is a new folder, just copy it over)*\n\n## Options\nNote that I did not code an interface to change the options within the screen, so the files will need to be edited manually.\n\n### Disabling \"Key Match Assist\"\nIn `qml/Screens/S4MK3/Views/TrackDeck.qml`, delete or comment out the following lines:\n```qml\n// PIANO OVERLAY //\nWidgets.PianoOverlay\n{\nvisible: deckInfo.shift\nanchors.top: parent.top\nanchors.left: parent.left\n}\n```\n\n### Changing Deck Colors\nIn `qml/CSI/Common/DeckHelpers.js`, change the colors returned by `colorForDeck()`. The color choices are commented in the file.\n```javascript\nfunction colorForDeck(deckIdx)\n{\n    switch (deckIdx)\n    {\n      case 1:\n      case 2:\n        return Color.White;\n      case 3:\n        return Color.Fuchsia;\n      case 4:\n        return Color.Red;\n    }\n\n    // Fall-through...\n    return Color.Black;\n}\n```\n\n### Waveform Zoom\nIn `qml/Screens/S4MK3/Views/TrackDeck.qml`, change the bit-shift amount (the `6` in `0x800 \u003c\u003c 6`) to adjust the waveform zoom. The higher the number, the more zoomed out the waveform will be.\n```qml\n// SCROLLING WAVEFORM //\nWF.WaveformContainer {\n    id: waveformContainer\n\n    deckId:         deckInfo.deckId - 1 \n    sampleWidth:    0x800 \u003c\u003c 6 // Change the integer here for waveform zoom\n\n    anchors.left:         parent.left\n    anchors.right:        parent.right\n\n    height:   70\n}\n```\n\n\n## Development\nNote the scripts only work on macOS.\n\n- **`make import`**: Copies Traktor Pro 4 QML files related to the mod into the project.\n- **`make install`**: Backs up the Traktor QML folder, updates ownership if needed, and copies modified QML files back to Traktor.\n- **`make install-and-run`**: Closes Traktor Pro 4, installs the modified QML files, and then reopens the application.\n\n\n## Todo\n### Planned Features\n- [ ] ~~Auto key sync~~ *Dropped, as I do not own the controller anymore.*\n\n### Documentation\n- [X] Basic installation instructions for non-code users\n- [X] Screenshots/Videos\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleawayan%2Fmidnight-fiction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyleawayan%2Fmidnight-fiction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleawayan%2Fmidnight-fiction/lists"}