-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from fchampalimaud/JG_typos_correction
Correction of some typos
- Loading branch information
Showing
47 changed files
with
115 additions
and
723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
docs/workflows/BonsaiExamples/DataTypes/CreateFloatArray/CreateFloatArray.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
# Create Float Array | ||
|
||
## Summary | ||
Const | ||
|
||
## Workflow | ||
|
||
:::workflow | ||
 | ||
::: | ||
|
||
## Summary | ||
Const | ||
|
||
## Details | ||
1. Const | ||
|
||
## Follow-up | ||
|
||
|
12 changes: 6 additions & 6 deletions
12
.../workflows/BonsaiExamples/IO/BasicFileListProcessing/BasicFileListProcessing.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# Basic file list processing | ||
# Basic File List Processing | ||
|
||
## Summary | ||
This example demonstrates how to read data from a list of files, process each file individually and create new files with the output. | ||
|
||
## Workflow | ||
|
||
:::workflow | ||
 | ||
::: | ||
|
||
## Summary | ||
This example demostrates how to read data from a list of files, process each file individually and create new files with the output. | ||
|
||
## Details | ||
1. Gets a list of filenames from a given directory as string array.* | ||
2. Generates one event per each element in the string array. | ||
3. Processes each file individually. In this example, we read the number stored in each file, multiply it by two, and create a new file with the result with the string '_new' added to it. | ||
|
||
*Before running the code you need to download [file1.txt](https://github.com/fchampalimaud/cf.bonsai/blob/main/docs/workflows/BonsaiExamples/IO/ProcessFileList/file1.txt) and [file2.txt](https://github.com/fchampalimaud/cf.bonsai/blob/main/docs/workflows/BonsaiExamples/IO/ProcessFileList/file1.txt) to a directory, and modify the Path propery in the GetFiles node accordingly. | ||
*Before running the code you need to download [file1.txt](https://github.com/fchampalimaud/cf.bonsai/blob/main/docs/workflows/BonsaiExamples/IO/ProcessFileList/file1.txt) and [file2.txt](https://github.com/fchampalimaud/cf.bonsai/blob/main/docs/workflows/BonsaiExamples/IO/ProcessFileList/file1.txt) to a directory, and modify the Path property in the GetFiles node accordingly. | ||
|
||
|
||
## Follow up | ||
A more elaborated example for processing a list of files can be found [here](/workflows/BonsaiExamples/IO/RefinedFileListProcessing/RefinedFileListProcessing.html) | ||
A more elaborated example for processing a list of files can be found [here](../ElaborateFileListProcessing/ElaborateFileListProcessing.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
docs/workflows/BonsaiExamples/Osc/UDPSendAndReceive/UDPSendAndReceive.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# Udp Server and Client | ||
|
||
## Summary | ||
This example demonstrates how to setup an Osc server and an Osc client, and how messages can be sent from one to the other. | ||
|
||
## Workflow | ||
|
||
:::workflow | ||
 | ||
::: | ||
|
||
## Summary | ||
This example demostrates how to setup an Osc server and an Osc client, and how messages can be sent from one to the other. | ||
|
||
## Details | ||
1. Creates a udp communication channel. In this example, this channel will be listening in port 2323, the messages sent by localhost port 0. | ||
2. Creates a second udp communication channel. In this example, this channel will use port 0, to send messages to localhost port 2323. | ||
3. Generates and sends an Osc message with the x and y position of the mouse whevever the mouse moves. | ||
3. Generates and sends an Osc message with the x and y position of the mouse whenever the mouse moves. | ||
4. Emits events whenever a message is received with the x and y coordinates of the mouse. | ||
|
||
## Follow-up | ||
In this example the communcation is done via the localhost (i.e. it uses the same machine both for sending and receiving messages). However, the code can be run in different machines (as far as the machines are in the same LAN network), where the mouse movements executed in one can be sent to the other. To do, this you only need to change the localhost in UdpReceive and UdpSend by the IP addresses of both each machine. | ||
In this example the communication is done via the localhost (i.e. it uses the same machine both for sending and receiving messages). However, the code can be run in different machines (as far as the machines are in the same LAN network), where the mouse movements executed in one can be sent to the other. To do this, you only need to change the localhost in UdpReceive and UdpSend by the IP addresses of both each machine. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.