Cabbage Logo
Back to Cabbage Site

Grains on fly (granular synthesis)

Hi to all,
I am pleased to share this realization of granular synthesis.
This is an effect plugin.
thanks to Rory and all the csounders! GrainOnFly.csd (9.1 KB)

1 Like

This is nice. It took me a minute to realise I had to actual play notes on the keyboard after I sampled my voice :rofl I’m putting this down to it being too early in the morning for me!

:sunny: The original freq is assigned to key c3. I realize now that it is better to have middleC(1) instead of middleC(3) on the virtual keyboard settings. However, I notice that the number of keys changes, but the sound result remains as before. For me it is not important, because I use a masterkeyboard, but I suspect there is something to change in the “keyboard” widget.

apart from that, it seems to me that the new version Cabbage 2.7 and the csound opcodes respond very well.

This is just visual as different DAWs tend you label C60 as either C3 or C4. If you want to show a different range for the keyboard you can use value(midiNoteNumber). If you want to remap MIDI notes you will need to it on the Csound side.

Ok, thanks, with this:
keyboard bounds( 5, 365, 480, 90), value(36), middleC(4)
the matter is settled. :slightly_smiling_face:

1 Like

The code looks cool, now if I only had my computer close by! I’ll try it tonight!

This is really nice! While it doesn’t bother me in the slightest (mostly because I don’t like the sound of my own voice), but this is really nice, it didn’t sound like me at all! I’m still trying to wrap my head around some of the concepts. It would also be nice if I understand this correctly, that it would be cool to be able to move the pointer, as that moves the point where the granulator reads from (right?), but if it could be modulated with a modwheel, or something. I might actually learn to like the sound of my own voice, chewed up and spit back out by this program! I did try singing through all the vowel sounds in my recording, but I only ever got a choral “ah”.

It would be interesting to have a piece that starts off with different segments getting recorded, using multiple buffers, and then splicing them together somehow.

You want to do this with a daw like Reaper. Configure the plugin on different tracks, split the keyboard (one zone for every tracks), remap midi notes (midi transpose). You can layer different sound with sustain pedal. Thanks for aopreciation!

1 Like

Ops! You can to do.
I should complete a piece with a violin in a month, I hope to be able to share it with a video.

1 Like

Thank you, Andrea. It’s very cool! Fun. And Magical.

I will be showing it in my Csound Class at 10 am tomorrow morning!

I know that they will be inspired. Their final projects this semester are an instrument plugin and an effect plugin. They are getting there. (As am I ;-).

Thank you for appreciation, Richard!
I’m sure you will come up with some very inspiring plugins!

Amazing! I tried it as an effect on different sampled instruments. Whether piano, cowbell, cymbals - it always produces magical, haunting sounds. Congratulations and thanks!

Thank you for appreciation! I’m the one who has to thank you: I have seen your “etudes” and I hope to find the time to deepen their functioning.

Well, this is the composition:


Good listening!
documentation:
http://www.strapparts.com/composizioni/lassiuolo/
All the best!
1 Like

Hi mjmogo,
Finally a was able to try the usefull graphic work about the resizing.
I replaced the “form” variable with:
iW = 490
iH = 460
(same size values of form)
and I was able to get the file “GrainOnFly2.csd” to (I could’n get it to work with “cabbageGet”).
GrainOnFly2.csd (15.2 KB)
I have attached the modified file.
AS

Beautiful piece. Very nicely presented too. I wish I could read the Italian version of the poem. :frowning: Reading the English text is like listening to a Bach partita played back with a MIDI file using the old Windows MIDI synth.

Huh… It might have something to do with the version of Cabbage you are running. I’ve kept current with what Rory is doing, so it should be enough to just change the size of the form in the section of the csd file. Yeah, now that I think about it, it is a version issue. Rory had to expose the form width and height, so maybe you could try with downloading the new version Rory just released.

But yeah, you got the right idea. As long as you match the values you gave to the form with iW and iH, it should rebuild the interface at the new size.

And that was really nice. I was trying to see if what (you?) at the computer were doing and see how it might have been notated in the score. I imagine that there might be some notes, or relationship with the violin part, and what gets recorded by your program. I only wish I had headphones.

The composition is in the form ABA (the second A is the refrain). The performance of B section it is not very faithful to the score. Section A is quite faithful.
If you read in the keyboard part “REC. LOW” (written in a box frame), you have to record the simoultaneous violin sound in the specific GrainOnFly track.
Then you have to play this recorded sound when in the score there is C (one octave below middle C).
About the controllers, when you read “esplorazione di parametri” (parameter exploration), you can move the knobs etc.

1 Like

Ah ah! Here in Italy it is said: “traduzione=tradimento” (“translation=betrayal”).
I have included an English translation to facilitate understanding of the Italian text.
I discovered that an Italian had translated the poem and published it on the web. I asked her for permission to include it in my documentation and she very kindly agreed.
it is important that the performers know the meaning of the poem in order to make the right interpretative decisions, because a certain freedom is left in the choice of parameter controls, in the musical score.
In any case, in the documentation I have prepared there is also the original Italian version.