{"id":16766356,"url":"https://github.com/joyrex2001/castools","last_synced_at":"2025-03-21T23:33:23.114Z","repository":{"id":147690592,"uuid":"56006196","full_name":"joyrex2001/castools","owner":"joyrex2001","description":"This is a set of tools which can read sampled MSX tapes and convert them to the standard .cas format and back to .wav samples. This package consist of three tools: wav2cas, cas2wav and casdir.","archived":false,"fork":false,"pushed_at":"2023-03-22T13:05:45.000Z","size":24,"stargazers_count":41,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-18T06:11:21.997Z","etag":null,"topics":["cas","msx","tape"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joyrex2001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2016-04-11T20:42:21.000Z","updated_at":"2024-11-12T09:37:16.000Z","dependencies_parsed_at":"2023-06-27T16:17:34.279Z","dependency_job_id":null,"html_url":"https://github.com/joyrex2001/castools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyrex2001%2Fcastools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyrex2001%2Fcastools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyrex2001%2Fcastools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joyrex2001%2Fcastools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joyrex2001","download_url":"https://codeload.github.com/joyrex2001/castools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885334,"owners_count":20526284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cas","msx","tape"],"created_at":"2024-10-13T06:06:07.053Z","updated_at":"2025-03-21T23:33:23.108Z","avatar_url":"https://github.com/joyrex2001.png","language":"C","funding_links":[],"categories":["Software"],"sub_categories":["MSX-DOS"],"readme":"# CAS Tools\n\nThis is a set of tools which can read sampled MSX tapes and convert them to\nthe standard .cas format and back to .wav samples. This package consist of\nthree tools: wav2cas, cas2wav and casdir.\n\nThe most important tool is wav2cas, this tool does the actual conversion of\naudio samples to the .cas format. The cas2wav is the reverse process and\nconverts .cas files back to audio samples, which can be read on a real MSX.\nThe casdir tool gives a detailed list of the contents of the .cas file. The\nlast two tools are pretty straight forward and will not be described any\nfurther in this document.\n\nThe wav2cas tool requires a .wav file as input. It will analyse the signal and\ncreate a .cas file. It will work on 'copy-protected' tapes which use their own\ncustom loader using the bios routines for the actual retrieval of data.\nUnfortunately tapes exist which don't use the bios routines (e.g. a lot of \nGremlin games used a entirely different format). These will not work. \nFortunately, a lot of publishers did use the bios calls, and they should work\nfine. \n\nHowever, keep in mind that the tape medium was not the most reliable medium to\nstore data on; remember cleaning your heads, tuning your heads and playing with\nthe phase and volume settings on your datarecorder? This tool can have good\nresults, but if the signal is too much deteriorated it will probably fail.\n\nYou get the best results by sampling the tapes at the highest sample frequency\nas possible. It does not matter if the sample is 16 or 8 bits; if it is 16 bits\nit will be converted to 8 bits. Sample the signal as loud as possible, but make\nsure the signal does not clip!. \n\nThe wav2cas tool has 4 arguments to play with, but the default settings should\nwork fine if it is a clean clear signal.  The -t argument requires an integer\nwhich defines a threshold; if the signal is noisy you could try a higher value\nto get better results. The -e argument also requires an integer and defines the\namount of 'envelope' correction, you could try increasing and decreasing this\nto get better results. The -n argument will maximize the signal and the final\n-p argument will phase shift the signal.\n\nThis should be enough info to get you started in converting your old cassette\ntapes to .cas files. Good luck!\n\n\n### Version History\n\n#### 1.31 (2016/04/11)\n* all: added support for 64 bit systems (thanks to Peter Koellner)\n\n#### 1.3 (2007/12/08)\n* cas2wav: allow custom gaptime between blocks.\n\n#### 1.2 (2007/05/04)\n* cas2wav: added multi cpu support\n* wav2cas: added multi cpu support\n* casdir: compile warnings fixed\nCredits go to Ramones for the applied changes, thanks!\n\n#### 1.1 (2002/06/09)\n* cas2wav: increased gap between data and headers\n* wav2cas: fixed bug in wav reading\n* wav2cas: changed default phase \n\n#### 1.0 (2001/12/03)\n* first public release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyrex2001%2Fcastools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoyrex2001%2Fcastools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoyrex2001%2Fcastools/lists"}