Тёмный
rbn1tube
rbn1tube
rbn1tube
Подписаться
In the past many of my videos cover the building of Lego Mindstorms NXT2 and Lego EV3 models.
LInks are provided in the descriptions of the videos to other sites where you can download constructional details and the programs required to build the models yourself. Some describe modification to models created by other authors, some are my own original projects.
More recently my work is concentrated on using Sonic Pi, and in particular in interfacing external devices to be controlled by or to control Sonic Pi.
Sonic Pi 4 5 on RaspberryPi (bookworm) 64bit OS
31:31
8 месяцев назад
sayIt demo of Apple text to speech with Sonic Pi
2:22
11 месяцев назад
Sonic Pi Hydra Rotator sketch
2:02
Год назад
Sonic Pi Hydra Demo
4:16
Год назад
Sonic Pi Hydra 2
1:44
Год назад
Hydra&SonicPi-Bari-Bassic-Blues
4:24
Год назад
HydraAndSonic-Pi
2:00
Год назад
Hydra-SonicPi-Performance-2
2:07
2 года назад
Hydra-SonicPi-Performance
2:07
2 года назад
PlayLisa2
2:00
2 года назад
PlayLisa
2:05
2 года назад
Sonic Pi And PiHut Xmas Tree Medley
6:22
2 года назад
SonicPi TouchOSC Alarm Clock
3:00
2 года назад
Sonic Pi (dev) and Ableton Link
4:35
2 года назад
Sonic Pi plays JigsawBlues
1:49
3 года назад
SonicPiBroadcastOrchestra
52:20
3 года назад
8 Sonic Pi Computers Play Bach
1:53
3 года назад
8 SonicPi Computers Play Scales
3:50
3 года назад
scratch3AndSonicPi
10:53
4 года назад
Комментарии
@EltristeDJ
@EltristeDJ 29 дней назад
I was looking for a tuto for making a vibrato and I came into this area of the Rabbit Hole, just fantastic :D
@rbn1tube
@rbn1tube 28 дней назад
Glad you enjoyed it. It was fun to do!
@catorarn
@catorarn 2 месяца назад
thanks a lot for this video! I got sonic pi working on the raspberry pi 5 with bluetooth speaker thanks to your clear tutorial
@rbn1tube
@rbn1tube 2 месяца назад
Glad you found it useful. Sonic Pi 4.5 works well on a Pi5. Enjoy using it!
@jasmine8182
@jasmine8182 2 месяца назад
would u possibly pls be able to offer a tutorial on syncing these up?
@rbn1tube
@rbn1tube 2 месяца назад
I am very sorry, but this was my only foray into TouchDesigner some three years ago, and I found it a difficult program to get my head around and decided that it was not an avenue that I was going to pursue or invest time in. Since then I concentrated more on using Hydra to generate visuals linked to Sonic Pi. which I found much easier. There were some threads on in-thread.sonic-pi.net about Touch Designer which you may find helpful. I also found various project on the internet which I remember being of some help.
@brianrosado
@brianrosado 3 месяца назад
This is AWESOME!! JUST AwEsOmE!!
@rbn1tube
@rbn1tube 3 месяца назад
Glad you enjoyed it. I must say although it is 6 years since I wrote this (and version 1.2) I still return to use it quite frequently as it is such a versatile way to interact with Sonic Pi.
@brianrosado
@brianrosado 4 месяца назад
Wow!😀
@philpeep
@philpeep 6 месяцев назад
absolutely wonderful! thanks so much for this.
@rbn1tube
@rbn1tube 5 месяцев назад
Glad you enjoyed it. It was fun to develop.. I have other similar ones developed from this e.g. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6Vxcw9I77fY.htmlsi=aOFcZYIJdKVdTE3G
@rbn1tube
@rbn1tube 8 месяцев назад
Of course. Go ahead. It was a nice medley to use.
@hopespaw2444
@hopespaw2444 8 месяцев назад
This is so cool! I’m glad you were able to use my arrangement to do this :) Do you mind if I share?
@nischal92
@nischal92 Год назад
This is awesome! Do you know what other virtual synths/instruments have MIDI Learn to enable this?
@questionsxxx
@questionsxxx Год назад
Is this macbook only stuff? What is the Tau browser? What is a built in phoenix live web display? Do you think the hydra extension made it into the public 4.4 release from 29. June 2023 especially on windows (10)?
@rbn1tube
@rbn1tube Год назад
The hydra extension in a phoenix drven browser embedded into Sonic Pi was released to Patreon Supporets of Sonic Pi as a tech preview of version 5 of Sonic Pi, so it is NOT included with version 4.4 which has just been released. You can still get access to the the tech 5 preview by subscribing as a Patreon supporter of Sam Aaron. Alternatively you can build it from source. I have done so for both Mac and Raspberry Pi. nIt is also possible for Sonic Pi version 4 to interact with a browser like Chrome running Hydra which is abased at hydra.ojack.xyz and using OSC or midi calls to affect the displayed sketch. The confusion for you may be because I referrred to the development as for version 4.4 BEFORE Sam had released the version 5 Tech preview. He then recently released vesion 4.4 which did not have the hydra code activated.
@jonnyhotchkiss9522
@jonnyhotchkiss9522 6 месяцев назад
Hi@@rbn1tube it looks like the hydra branch isnt' there (404) - is this still buildable? thanks!
@rbn1tube
@rbn1tube 6 месяцев назад
@@jonnyhotchkiss9522 The easiest way to to get a copy of v5 Tech Preview 1 downloadable from Sam Aaron's patreon site (assuiming you are a supporter). Failing that I think you can download sonic pi source and checkout commit 42549ab103acf76c058e6b4146f7e6996118bc9a and try building that. That is the commit from which I built it on a Mac. EDIT Just downloaded it again on my old iMac and it built and works fine.)
@jonnyhotchkiss9522
@jonnyhotchkiss9522 2 месяца назад
I can only build dev. this one continues to fail to build during win-pre-vcpkg.bat, appears may be related to catch2. looking at the versions dev: catch2:x64-windows-static-md@3.5.3 hydra: catch2[core]:x64-windows-static-md -> 3.1.1#2 are you able to see which vcpkg version you're using? on windows (if not all) I think the build may use whatever is cached, depending on whether vcpkg has already been downloaded. May be academic as I still can't build hydra even if using latest "working" vckg, where no errors thrown during win-pre-vcpkg.bat
@SnareTomCrash
@SnareTomCrash Год назад
Hey rbn1tube thanks for the awesome video! I've been trying to find a way to render the visuals on top of the code. Can you tell me how you did this? Thank you in advance!
@rbn1tube
@rbn1tube Год назад
Read the full description about the video! I wrote this visualiser in P5.js and included support for OSC messages which could then be utilised by Sonic Pi to control a selection of up to about 40 parameters controlling various aspects of the visualiser. Running on the Mac version, Sonic PI has the transparency set to maximum, and the visualiser is running in a Chrome Browser behind that. I have also written a template for TouchOSC which can also be used to control the visualiser. Also you can get the code from the reply to Nicolas Le Bellier's question below
@hernanescudero6620
@hernanescudero6620 Год назад
Fantastic !! How do you set the hydra function ?
@rbn1tube
@rbn1tube Год назад
Have a look at the code url in the video description. Hydra is built in to this version of Sonic Pi. The sketch is contained in a string which is simply called with the function hydra For example hydra "osc(6,0,2).out(o0)"
@user-nu2uv9yd2z
@user-nu2uv9yd2z Год назад
Nice )
@williamgurzoni
@williamgurzoni Год назад
Hi, is this a plugin? How do I install it? Thank you for the content!
@rbn1tube
@rbn1tube Год назад
in-thread.sonic-pi.net/t/lissajous-figures-and-harmonographs/6852 this thread is all about this. Read my sections. You need to prepare the synth Lisa which you can the use with sonic pi The code for my projects is listed. Note the original downloaded Lisa synth was incorrect.
@williamgurzoni
@williamgurzoni Год назад
@@rbn1tube thanks mate! That's so cool. I'll learn more about it. Cheers
@williamgurzoni
@williamgurzoni Год назад
That's cool! Thanks
@autenticosanx
@autenticosanx Год назад
Groovy
@edelvemusic
@edelvemusic Год назад
Interesting to see Hydra receive midi_cc from Sonic Pi!
@robtv169
@robtv169 Год назад
Can you provide a copy of the JSON sequence file you reference in the rb script?
@robtv169
@robtv169 Год назад
I've tried to run your code with the latest version of Sonic-Pi and I can't get it to play. I get the sequencer moving on TouchOSC and I see OSC events coming into sonic- but there is no output when I select beets in the sequencer
@rbn1tube
@rbn1tube Год назад
@@robtv169 OK I can see that the code now needs a little tweaking to get it working, as the command syntax for syncing an incoming Oscars call has changed since this was written in 2018. I'll update and let you know here when its done and how to get the new code.
@rbn1tube
@rbn1tube Год назад
I've now updated the Sonic Pi gist file for this. The index.xml file is still OK but use the second version of the Sonic Pi sequencer file sequencer2-0-rf.rb for Sonic Pi > 3.2. I've also added the four json files I used, although you can save your own easily. Let me know how you get one.
@gantranxuan6444
@gantranxuan6444 Год назад
"Dear rbn1tube FYI, Ganjing World (GJW) is a secure and various-category platform for everyone. They carefully select videos featured on it because of their vital mission of providing genuinely traditional, cultural, and clean videos to the world! "
@granddadgotmojo354
@granddadgotmojo354 2 года назад
Nice Job Robin!
@user-nu2uv9yd2z
@user-nu2uv9yd2z 2 года назад
Замечательная визуальная звукофизика!
@rbn1tube
@rbn1tube 2 года назад
Спасибо
@fart_m0nster_420
@fart_m0nster_420 2 года назад
I wish i had that many computer : O
@domidoggames
@domidoggames 2 года назад
Do rush e
@miniontoby
@miniontoby 2 года назад
Hmm. It doesnt work now EDIT: I had to press the 23 button first but now i got: Runtime Error: [buffer 0, line 830] - SyntaxError Thread death! workspace_zero:25: syntax error, unexpected ':', expecting => ...play d[0], sustain: d[1], a/mp: d[2], release: 0.05 Edit found it: it is a typo by you: 'a/mp:' -> 'amp:'
@rbn1tube
@rbn1tube 2 года назад
HI Miniotoby You are right there is a bug because the midi input command handling format has changed slightly in the latest release version of sonic pi 3.3.1 Two lines need to be altered, chaging references to res[4] to be res[3]. I have updated the gist file. With these changes all should work as described in the video. remember you have to record before trying the playback in order to set up tlist, and use the three input controls for this purpose. Let me know if it works for you.
@miniontoby
@miniontoby 2 года назад
@@rbn1tube yeah i had to use the first two input buttons first, then it worked fine, but you had a typo in your code when i posted the comment
@bennichols9034
@bennichols9034 2 года назад
I really enjoyed this! Another amazing video!
@bennichols9034
@bennichols9034 2 года назад
This is just amazing! Well done, rbn1tube!
@Raghudegaucho
@Raghudegaucho 2 года назад
You have taken it to the next level 😁
@AndreasDelleske
@AndreasDelleske 2 года назад
*Würfelspiel :)
@brandontaylor6073
@brandontaylor6073 2 года назад
Why when I create synthdefs in supercollider and try to run them in sonic pi I can’t hear audio. Like I can’t play sound at the same time. I only can use sonic pi or supercollider. One at a time. Like one mutes the other volume when in use?
@rbn1tube
@rbn1tube 2 года назад
Hi Brandon I see you have already raised this on In Thread. If your Sonic Pi is working with audio normally, Then I think the problem is not to do with the audio set up but rather with the setup for your synth. Ethan Crawford who has already answered you is the best person to deal with this area. I have not worked with synth definitions myself. Hope you manage to sort it out.
@atrak888
@atrak888 2 года назад
NOT SO FAST BUDDY
@synaesmedia
@synaesmedia 2 года назад
That's cool. Why do you need the Python script though? Couldn't you do it by OSC from inside Sonic?
@rbn1tube
@rbn1tube 2 года назад
Sonic Pi cannot directly send broadcast OSC calls without hacking its internal code. Using the external python script means that you can send OSC calls to it and that they are then broadcast to all computers on the network and received by them at the same time. I have developed the technique in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6Vxcw9I77fY.html Also recent developments mean that the next version of Sonic Pi will be able to support Ableton link which will help syncing computers together.
@synaesmedia
@synaesmedia 2 года назад
@@rbn1tube Hmm ... what do you mean by "broadcast"? Surely you can send OSC messages from Sonic, no? I'm pretty sure I've done that in the past to control CSOUND from it.
@synaesmedia
@synaesmedia 2 года назад
Ah ... OK. ... I watched the other video. I see what you mean.
@rbn1tube
@rbn1tube 2 года назад
@@synaesmedia 👍
@rbn1tube
@rbn1tube 2 года назад
@@synaesmedia I mean sending them to the broadcast address on the lan. eg 192.168.1.255 in the video. SP has this blocked, but the python script can do it. IT means that any computer on the lan will receive and respond to the osc message. Normally it would only be addressed to ONE ip address.
@dragonballztheshit
@dragonballztheshit 2 года назад
very cool!
@spatialcube
@spatialcube 2 года назад
Been wanting to tell you for a long time, you are a genius! This is mindblowing. You make Sonic Pi shine. Keep up the good work XD
@rbn1tube
@rbn1tube 2 года назад
Thanks. I enjoy working with SP. a great versatile program with so much to explore.
@ErikKristoferAnderson
@ErikKristoferAnderson 2 года назад
Brilliant! I'm excited to get my hands on this tech. If you make another demonstration video, may I make a suggestion? I'd love to hear the Raspberry Pi in the right stereo channel playing the melody and the Mac in the left stereo channel playing the accompaniment line.
@Neuri
@Neuri 3 года назад
wow absolutely amazing
@Neuri
@Neuri 3 года назад
single best use of poundland garden wire in the world
@hubertmotyborgel3979
@hubertmotyborgel3979 3 года назад
Excellent but it's possible to have the TouchOsc layout. Thanks
@robinnewman7048
@robinnewman7048 3 года назад
here is the gist link to the files gist.github.com/rbnpi/89c04f794a8b1bedadde6be7a31f4afc
@lilly66
@lilly66 3 года назад
Programming in music😎. Dope. Though the code is only a loop but thought to use coding 🙌
@hubertmotyborgel3979
@hubertmotyborgel3979 3 года назад
Thanks very much!!
@hubertmotyborgel3979
@hubertmotyborgel3979 3 года назад
Nice, Could you sharing the code Sonic-pi? please send me the code. thanks
@robinnewman7048
@robinnewman7048 3 года назад
Link to the code is in the description at the bottom (you may have to click show more... to see it)
@chromosundrift
@chromosundrift 3 года назад
Cool! Are you sure you don’t need to run the sonic pi side network client in its own thread to avoid tempo-loop call timing imposed by live_loop()?
@robinnewman7048
@robinnewman7048 3 года назад
Not quite sure what you mean. It seems to work OK as is.
@blancardsuperstar9323
@blancardsuperstar9323 3 года назад
Interresting
@wakawaka8257
@wakawaka8257 3 года назад
When thinking of the earth forming this is the concept. The energy surrounding the nucleus/ magma core is created by the pressure formed surrounding the center. Meaning the fault lines created are actually electrical charges forced back from the center point to the crust. You’re welcome 😉
@user-kn3sb1yw8w
@user-kn3sb1yw8w 3 года назад
Isn't that possible if I play the sonic pi on raspberry pi zero w?? My condition is, While I open the sonic pi , after running it awhile, the window shutdown and told me there's "server error". Thanks.
@rbn1tube
@rbn1tube 3 года назад
I'm afraid that Sonic Pi will not work on a Pi Zero.
@user-kn3sb1yw8w
@user-kn3sb1yw8w 3 года назад
@@rbn1tube thank you so much, maybe i need to buy another version of rpi.
@user-kn3sb1yw8w
@user-kn3sb1yw8w 3 года назад
Excuse me, is sonic pi enable to play on raspberry pi zero w??? Cause, I can't successfully open the application.
@rbn1tube
@rbn1tube 3 года назад
The latest versions of Sonic Pi will not run on a Pizero. This video was an earlier version of both the Raspberry Pi OS, and also of Sonic Pi, and was made back in 2015
@suvratrao218
@suvratrao218 3 года назад
Brilliant!
@ranro7371
@ranro7371 3 года назад
Much o'liged
@Badar2310
@Badar2310 3 года назад
Latest version of SOnicpi is giving me a lot of problems with the theremin, it wont play the audio. Im trying to install the old version, 3.0.1 preferably. Any idea how to install an older version?
@Badar2310
@Badar2310 3 года назад
File "/usr/lib/python3/dist-packages/gpiozero/input_devices.py", line 997 warnings.warn(DistanceSensorNoEcho('no echo received')) DistanceSensorNoEcho: no echo received Im getting this error when I run my distance.py, please help
@rbn1tube
@rbn1tube 3 года назад
This is an old project now, and the code does not work as written on the current Raspberry Pi operating system. It also will not work on the version of Sonic Pi bundled with it (verson 3.1). To get it working you need to install Sonic Pi 3.3.1 which you can download from in-thread.sonic-pi.net You also need to make a couple of alterations to the programs. You need to alter the port 4559 in the distance.py script to 4560 (the new cues input port in Sonic Pi). Also in the Sonic Pi program you need to alter the line n = sync :/osc/play_this" to read n = sync /osc*/play_this"
@Badar2310
@Badar2310 3 года назад
@@rbn1tube Thank you very much for the long detailed answer. I have latest versions of Sonic Pi and everything, but need to try changing the port.
@Badar2310
@Badar2310 3 года назад
@@rbn1tube ​ @rbn1tube I tried the exact same thing you suggested, but it still doesn't work. Made the changes you recommended. But its still giving this error in the python shell, it wont run: Warning (from warnings module): File "/usr/lib/python3/dist-packages/gpiozero/input_devices.py", line 997 warnings.warn(DistanceSensorNoEcho('no echo received')) DistanceSensorNoEcho: no echo received Please, any way you can help me?
@Badar2310
@Badar2310 3 года назад
@@rbn1tube Also sir, I havent used any resistors. Could that be a reason? What is the significance of resistors in this?
@rbn1tube
@rbn1tube 3 года назад
@@Badar2310 you do need the resistors to get the right voltages in the circuit please add them.
@wendychu4274
@wendychu4274 3 года назад
Thank you for the video. Exactly what I'm looking for. Could you tell me where I can find the file terminalcontroller2.rb? Trying to use Makey Makey for Keyboard input to play Sonic Pi. I'm not familiar with Ruby (actually not good at programming).
@rbn1tube
@rbn1tube 3 года назад
Its the third listed program here. gist.github.com/rbnpi/4bd8631f97c7ed8f87ab995d8699d813
@wendychu4274
@wendychu4274 3 года назад
@@rbn1tube Thank you so much. Do I copy this to the terminal? How to save a file in Ruby? Thank you for you patience with my really fundamental questions.
@rbn1tube
@rbn1tube 3 года назад
@@wendychu4274 You click on the raw button beside the file and save the resulting web page as terminalcontroller2.rb (it is just really a text file). Run in a terminal using ruby terminalcontroller2.rb YOu need to change line 13 altering 4559 to 4560. (resave). Put SP-KeyboardController3.rb into a Sonic Pi buffer and run it there. (Update line 21 from b= sync "/osc/key" to b= sync "/osc*/key") In the running terminal window type lower case letters a s d f g... to play or 1 2 3 4... to select synth. Let me know how you get on.
@wendychu4274
@wendychu4274 3 года назад
@@rbn1tubeThank you so much for the detail instruction. However, I got "ruby: No such file or directory -- terminalcontroller2.rb (LoadError)". Where should I put the terminalcontroller2.rb file? Thank you again for helping.
@rbn1tube
@rbn1tube 3 года назад
@@wendychu4274 you should open a terminal and navigate to the folder containing the downloaded terminal controller script. (If you type ls and press return you should see it listed in the terminal window as terminalcontroller2.rb. . Then type ruby terminalcontroller2.rb and press return to start. It.
@JohanNing-lf5so
@JohanNing-lf5so 3 года назад
Cool!