5e0a3308c0
Based on the C++11 code by Joel Yliluoma / bisqwit, which in turn is based on information from NX-Engine. I have also taken the liberty of bundling the required wavetable bank and PixTone drums. Contrary to the documentation provided with the code, my version of dou_1006.zip, as downloaded over a decade ago, had the wavetable bank at offset 635,816 bytes into the file, not 1,115,748 bytes. Possibly a difference of having applied the translation patch? My copy is the original version, so I had to use a real resource parser to locate the waveforms. The player will obey the configured sample rate, loop count, and fade time for synthesizers, and also obey Repeat One to play indefinitely. The code should be quite robust to minor abuses, though I can't imagine how well it would hold up to random bad files, other than playing outright garbage. Signed-off-by: Christopher Snowhill <kode54@gmail.com> |
||
---|---|---|
.githooks | ||
.github | ||
.vscode | ||
Application | ||
Audio | ||
Base.lproj | ||
Cog.xcodeproj | ||
CogAssets.xcassets | ||
DataModel.xcdatamodeld/DataModel.xcdatamodel | ||
DiskImage | ||
Equalizer | ||
Feedback | ||
FileTree | ||
Formatters | ||
Frameworks | ||
Icons | ||
Images | ||
InfoInspector | ||
Playlist | ||
Plugins | ||
Preferences | ||
Scenes.scnassets | ||
Scripts | ||
Spotlight | ||
TagEditor | ||
ThirdParty | ||
Transformers | ||
Utils | ||
Visualization | ||
Window | ||
Xcode-config | ||
ci_scripts | ||
en.lproj | ||
es.lproj | ||
pl.lproj | ||
ru.lproj | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.hgignore | ||
.hgtags | ||
AboutCog.jp2 | ||
CODE_OF_CONDUCT.md | ||
COMPILE | ||
COPYING | ||
Changelog | ||
Cog-Bridging-Header.h | ||
Cog.entitlements | ||
Cog.q1.json | ||
Cog.sdef | ||
Cog_Prefix.pch | ||
GoogleService-Info.plist | ||
IIAM.bin | ||
Info.plist.template | ||
KnownIssues | ||
README.md | ||
SADIE_D02-96000.mhr | ||
SpectrumViewCG.h | ||
SpectrumViewCG.m | ||
SpectrumWindowController.h | ||
SpectrumWindowController.m | ||
TODO | ||
main.m | ||
patrons.h | ||
scpipe | ||
sf.play.pdf |
README.md
Cog
Cog uses Lokalise for translation. If you want to contribute translations to Cog, send an email to kevin@kddlb.cl.
Cog is authored by Vincent Spader. It is released under the GPL. See COPYING for details.
The libraries folder contains various decoding and tagging libraries, which i have created Xcode projects for, and possibly modified to make compile on OS X. The various libraries are under each of their own licenses/copyrights.
All Cog code is copyrighted by me, and is licensed under the GPL. Cog contains bits of other code from third parties that are under their own licenses/copyright.
If you would like the photoshop sources for the various icons and graphics, please send me an email, and I will be happy to get them to you.
Share and enjoy. --Vincent Spader (vspader@users.sf.net)
ADDENDUM - 2022-06-21
Cog now uses App Sandbox. This requires permission paths to be granted in the settings, under the General tab. Right clicking the listing allows one to manipulate the list, including suggesting additions based on the current playlist. The suggestion dialog will pop up every path and permutation that isn't covered by an existing valid sandbox token. It is suggested to check only the paths that are most appropriate to cover most files you will ever play with Cog. It is not necessary to add either your default Music folder, your default Downloads folder, or your default Movies folder.
ADDENDUM - 2013-09-30
I have forked this player to continue maintaining it for others to use, as its original author appears to have left it by the wayside. I will try to continue updating as I find more things that need fixing, or if I find new features to add which seem like they would be useful to me or others.
Up to date binaries will be available at the following link:
--Christopher Snowhill (chris@kode54.net)
ADDENDUM - 2018-06-21
You will need to run the following to retrieve all the source code:
git submodule update --init --recursive
Setup your DEVELOPMENT_TEAM
like described in Xcode-config/Shared.xcconfig to build the project.
(Add 2022-05-22) Also, be sure to configure the hooks path, so you won't accidentally commit your team ID to a project file:
git config core.hooksPath .githooks
(Add 2022-06-24) Also, you need to unpack the static and dynamic library dependencies, and update them any time the library path changes:
cd ThirdParty
tar xvf libraries.tar.xz