RipX Forum

Notifications
Clear all

unpitched sound

6 Posts
3 Users
2 Reactions
2,193 Views
(@jerryb)
New Member
Joined: 3 years ago
Posts: 2
Topic starter  

I can't find documentation or examples of accessing unpitched sound from RipScripts. It is clear from the display that each speck of unpitched sound is associated with an instrument. It is not clear if these  specks are associated with individual notes. (I use the term speck to references to things much smaller that the blobs used for notes.)  How does one access the instrument that a speck is assigned to?

What I am trying to do is use the information that a particular instrument is playing monophonically (with possible reverb overlapping two notes) to assemble together all the pieces of the spectrum that are part of individual notes.

Any help would be greatly appreciated.


   
Quote
(@admin)
Active Member Admin
Joined: 6 years ago
Posts: 9
 

Unpitched sound is stored as Note or groups of Note objects where Note.percussion is set to True.

The instrument is Note.instrument.

You could also use e.g. Rip.note_group(note.start, note.end).filter(add=percussion).filter(add=instrument(instrument=note.instrument)) to create a NoteGroup containing the unpitched notes played at the time of the given 'note', that are in the same instrument as 'note'.

Hope this helps.

 

 

 


   
ReplyQuote
(@nahbrah)
New Member
Joined: 3 years ago
Posts: 3
 

What if i was trying to remove a certain noise or group of background noise. Such as tape hiss or crackle etc? would it be possible to group these into an instrument group or isolate them in some way?


   
ReplyQuote
(@admin)
Active Member Admin
Joined: 6 years ago
Posts: 9
 

@nahbrah You would need to be able to detect it somehow - for example by looking at the frequency and amplitude of Notes that have percussion set to True. Then you could set to a different instrument layer with e.g. Note.instrument = "Hiss".


   
ReplyQuote
(@nahbrah)
New Member
Joined: 3 years ago
Posts: 3
 

@admin hmmm is there anywhere you could private message me by chance?


   
ReplyQuote
(@admin)
Active Member Admin
Joined: 6 years ago
Posts: 9
 

@nahbrah That's not possible, but you are welcome to contact us at support https://hitnmix.com/contact/


   
ReplyQuote
Share: