Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloned the files; now what? #3

Open
kvaml opened this issue Jul 30, 2019 · 11 comments
Open

Cloned the files; now what? #3

kvaml opened this issue Jul 30, 2019 · 11 comments

Comments

@kvaml
Copy link

kvaml commented Jul 30, 2019

I am new to the factor language. I've installed factor and it is working. I have cloned the repository. Now what should I do next??

Simply running factor in the fr8x-editor directory (and adding the missing Ubuntu packages) did the trick.

cd /path/to/fr8x-editor
/path/to/factor

So you have nothing to fix. I thought this "issue" might be helpful for others. I had no idea what to do and tried running some of the factor programs as arguments to the factor language.

I am excited to use this software. Thanks for creating it.

@kvaml
Copy link
Author

kvaml commented Jul 30, 2019

So that was just the factor browser starting up. I am still at a loss for how to run any of your factor programs.

@mrjbq7
Copy link
Contributor

mrjbq7 commented Jul 30, 2019 via email

@kvaml
Copy link
Author

kvaml commented Jul 30, 2019 via email

@mrjbq7
Copy link
Contributor

mrjbq7 commented Jul 30, 2019 via email

@hyphz
Copy link
Owner

hyphz commented Jul 30, 2019 via email

@kvaml
Copy link
Author

kvaml commented Jul 30, 2019 via email

@kvaml
Copy link
Author

kvaml commented Jul 30, 2019 via email

@mrjbq7
Copy link
Contributor

mrjbq7 commented Jul 30, 2019 via email

@hyphz
Copy link
Owner

hyphz commented Jul 30, 2019

Ok, @mrjbq7 was right above. I've fixed the create-in reference.

From the Factor REPL:

  1. Add the vocab root "path\to\fr8x-editor" add-vocab-root . Note, this is case sensitive and is not validated.
  2. Load the data library USING: fr8x-data ;
  3. Load a set file. There isn't one in the repository because of potential copyright issues but you can export one from your V-Accordion or download one from Roland or another user site. Then, "setfile.st8" load-set-file . You will see a complex object on the stack, this is the decoded set.
  4. You will now need to refer to the wiki for the chunks of the set file. IN your case, for example, if you want to find alto sax that would be in a orchestra right hand register which is in the "O_R" chunk. So dup "O_R" get-chunk will put the TR list on the stack (while leaving the full set file below it in case you want it later)
  5. This is a list of orData objects. You can get data from them using field functions and use list combinators to apply them to the whole list. For example you can get all the names with [ custom-name>> ] map (again throw a dup in at the start if you want to keep the list around)
  6. The patch used in each one is stored only as three numbers in the set file, in fields patch-00, patch-cc32 and patch-pc . The corresponding names are listed in the midivoices.txt and midireeds.txt files. Look in this and you will see Alto Sax is 0 0 122. So you can search the list for this with [ [ patch-cc00>> 0 = ] [ patch-cc32>> 0 = ] [ patch-pc>> 122 = ] tri and and ] filter (@mrjbq7 can probably tell you a nicer syntax for this!)

@kvaml
Copy link
Author

kvaml commented Jul 30, 2019 via email

@mrjbq7
Copy link
Contributor

mrjbq7 commented Jul 30, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants