Python Forum
Stop/continue While loop block - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Stop/continue While loop block (/thread-31764.html)

Pages: 1 2 3 4 5 6 7


RE: Stop/continue While loop block - Larz60+ - Jan-25-2021

Quote:could I still use the Rasp if I wanted?
Of Course, but code would be different.

Is there a reason for that? Are you ultimately going to end up on PC?
Or is all processing going to be done on Pi?
If this is the case, still would want to hook up with I2C (both ends, pi ⇔ Neotrellis.

Code would be different.


RE: Stop/continue While loop block - Moris526 - Jan-25-2021

Quote:Is there a reason for that? Are you ultimately going to end up on PC?
Or is all processing going to be done on Pi?

I already have all set up to communicate between Ableton (PC) and Raspberry via Serial.
I like the idea of doing all the processing on Pc, but then I should find a way to communicate between Ableton and Python. Ableton can run some python programs for midi control already (under the hood) . I read it can be done via java OSC

Quote:If this is the case, still would want to hook up with I2C (both ends, pi ⇔ Neotrellis.

Thats ready


RE: Stop/continue While loop block - Larz60+ - Jan-26-2021

I don't have a pi setup.
I will continue with what I have here, perhaps it will be of some use.


RE: Stop/continue While loop block - nilamo - Jan-26-2021

I haven't been keeping up with the thread, but I'm interested in what you're trying to accomplish.

You're trying to use your pc to send messages to a... device (arduino, raspberry pi, etc), which then interprets those messages to interact with a synth engine?

What else is in your pipeline so far? Is the raspberry pi running SuperCollider? Or is it communicating with external instruments via midi?

I think music generation is fascinating, so although I don't have much to contribute to the issue (whatever that is currently, like I said, I haven't been following the thread), I'm very interested in your setup and end goals.


RE: Stop/continue While loop block - Larz60+ - Jan-26-2021

I hope I understand the goal at this point, not good if I am wrong:
Let's hope I've got it all correct, I'm sure Moris526 will correct anything that is incorrect

EDit - added bit on tiling


RE: Stop/continue While loop block - Moris526 - Jan-27-2021

This is the only thing to correct.


Quote:Current process (software) is polling each board to determine where a button was pressed.
This is very slow so it's possible to miss button presses.
Morris 256 has tried to compensate for this by adding the Pi which has very fast MCU



At first I used Arduino Mega, I had no problem with the button press response speed, since I had the interrupt wire working. But Arduino was too slow to parse data coming from PC. So I change to Pi, solved the data parsing problem but couldnt make the interrupt work.


Quote:You're trying to use your pc to send messages to a... device (arduino, raspberry pi, etc), which then interprets those messages to interact with a synth engine?

Im trying to do something like this. (I sure have to ignore the aesthetic part)

https://www.youtube.com/watch?v=gIsbBF33L8A&ab_channel=stretta

A sequencer for Ableton.


RE: Stop/continue While loop block - Larz60+ - Feb-01-2021

Touch base ...

Just so you know, I haven't given up on this, but work on it only in spare time.
I find that the documentation for devices is not well organized on AdaFruit, and difficult to find.
Also code that I can't get to work on Linux mint, works for others when they try it out.
I have figured out partially why this is the case, but not there yet.
Eventually, I will get (my setup) working.


RE: Stop/continue While loop block - Moris526 - Feb-01-2021

Thanks for the update.


RE: Stop/continue While loop block - Moris526 - Feb-09-2021

Hey man....

Any progress?


RE: Stop/continue While loop block - Larz60+ - Feb-09-2021

some, but still playing with strange lockup (I2C) on Linux mint.
I've posted some questions on Adafruit, under subject MCP2221, need to check for response after dinner.
I am having fun, but that's not helping you ... yet.