Python Forum
Stop/continue While loop block
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop/continue While loop block
#51
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.
Reply
#52
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
Reply
#53
I don't have a pi setup.
I will continue with what I have here, perhaps it will be of some use.
Reply
#54
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.
Reply
#55
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
Reply
#56
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=gIsbBF33...el=stretta

A sequencer for Ableton.
Reply
#57
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.
Reply
#58
Thumbs Up 
Thanks for the update.
Reply
#59
Hey man....

Any progress?
Reply
#60
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyway to stop a thread and continue it? dimidgen 2 351 Mar-18-2024, 10:53 AM
Last Post: DeaD_EyE
  Button to stop while loop from another script Absolutewind 5 918 Sep-25-2023, 11:20 PM
Last Post: deanhystad
  get out of while loop and stop repeat Frankduc 11 3,001 Apr-26-2022, 10:09 PM
Last Post: deanhystad
  while loop will not stop looping TheTechRobo 5 3,743 Apr-20-2020, 01:47 PM
Last Post: TheTechRobo
  for loop stumbling block YoungGrassHopper 8 4,517 Sep-11-2019, 03:34 PM
Last Post: YoungGrassHopper
  while loop stumbling block YoungGrassHopper 5 3,312 Sep-09-2019, 08:36 PM
Last Post: YoungGrassHopper
  How to continue in loop until correct input received sunnyarora 10 9,952 May-04-2019, 02:37 PM
Last Post: Yoriz
  Can I Control loop with Keyboad key (start/stop) Lyperion 2 3,350 Jul-28-2018, 10:19 AM
Last Post: Lyperion
  build a list (add_animals) using a while loop, stop adding when an empty string is en nikhilkumar 1 8,904 Jul-17-2017, 03:29 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020